Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] When triple-rest-cors is enabled, Spring RestClient cannot get a normal response after making a request. #14268

Open
3 of 4 tasks
Rawven opened this issue May 31, 2024 · 1 comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@Rawven
Copy link

Rawven commented May 31, 2024

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

3.3.0-beta.3

Steps to reproduce this issue

run the test https://github.com/Rawven/dubbo-samples/blob/triple-cors-rest/2-advanced/dubbo-samples-triple-rest/dubbo-samples-triple-rest-springmvc/src/test/java/org/apache/dubbo/rest/demo/test/CorsConsumerIT.java

Apifox and apache http client can call the interface with cors function enabled normally, but spring rest client cannot call it normally.

What you expected to happen

spring rest client should be ok

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@Rawven Rawven added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels May 31, 2024
@Rawven
Copy link
Author

Rawven commented Jun 5, 2024

@oxsean Maybe there is something wrong with h2, please help me check it out.

@Rawven Rawven changed the title [Bug] The triple-rest-cors support added in version 3.3.0-beta.3 cannot be used. [Bug] Spring RestClient not working properly when triple-rest-cors is enabled Jun 5, 2024
@Rawven Rawven changed the title [Bug] Spring RestClient not working properly when triple-rest-cors is enabled [Bug] When triple-rest-cors is enabled, Spring RestClient cannot get a normal response after making a request. Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Status: Todo
Development

No branches or pull requests

1 participant