Skip to Content
avatar image
Former Member

NIECONN_REFUSED(-10) error while consuming RESTful webservice

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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

    Matthias

    Add comment
    10|10000 characters needed characters exceeded