Layer7 API Management

Expand all | Collapse all

Unable to get request XML: Stream timeout

  • 1.  Unable to get request XML: Stream timeout

    Posted 05-21-2018 02:15 AM

    Hi Team,
    Can you help me out of this.I'm getting below exception when client made request.
    Unable to get request XML: Stream timeout



  • 2.  Re: Unable to get request XML: Stream timeout

    Posted 05-21-2018 02:29 AM

    can you confirm if the endpoint is responsive? usually you will see this error when the client system closes a connection but the Gateway still holds data to send to the client.



  • 3.  Re: Unable to get request XML: Stream timeout

    Posted 05-21-2018 04:56 AM

    Thanks for quick responding.endpoint is responsive.Even though client is increase the time out from 2 to 4 min.Still it doesn't work for us?



  • 4.  Re: Unable to get request XML: Stream timeout

    Posted 12-17-2018 12:36 PM

    Good morning,

     

    The best place to start is to see what is happening to the back-end latency and how the HTTP Routing assertion is configured. It is best to fail fast so that the client is aware so setting the connection timeout to around 500ms, read timeout to between 2-5 seconds, and retries to 0. If the request has a longer response time from the back-end then look to increase the read timeout. From there review the client timeout and all the devices in between but this is normally only a concern if the request are taking more than 60 seconds but still worth reviewing. 

     

    Also a review of the other integration that happen in policy like if authentication calls OAuth / LDAP provider or JDBC connections that are long running. Ultimately this error is when the client tears down the connection as it has run too long.

     

    Sincerely,

     

    Stephen Hughes

    Broadcom Support