cancel
Showing results for 
Search instead for 
Did you mean: 

NIECONN_REFUSED(-10) error while consuming RESTful webservice

Former Member
0 Kudos

Hi All,

I am getting an error NIECONN_REFUSED(-10) in lo_http_client->receive( ) while consuming a RESTful web serivce in my abap code.

any Idea about this error or how can i troubleshoot it.

regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

Hello Jagveer,

I faced the same issue a short time ago. In my case it was caused by missing proxy information.

You can either enter the proxy-information in cl_http_client=>create_by_url as input parameters, or store the proxy information in the RFC-Destination in case you use cl_http_client=>create_by_destination.

Hope it helps.

Best regards

Matthias