Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14536

Camel HTTP Component is not allowing underscores in the hostname

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.23.1
    • Fix Version/s: None
    • Component/s: camel-http4
    • Labels:
      None
    • Estimated Complexity:
      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              padmapriyakowlwar Padma Priya Kowlwar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment