Skip to content

Gracefully Handle IA Unavailability at Startup #348

@brandongalbraith

Description

@brandongalbraith

Image

requests.exceptions.RetryError: Error retrieving metadata from https://archive.org/metadata/youtube-*REDACTED*, (MaxRetryError("HTTPSConnectionPool(host='archive.org', port=443): Max retries exceeded with url: /metadata/youtube-REDACTED (Caused by ResponseError('too many 503 error responses'))"), 'https://archive.org/metadata/youtube-*REDACTED*')

When tubeup starts up, it makes a query to the Internet Archive API to determine if the item already exists. If the Internet Archive is down for maintenance or otherwise cannot service this metadata request, we should handle this gracefully.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions