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:[email protected]]
Sent: Tuesday, April 24, 2018 5:55 PM
To: [email protected]
Cc: Abimaran Kugathasan <[email protected]>; dev <[email protected]>
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, <[email protected] 
<mailto:[email protected]> > 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 <http://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:[email protected] <mailto:[email protected]> ]
Sent: Tuesday, April 24, 2018 5:24 PM
To: [email protected] <mailto:[email protected]>
Cc: Abimaran Kugathasan <[email protected] <mailto:[email protected]> >; dev 
<[email protected] <mailto:[email protected]> >


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, <[email protected] 
<mailto:[email protected]> > 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:[email protected] 
<mailto:[email protected]> ]
Sent: Tuesday, April 24, 2018 4:41 PM
To: [email protected] <mailto:[email protected]>
Cc: dev <[email protected] <mailto:[email protected]> >
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, <[email protected] 
<mailto:[email protected]> > 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: [email protected] <mailto:[email protected]> 
[mailto:[email protected] <mailto:[email protected]> ]
Sent: Thursday, April 19, 2018 1:24 PM
To: '[email protected] <mailto:[email protected]> ' <[email protected] 
<mailto:[email protected]> >
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 : / 
<https://l.facebook.com/l.php?u=http%3A%2F%2F10.138.120.228%3A36754%2F&h=ATOl7IzK7wN9mVsfkzG0fh6ZtnMR7L9K40MZWk0LYuJEbmNeWspvtYMO4BNt3VE7oDGgr23jwDtmmzAmNzl9jDrCHFvSnNLITEmpFqP6iWx4v_OkfvIqNnIxGpvMv6PB>
 
10.138.120.228:36754 {org.apache.synapse.transport.passthru.SourceHandler}

 
<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>Is
 there any threshold configuration which is configured to handle themultiple 
API failure and WSO2 skips suspend the end point ?Can anyone help in this 
regard ?Best regardsAlapan SurProject Manager - SDValueLabs - 'inspired by 
potential'Desk: +91-40-6623-9000 | Ext: 32112Mobile: +91-7799681717This e-mail 
may contain information that is proprietary, confidential orotherwise protected 
from disclosure and is sent for the intendedrecipient(s) only. For email 
disclaimer details, please 
visit:http://www.valuelabs.com/terms-of-use/_______________________________________________Dev
 mailing [email protected] 
<mailto:[email protected]>http://wso2.org/cgi-bin/mailman/listinfo/dev--ThanksAbimaran
 KugathasanSenior Software Engineer - API TechnologiesEmail : [email protected] 
<mailto:abima
 [email protected]>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 [email protected] 
<mailto:[email protected]>http://wso2.org/cgi-bin/mailman/listinfo/dev--Nuwan 
DiasSoftware Architect - WSO2, Inc. http://wso2.comemail : [email protected] 
<mailto:[email protected]>Phone : +94 777 775 729--Nuwan DiasSoftware Architect - 
WSO2, Inc. http://wso2.comemail : [email protected] <mailto:[email protected]>Phone 
: +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to