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

Timeout related errors in /v1/images/ endpoint #2701

Closed
krysal opened this issue Jul 21, 2023 · 1 comment
Closed

Timeout related errors in /v1/images/ endpoint #2701

krysal opened this issue Jul 21, 2023 · 1 comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟩 priority: low Low priority and doesn't need to be rushed 🧱 stack: api Related to the Django API 🐛 tooling: sentry Sentry issue

Comments

@krysal
Copy link
Member

krysal commented Jul 21, 2023

Description

The elasticsearch search request occasionally times out. The specific code line is the following one:

search_response = s.execute()

Sentry shows:

ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=7))

Reproduction

It is rather sporadic so it cannot be reproduced at will.

Additional context

Sentry info at https://openverse.sentry.io/share/issue/03b3bc0970c244b7bef1529a4af94eb2/

It may be resolved by the move to Async Django app.

@krysal krysal added 🟩 priority: low Low priority and doesn't need to be rushed 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository 🐛 tooling: sentry Sentry issue 🧱 stack: api Related to the Django API labels Jul 21, 2023
@krysal
Copy link
Member Author

krysal commented Dec 5, 2023

We haven't had more of these issues since the change to ASGI and the link expired so I'm closing this.

@krysal krysal closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟩 priority: low Low priority and doesn't need to be rushed 🧱 stack: api Related to the Django API 🐛 tooling: sentry Sentry issue
Projects
Archived in project
Development

No branches or pull requests

1 participant