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

Random 'cursor already closed' error #4709

Closed
jirihajek opened this issue Oct 19, 2020 · 4 comments
Closed

Random 'cursor already closed' error #4709

jirihajek opened this issue Oct 19, 2020 · 4 comments
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.

Comments

@jirihajek
Copy link

I got sometimes notified from the server about an error:

InterfaceError at /js/translate/modernmt/102793/
cursor already closed
Request Method: | POST
http://127.0.0.1:8090/js/translate/modernmt/102793/
3.1.1
InterfaceError
cursor already closed
/usr/local/lib/python3.7/dist-packages/django/db/utils.py, line 97, in inner
/usr/bin/uwsgi-core
3.7.3
['/usr/local/lib/python3.7/dist-packages/git/ext/gitdb', '/', '/usr/local/lib/python3.7/dist-packages/', '.', '', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages', '/app/data/python', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.7/dist-packages/gitdb/ext/smmap']

I'm not sure about the exact repro-steps, but if anyone has any suggestion re. what to look for, I can try to get more information. Thanks!

@nijel
Copy link
Member

nijel commented Oct 19, 2020

I've seen several such reports, but we were unable to reproduce that in another environment, my wild guess is that something is terminating inactive TCP connections as this typically happens after Weblate does some possibly lengthy operation which does not involve database (accessing ModernMT in your case).

It might be a PostgreSQL configuration (which we ruled out in most cases) or something in the Docker networking (where my knowledge is close to zero, so I can't really help).

See WeblateOrg/docker#786, #3942, #4539

@nijel nijel added the question This is more a question for the support than an issue. label Oct 19, 2020
@github-actions
Copy link

This issue looks like a support question. We try to answer these reasonably fast, but in case you are looking for faster resolution, please consider purchasing support subscription and make Weblate stronger.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@humphrey

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.
Projects
None yet
Development

No branches or pull requests

3 participants