Skip to Content

NIECONN_REFUSED(-10) error while consuming RESTful webservice

Feb 09, 2017 at 04:21 AM


avatar image
Former Member

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.


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

1 Answer

avatar image
Former Member Oct 25, 2017 at 09:21 AM

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


10 |10000 characters needed characters left characters exceeded