-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
URISyntaxException with { in a param URL when using Zuul as a proxy #918
Comments
Maybe something with commit 41c3640 |
Sorry @spencergibb but, i've try with 1.1.0-BUILD-SNAPSHOT (18/03/2016 11:58:28), I think the problem appear only with { caracter. Maybe due to usage or URITemplate. |
@dacofr does it work urlencoded? |
No, always the same problem :(
|
Hi @spencergibb any news about this issue ? |
no news. |
Same problem here. @spencergibb I think it is related to Jersey. See here for more information https://java.net/jira/si/jira.issueviews:issue-html/JERSEY-2525/JERSEY-2525.html. However, I have no idea how we can resolve this. |
Hi, any chance to see this issue resolved ? Thanks |
Try using apache http client rather than the ribbon client.
|
Thanks, Work's fine with HttpClient. |
I don't know. It's really the difference between JerseyClient (which ribbon client uses) and apache httpclient. |
That should be documented and possibly auto configured. It should possibly be the default. @dsyer thoughts? |
Apache http client is now the default |
I've a very simple backend API with a Controller like this
When i call
http://localhost:8080/echo?param={"pgach":["39469"]}
all works fine (For some reason, the content of param need to be a JSON string)Next, i create a simple EurekaServer and connect my backend to Eureka (nothing special)
Then, i create a simple ZuulProxy server with this application.yml
The first case works fine (using url) :
http://localhost:8585/backend_ok/echo?param={"pgach":["39469"]}
But in the second case (using serviceId)
http://localhost:8585/backend_ko/echo?param={"pgach":["39469"]}
I got this Exception
I'm using SpringBoot 1.3.3 and 1.1.0.M4 of spring-cloud-netflix. I don't know where to search. I tink the problem is with Ribbon, but not sure.
Thanks for your help
The text was updated successfully, but these errors were encountered: