Symptom
After installing the Diagnostics Agent, it cannot connect to the SAP Host Agent and throws an error:
Not a valid URL: Unexpected character found ['_' at position 11]
When looking into the smdagent_trace.x.trc log, the following error shows up:
[ExRun:OutsideDiscovery_1,5,OutsideDiscovery:ExecTG]##0#0#Error##Java###[HostAgentFacade] Error occured while initializing SAPHostControlInterface proxy facade
[EXCEPTION]
{0}#1#com.sap.smd.agent.facade.hostagent.HostAgentTrustedConnectionException: Cannot establish connection to SAP Host agent webservice. (Cannot check the version of SAP Host agent cause byURL is malformed http://<host_name>:1128; nested exception is:
java.net.MalformedURLException: Not a valid URL: Unexpected character found ['_' at position 11])
Read more...
Environment
Solution Manager 7.1
Solution Manager 7.2
Product
Keywords
hostname, unexpected character "_", Not a valid URL , KBA , SV-SMG-DIA-SRV-AGT , Agent Framework , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.