Details
Description
When configuring the HTTP requester, if the host parameter has a typo which adds a space at the beginning, then the connector fails at runtime because of an invalid URL.
See the space at the beginning of the host:
<http:request-connection host=" sleep-service.us-e1.cloudhub.io" port="8080" />
Then results in:
ERROR 2018-11-19 09:23:56,386 [[MuleRuntime].cpuLight.14: [multi-queue-polling].multi-queue-pollingFlow0.CPU_LITE @5a1b5012] [event: 0-fbcaffe0-ebf5-11e8-be1d-8c8590bae983] org.mule.runtime.core.internal.exception.OnErrorPropagateHandler: ******************************************************************************** Message : Illegal character in authority at index 7: http:// sleep-service.us-e1.cloudhub.io:8081/sleep. Element : multi-queue-pollingFlow0/processors/2 @ multi-queue-polling:multi-queue-polling.xml:36 (Request) Element XML : <http:request method="GET" doc:name="Request" doc:id=" d277bb36-86bc-4ef4-a662-1d53b1dae139" target="reqResult" config-ref="HTTP_Request_configuration" path="/sleep"></http:request> Error type : MULE:UNKNOWN -------------------------------------------------------------------------------- Root Exception stack trace: java.net.URISyntaxException: Illegal character in authority at index 7: http:// sleep-service.us-e1.cloudhub.io:8080/sleep