The read operation timed out
Closed this issue · 12 comments
My internet is fine, what is this read operation time out mean?
Can you please post here the full output?
Thank you. Can you share the BOOK_ID?
this is the book that I want
BOOK_ID = "2802894"
I try to use the book id from your video (youtube), it result the same error
BOOK_ID = "2173908"
The error say it was Unauthorized, but I copy the Bearer token from firefox network tab.
I try use chrome too to get the auth token, but it result the same.
Btw thank you for your fast reply, I never touch python so idk how debug it.
but print keyword really give me the root of the problem, although im not sure why my auth token didnt work
After I remove the Bearer, it working :)
Whenever I consume API, I always need to include Bearer keyword.
This is the first time that I should omit the Bearer keyword.
thank you once again
Can you add
print(data)
after line 61 so we can debug? Then try to re-run the script and post here the output.
I've add it and I still got this error:
% python3 downloader.py
{'event': 'error', 'data': {'message': 'Failed to validate recaptcha token', 'code': 6}}
download error: Connection timed out
I only copid the AUTH_TOKEN without "Bearer"
I've used Firefox to get another auth and same issue "Failed to validate recaptcha token"
thanks
Can you add
print(data)
after line 61 so we can debug? Then try to re-run the script and post here the output.
I've add it and I still got this error: % python3 downloader.py {'event': 'error', 'data': {'message': 'Failed to validate recaptcha token', 'code': 6}} download error: Connection timed out
I only copid the AUTH_TOKEN without "Bearer"
I've used Firefox to get another auth and same issue "Failed to validate recaptcha token"
thanks
Same issue here. The "reCaptchaToken": AUTH_TOKEN
in line 32 might need to be changed to use appropriate value. I have checked the JSON equivalent string of that line on https://websocketking.com/ and same error response shows up.
Works without issue with the latest commit. Thanks.