Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Graphql Error : timeout: connection reset by peer

Graphql Error : timeout: connection reset by peer

tushar_kumar
Shopify Partner
2 0 2

Hi Team,

 

For the resolve payment session graphql operation, we are roughly getting connection "timeout: connection reset by peer" error for around 6% of the calls. All these requests are successful in subsequent retries. Is there any rate limiting in effect for this graphql operation? Can the tech team guide us here by checking whether they are experiencing errors for some call to payment session resolve graphql endpoint or is it the case that these requests are failing without reaching shopify.


Thanks

Replies 4 (4)

ShopifyDevSup
Shopify Staff
1453 238 523

Hi @tushar_kumar. Can you please share the Call and Response headers for the request you are making in this case and a X-Request-ID with a timestamp for a timeout error response. We can check our logs , if its reached our servers there may be some information in the logs. If the requests aren't reaching us we will also be able to tell that with the X-request-id too. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

tushar_kumar
Shopify Partner
2 0 2

Hi,
Thanks for reaching out us. Here I am sending the XRequestID along with other details

 

X-request-id : ab2bad37f5ccf4aa62f3d3d2aaf91917

 

{"@timestamp":"2023-01-31T12:35:05.936+05:30","@version":"1","message":"retryable exception occured. Preparing retries: io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection timed out io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection timed out","x-request-id":"ab2bad37f5ccf4aa62f3d3d2aaf91917"}

 

 

End Point which we are using

https://freshwateraquatics-52b2.myshopify.com/payments_apps/api/2021-10/graphql.json

 

enriquinho
Visitor
1 0 0

Were you ever able to resolve this? Facing the same error.

ShopifyDevSup
Shopify Staff
1453 238 523

Hi @enriquinho . If you are having time out issues with your app it could be related to your network or possibly disruptions. If you contact Partner Support with an payments_id from a timeout error or a idempotency key from a failed call we can check in the logs to see if the calls are reaching our servers. Hope this helps.  

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog