IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

TCP connection in IS pub.client:http - Resending HTTP request on TCP [RST,ACK] packet, which has already been sent to Target

  • 1.  TCP connection in IS pub.client:http - Resending HTTP request on TCP [RST,ACK] packet, which has already been sent to Target

    Posted Mon June 20, 2022 05:23 AM

    Hi Experts,

    Let me explain what we faced or observing during IS send http request to target :

    • Consider there will be a healthy TCP connection socket opened for example 12345 from IS to the target system to send HTTP requests.
    • After target system reaches its idle timeout, it will request to close this TCP socket connection 12345 (issues FIN,ACK) and our IS issues ACK back.
    • Now immediately there will be a HTTP request A before IS socket pool sweeper is executed to close the connection 12345. So, IS will post this HTTP request A to target with existing TCP connection 12345 (as its not yet closed by sweeper) and waits for the response from target.
    • As per wireshark TCP dump, there is a [RST, ACK] from target system to IS and new connection say 67890 is created from IS to target system to post same HTTP request A again. (Duplicate request?)

    Question is :

    1. Which system is initiating this new connection to post the http request again? is it pub.client.http or the TCP protocol?
    2. Is this a expected behavior to resend HTTP request A on TCP [RST,ACK] packet from target system which has already been sent? Can we configure this in IS?

    Thanks in advance for your reply.

    Note: To know on what is socket pool sweeper keepAliveTimeout in pub.client:http - #17 by Niranth_NS

    Regards,
    Niranth


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods
    #Service-Designer


  • 2.  RE: TCP connection in IS pub.client:http - Resending HTTP request on TCP [RST,ACK] packet, which has already been sent to Target

    Posted Mon August 29, 2022 11:24 AM

    Hi @Niranth_NS ,

    Can you please share socketpool log file by enabling watt.net.socketpool.debug=true while reproducing this behavior?
    What are the values set in pub.client.http? please share.
    What is the value of watt.net.maxRetries configured ?

    Regards,
    Nilima


    #Service-Designer
    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods