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

Fedora deposits in Storage Service causing Python exception due to failed /api/v2/file/ call #167

Open
uofmsean opened this issue Dec 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@uofmsean
Copy link

uofmsean commented Dec 9, 2021

We have Fedora deposits in our test Archivematica 0.13.1/0.18.1 system, and using AIPscan to query all packages is causing a Python exception due to a bad response from the Storage Service. This Storage Service issue is logged as Archivematica Issue 1514. The AIPscan exception occurs in our tests at Aggregator/tasks.py line 253 but could also occur at Aggregator/tasks.py line 236.

Example exception error (Note: URL prefix changed to '...' in example):

AIPscan.Aggregator.tasks.TaskError: Bad response from server: Check the URL and API details, cannot connect to: .../api/v2/file/?limit=20&offset=0

The actual HTTP status code was 400 but is not properly reported in the error message.

@mcantelon mcantelon added the bug Something isn't working label Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants