Skip to Content
0

Error ICM_HTTP_CONNECTION_FAILED for IF_HTTP_CLIENT->RECEIVE

May 23, 2017 at 01:46 AM

106

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member May 23, 2017 at 05:11 AM
0

You can trace the log in Tr-code smicm. The reason may be bad net.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

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

capture.png (5.4 kB)
0
Former Member
Hock Lin Wong

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.

0

Hi Feiyun,

Do you mean the host "rss.nbp.pl" is configure in SAP via IP?

Thanks and Regards

Hock Lin

0
Matthew Billingham
May 23, 2017 at 05:34 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded