Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cURL Timeout #134

Open
WebMedic-X opened this issue Sep 4, 2022 · 1 comment
Open

cURL Timeout #134

WebMedic-X opened this issue Sep 4, 2022 · 1 comment

Comments

@WebMedic-X
Copy link

Hi,

Is it normal to get a cURL timeout when accessing Shopify REST API?

How do you deal with it?

Also I noticed when the cURL timeout error happens, it doesn't fire the exception or returns any "errors" in the request, it just kills the process there.

For example this means it won't attempt to retry the request, like it would due to rate limiting or other HTTP status codes.

Thank you

@gnikyt
Copy link
Owner

gnikyt commented Sep 6, 2022

Correct, there is no handling of timeout. We would need to catch the exception, determine if its a timeout, then run the retry process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants