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

Error cuando se hace login #16

Open
eamanu opened this issue Mar 20, 2022 · 0 comments
Open

Error cuando se hace login #16

eamanu opened this issue Mar 20, 2022 · 0 comments

Comments

@eamanu
Copy link
Owner

eamanu commented Mar 20, 2022

Cuado se hace el login, (y me imagino cualquier otra interacción con la DB, se produce el siguiente error:

[2022-03-20 18:11:04,331][ERROR][app.gear.local.local_impl][(pymysql.err.OperationalError) (2006, "MySQL server has gone away (ConnectionResetError(104, 'Connection reset by peer'))")
[SQL: SELECT user.id AS user_id, user.username AS user_username, user.password AS user_password, user.id_person AS user_id_person, user.id_user_status AS user_id_user_status 
FROM user 
WHERE user.username = %(username_1)s 
 LIMIT %(param_1)s]
[parameters: {'username_1': 'admin', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/14/e3q8)]
[2022-03-20 18:11:04,331][INFO][app.auth.auth][getting user, attempt: 1]
[2022-03-20 18:11:04,331][ERROR][app.gear.local.local_impl][Can't reconnect until invalid transaction is rolled back. (Background on this error at: https://sqlalche.me/e/14/8s2b) [admin]]
[2022-03-20 18:11:04,331][INFO][app.auth.auth][getting user, attempt: 2]

lo que lleva a tener que reinterar varias veces (en este caso 3) para que se haga el login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant