Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.23.1
-
None
-
None
-
Unknown
Description
Hello Team,
We are trying to connect to a https endpoint from our camel route using http4 component which has an underscore in the hostname. The endpoint looks like https://x_y.abc.zu.dw:1243/path and we receive an error message "Invalid uri: https:/path?chunked=true&httpClient.connectTimeout=XXXX&httpClient.socketTimeout=XXX&throwExceptionOnFailure=false&bridgeEndpoint=true If you are forwarding/bridging http endpoints, then enable the bridgeEndpoint option on the endpoint: https:/path?chunked=true&httpClient.connectTimeout=XXXX&httpClient.socketTimeout=XXX&throwExceptionOnFailure=false&bridgeEndpoint=true.
Usually it is against the valid host name rules but is there any way to fix in the http4 component to avoid the issue as the system can't change their hostname currently.
I saw a similar kind of issue in https://issues.apache.org/jira/browse/CAMEL-4769.
If there is any possibility to fix this issue in camel http4 component, it will help us a lot.
Thanks,
Priya