[ 
https://issues.apache.org/jira/browse/CAMEL-14536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034573#comment-17034573
 ] 

Andrea Cosentino commented on CAMEL-14536:
------------------------------------------

Please ask on the users mailing list first. This sounds more like a question 
for community than an issue, that hostname is invalid.

> Camel HTTP Component is not allowing underscores in the hostname
> ----------------------------------------------------------------
>
>                 Key: CAMEL-14536
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14536
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http4
>    Affects Versions: 2.23.1
>            Reporter: Padma Priya Kowlwar
>            Priority: Major
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to