-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
API times out on upgrading from 0.0.9 #109
Comments
and back to
|
My first thought is: Please update httpx to v0.23.*! This should solve the issue. |
Thanks for the suggestion - unfortunately, no change. Updated everything else outdated for good measure, still no change.
|
That's really strange. Do you downloading the files in aax or aaxc format? Can you try to set the timeout to 300 and/or set |
My fault. The clue was in
Of course |
(curious that it times out pretty much all the time though, and didn't before. Is the API taking longer? Is the default timeout shorter/new? I have a pretty solid 500Mbps down, so it's not network speed - might be worth upping the default timeout?) |
Network speed is not everything. It is also due to the server location or latency. You can try to set |
This change increased that API response time for my library from 2.5 seconds to ~15 seconds. Do we need all of those |
This is a list with all known response groups and which values for which keys they are provide: Always returned keys:
#1
#2
#3
#4
#5
#6
#7
#8
|
So we/I can check, which response groups are really needed. |
@pmcgaley |
I commented on 8adeb17 - I think there's another issue that's stopping it from having any effect. Once I fix that locally, the call comes back a lot quicker and I don't get timeouts any more. Not familiar enough with httpx vs aiohttp but sounds like it might be something to try, although just increasing the default timeout would probably work too - if the changes to |
Fixed this. Good catch
I've wrote a response group test script with nested In fact, the script tested all 38 known response groups for the library endpoint and check which keys they are provide. |
I've been using
0.0.9
for ages with no issues, but today hit the issue ofExtreme
no longer working in the API, so I updated to the latest0.2.0
.Now trying to download times out every time. Fetching the library seems to be fine. Adding
-t 0
(or anything else) seems to make no difference.I reverted to
0.0.9
and manually patched it for theExtreme
issue and it worked fine. Then experimentally upgraded to0.1.0
and the timeout came back, so looks like my issue started with that version. Is there anything I need to do to upgrade?The text was updated successfully, but these errors were encountered: