-
Notifications
You must be signed in to change notification settings - Fork 82
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
read time out #15
Comments
Hi @essramos, I think it might be a temporary internal server issue for the Shopee Open Platform. Did you get this so often? |
Maybe you can change the timeout params by yourself, however, I think 10 seconds is long enough for the API call. # https://github.com/JimCurryWang/python-shopee/blob/master/pyshopee/client.py
def execute(self, uri, method, body=None):
...
...
s = Session()
resp = s.send(prepped, timeout=10)
resp = self._build_response(resp)
return resp And here are some requests exceptions explainations. |
We manually increased the timeout to 15 and we are not seeing timeouts anymore, is there anyway to expose the timeout parameter? |
Good Idea, maybe we can try it then. |
Thank you! Will try it out and let you know! |
Hey Jim,
We are getting these errors, I know it might not relate to the library. But I am wondering if you are getting these as well?
Any idea why this is happening?
The text was updated successfully, but these errors were encountered: