2017 May 23 2:46 AM
Dear Expert,
I have this issue - ICM_HTTP_CONNECTION_FAILED and try to find from many sources, but none of them solve my problem. My problem here is the code sometimes work, sometimes not work when call the same URL.
At first, I am using cl_http_client=>create_by_url to call the URL. Then trigger IF_HTTP_CLIENT->SEND followed by IF_HTTP_CLIENT->RECEIVE. I am getting the code return 400 and message ICM_HTTP_CONNECTION_FAILED.
Is there something I have miss out the connection setting? Kindly help.
Thanks and Regards
Hock Lin
2017 May 23 6:11 AM
You can trace the log in Tr-code smicm. The reason may be bad net.
2017 May 24 4:10 AM
Hi Feiyun,
I have checked in tcode SMICM and here is the warning message. Can you guide me how should I correct the error?
The weird part is within 30 minutes background job that I have scheduled, first job maybe okay but second job will failed and vice versa.

Thanks and Regards
Hock Lin
2017 May 24 4:20 AM
Hi Hock Lin,
As I konw the domain name always match the IP address.
But sometimes, the IP address changed but our SAP system did not know, so the request will be failed.
You should ask the target system whether their IP address may changed sometimes?
The SAP Basis guy config the net work in host by IP, because sometimes we all have fire wall to trust the oked IP.
Regards.
2017 May 25 2:42 AM
Hi Feiyun,
Do you mean the host "rss.nbp.pl" is configure in SAP via IP?
Thanks and Regards
Hock Lin
2017 May 23 6:34 AM
400 is a bad request error. That means the target thinks your request is corrupted in some way. Check the error log on the target.