A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
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
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
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
Were you ever able to resolve this? Facing the same error.
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