Doubled domain/host in REST client's requests #51400
-
|
Hi all. Quarkus 3.20.0 pom.xml application.properties RestClient class is annotated as follows: Everything was working perfectly fine until today's morning. After launching the app I noticed that the the url in the request to webservice is: I tried multiple things f.e. But the issue was still in place The domain part id doubled for some reason. Anyone encountered similar issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
/cc @cescoffier (rest-client), @geoand (rest-client) |
Beta Was this translation helpful? Give feedback.
For some reason, without any manual changes our application started using some proxy.
adding this to application.properties fixed the issue.
I figured it out by just going very deep in the debugger to find out that the url is not doubled by the url builder itself.
In some point of io.quarkus.rest.client.reactive.runtime.MicroProfileRestClientResponseFilter I found out in debugger that the requestContext.restClientRequestContext.uri is correct but in the logs it was doubled as described above.