Hi Alapan, When you get Gateway timeout errors, do you see the request hit to your backend services?
On Tue, Apr 24, 2018 at 6:10 PM, <alapan....@valuelabs.com> wrote: > Thanks Nuwan, we will try that. > > > > Just to give you few more data pointers: > > 1. We are getting around 100 Kb of data as response. > > 2. When we do restart of the application everything work like charm > but after few 5 – 6 hours or 10 K – 15 K API hits, we are started getting > Gateway timeout errors. > > Best regards > > *Alapan Sur* > > Project Manager - SD > > ValueLabs - *'inspired by potential'* > > Desk: +91-40-6623-9000 | Ext: 32112 > > Mobile: +91-7799681717 > > This e-mail may contain information that is proprietary, confidential or > otherwise protected from disclosure and is sent for the intended > recipient(s) only. For email disclaimer details, please visit: > http://www.valuelabs.com/terms-of-use/ > > > > *From:* Nuwan Dias [mailto:nuw...@wso2.com] > *Sent:* Tuesday, April 24, 2018 5:55 PM > > *To:* alapan....@valuelabs.com > *Cc:* Abimaran Kugathasan <abima...@wso2.com>; dev <dev@wso2.org> > *Subject:* Re: [Dev] One Specific API not responding > > > > I was specifically interested in seeing the value of the Transfer-Encoding > request header. Since it appears to be missing, can you try disabling > chunking of this particular API by setting <property > name="DISABLE_CHUNKING" value="true" scope="axis2"/> in the api xml file > located at > <APIM_HOME>/repository/deployment/server/synapse-configs/default/api > ? You should put this config within the <inSequence> of the <resource> > being executed. > > > > If the above works, you could apply this solution as documented at [1]. > > > > [1] - https://docs.wso2.com/display/AM210/Disable+Message+Chunking > > > > Thanks, > > Nuwan. > > > > On Tue, Apr 24, 2018 at 5:47 PM, <alapan....@valuelabs.com> wrote: > > Hello Nuwan, > > > > Please find the requested information for backend API directly : > > > > *Request Headers --* > > Source-Identifier: A076FCBB-41F3-4FB5-A9P8-DA2DCF6YR942 > > Content-Type: application/json > > Authorization-Token : > > > > *Response Headers -- * > > Cache-Control →no-cache > > Content-Length →25078 > > Content-Type →application/json; charset=utf-8 > > Date →Tue, 24 Apr 2018 12:11:06 GMT > > Expires →-1 > > Pragma →no-cache > > Server →Microsoft-IIS/8.0 > > X-AspNet-Version →4.0.30319 > > X-Powered-By →ASP.NET > > > > Best regards > > *Alapan Sur* > > Project Manager - SD > > ValueLabs - *'inspired by potential'* > > Desk: +91-40-6623-9000 | Ext: 32112 > > Mobile: +91-7799681717 > > This e-mail may contain information that is proprietary, confidential or > otherwise protected from disclosure and is sent for the intended > recipient(s) only. For email disclaimer details, please visit: > http://www.valuelabs.com/terms-of-use/ > > > > *From:* Nuwan Dias [mailto:nuw...@wso2.com] > *Sent:* Tuesday, April 24, 2018 5:24 PM > *To:* alapan....@valuelabs.com > *Cc:* Abimaran Kugathasan <abima...@wso2.com>; dev <dev@wso2.org> > > > *Subject:* Re: [Dev] One Specific API not responding > > > > Hi Alan, > > > > Can you send the list of Request headers and Response headers from a > successful request that goes to your back-end directly (without going > through the Gateway)? > > > > Thanks, > > Nuwan. > > > > On Tue, Apr 24, 2018 at 5:03 PM, <alapan....@valuelabs.com> wrote: > > Hello Abimaran, > > > > I have increased socket timeout and connection timeout to 3 mints and also > disabled the suspension of API, I am still getting 504 gateway timeout > error and sometime I get the response. Also I have checked the backend API > but we are getting response from backend server within 2 -3 seconds . > > > > I need immediate help to sort this out as we already moved this to > production and customers are facing issue with timeout. > > > > Best regards > > *Alapan Sur* > > Project Manager - SD > > ValueLabs - *'inspired by potential'* > > Desk: +91-40-6623-9000 | Ext: 32112 > > Mobile: +91-7799681717 > > This e-mail may contain information that is proprietary, confidential or > otherwise protected from disclosure and is sent for the intended > recipient(s) only. For email disclaimer details, please visit: > http://www.valuelabs.com/terms-of-use/ > > > > *From:* Abimaran Kugathasan [mailto:abima...@wso2.com] > *Sent:* Tuesday, April 24, 2018 4:41 PM > *To:* alapan....@valuelabs.com > *Cc:* dev <dev@wso2.org> > *Subject:* Re: [Dev] One Specific API not responding > > > > Hi Alapan, > > > > Do you want to increase socket timeout or remove the suspension of API? > > > > On Fri, Apr 20, 2018 at 11:24 AM, <alapan....@valuelabs.com> wrote: > > Hello Team, > > > > Any idea on the below ? > > > > Best regards > > *Alapan Sur* > > Project Manager - SD > > ValueLabs - *'inspired by potential'* > > Desk: +91-40-6623-9000 | Ext: 32112 > > Mobile: +91-7799681717 > > This e-mail may contain information that is proprietary, confidential or > otherwise protected from disclosure and is sent for the intended > recipient(s) only. For email disclaimer details, please visit: > http://www.valuelabs.com/terms-of-use/ > > > > *From:* alapan....@valuelabs.com [mailto:alapan....@valuelabs.com] > *Sent:* Thursday, April 19, 2018 1:24 PM > *To:* 'dev@wso2.org' <dev@wso2.org> > *Subject:* One Specific API not responding > > > > Hello Team, > > > > We are facing an issue file working with WSO2 API Manager 2.1.0. > > > > There is one request for a specific endpoint is continuously failing for > some reason and as a result, this specific API is getting down and we are > not getting an response from WSO2 APIM gateway although we are receiving > the response from backend API before the socket time out error. Please > find the below error we are getting : > > > > TID: [-1] [] [2018-04-19 04:54:24,294] WARN > {org.apache.synapse.transport.passthru.SourceHandler} > - Connection time out after request is read: http-incoming-106261 Socket > Timeout : 60000 Remote Address : /10.138.120.228:36754 > <https://l.facebook.com/l.php?u=http%3A%2F%2F10.138.120.228%3A36754%2F&h=ATOl7IzK7wN9mVsfkzG0fh6ZtnMR7L9K40MZWk0LYuJEbmNeWspvtYMO4BNt3VE7oDGgr23jwDtmmzAmNzl9jDrCHFvSnNLITEmpFqP6iWx4v_OkfvIqNnIxGpvMv6PB> > {org.apache.synapse.transport.passthru.SourceHandler} > > > Is there any threshold configuration which is configured to handle the > multiple API failure and WSO2 skips suspend the end point ? > <http://l.facebook.com/l.php?u=http%3A%2F%2F10.138.120.228%3A36754%2F&h=ATPsubv-DfKlSaiNx21YeahwUalUYsKADBcz4F-OaA0nNb7IrCxSzP9E4OvrEmhKGyMow8idhB7i0Ij9HBZZRiJUfMgIi7R31JXKm0GM27z_dVvC_69FV9pEg9RG9I6_2afAkKPvJcE&s=1> > > > > Can anyone help in this regard ? > > Best regards > > *Alapan Sur* > > Project Manager - SD > > ValueLabs - *'inspired by potential'* > > Desk: +91-40-6623-9000 | Ext: 32112 > > Mobile: +91-7799681717 > > This e-mail may contain information that is proprietary, confidential or > otherwise protected from disclosure and is sent for the intended > recipient(s) only. For email disclaimer details, please visit: > http://www.valuelabs.com/terms-of-use/ > > > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > > -- > > Thanks > > Abimaran Kugathasan > > Senior Software Engineer - API Technologies > > > > Email : abima...@wso2.com > > Mobile : +94 773922820 > > > > <http://stackoverflow.com/users/515034> > <http://lk.linkedin.com/in/abimaran> > <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> > <https://twitter.com/abimaran> > > > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > > -- > > Nuwan Dias > > > > Software Architect - WSO2, Inc. http://wso2.com > > email : nuw...@wso2.com > > Phone : +94 777 775 729 > > > > > > -- > > Nuwan Dias > > > > Software Architect - WSO2, Inc. http://wso2.com > > email : nuw...@wso2.com > > Phone : +94 777 775 729 > -- Thanks Abimaran Kugathasan Senior Software Engineer - API Technologies Email : abima...@wso2.com Mobile : +94 773922820 <http://stackoverflow.com/users/515034> <http://lk.linkedin.com/in/abimaran> <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> <https://twitter.com/abimaran>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev