DataPower

 View Only
  • 1.  ECONNRESET error while invoking DP service

    Posted Thu December 07, 2023 04:08 PM

    Hello,

    I have created MPGW with http FSH (no ssl involved). I get below error in postman while testing, please note testing via on device testing utility ('Send a Test Message') is successful. 

    ERROR in DP
    [0x80e00161][mpgw][error] source-http (my FSH): Request processing failed: Connection terminated before request headers read because of the connection error occurs, from URL: my ip:some port

    Error in Postman
    Error: read ECONNRESET



    ------------------------------
    A Khan
    ------------------------------


  • 2.  RE: ECONNRESET error while invoking DP service

    Posted Mon December 11, 2023 09:46 AM

    I looked up 0x80e00161, and under summary I found:
    "The request headers for an incoming message were not present."

    If you think you send request headers, then please take a packet capture and see wheter you really do.



    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support, IBM DataPower Gateways
    IBM
    Boeblingen Germany
    ------------------------------



  • 3.  RE: ECONNRESET error while invoking DP service

    Posted Wed December 13, 2023 11:30 AM

    Hermann - although I found the reason why it is failing? - 'firewall restrictions'. Out of interest I would still capture the packet and share. Thanks 



    ------------------------------
    A Khan
    ------------------------------



  • 4.  RE: ECONNRESET error while invoking DP service

    Posted Mon December 11, 2023 09:54 AM

    Hello,
    Typically you'll have other logs messages preceding this one in the DataPower default log that will provide some additional context to the error you're seeing.   You may need to enable debug logging temporarily and capture the logs for one test failing transaction.  The ECONNRESET in Postman would indicate that DataPower did close the connection. A packet capture may also provide some insight of the request being sent before DataPower closes the connection.
    Best Regards,
    Steve



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------



  • 5.  RE: ECONNRESET error while invoking DP service

    Posted Wed December 13, 2023 11:16 AM

    Steve - with the debug logs on, this was the only log content:

    [0x80e00161][mpgw][error] source-http (my FSH): Request processing failed: Connection terminated before request headers read because of the connection error occurs, from URL: my ip:some port

    I found the root cause by the way, I came to know due to fire wall traffic is restricted. May be that's why I was able to test from within datapower as I mentioned in original post. Thanks 



    ------------------------------
    A Khan
    ------------------------------