-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error 500 on package versions #908
Comments
I saw this error come in today, there's some invalid data showing up:
|
I've noticed if I change the timestamp by a minute or so, it will work. To me it feels like there is corruption in data or something. Maybe pagination issue. |
I suspect it's that a version is being created and then displayed before it's been fully synced, I'm going to investigate further later today |
Deploying an extra filter to avoid rendering invalid versions now. |
Great. Thank you. I will give it a try. |
I am still experiencing 500 errors on the same package versions API call. Thx |
I recommend dropping the per_page value down, there’s a max timeout of 30 seconds |
It is not helping. Today for some reason it is really slow and eventually I get 500. |
Hello,
First of all, I want to thank you for this great service. It contains enormous amount of useful data and information.
I am experiencing a lot of 500 errors when trying to pull package versions (sometimes on packages as well).
This is my api endpoint:
https://packages.ecosyste.ms/api/v1/registries/npmjs.org/versions
These are parameters that I pass:
params = {"page": 1, "per_page": 1000, "sort": "updated_at", "order": "asc", "updated_after": "2004-10-18T00:00:00.000Z"}
I use python requests to perform these operations.
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.get(url, params=params, headers=headers, timeout=20)
Thank you for taking a look.
The text was updated successfully, but these errors were encountered: