codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: Error 500 on authorization

Open Chebanya opened this issue 1 year ago • 1 comments

Summary

Error 500 when authorizing a registered user (closed bug report https://github.com/hexlet-codebattle/codebattle/issues/1982#issue-2564612654)

https://github.com/user-attachments/assets/ccf67edc-60f6-4004-8d02-c10cb02e0853

Reproduction steps

1. Open the page with user authorization on the site - https://codebattle.hexlet.io/session/new?locale=en&next=%2F.
2. Open DevTools
3. Select the Network tab
4. Click on Fetch/XHR
5. Enter the e-mail address of the logged in user
6. Enter password
7. Click Submit

Expected result

The user is logged in, the server has responded positively to the request

Actual result

The user is not logged in, the server responded with error 500 to the request

Сurrent version of the site: 1c3e2ba Google Chrome 129.0.6668.60 (Официальная сборка), (x86_64) MacOS Ventura 13.3.1

Browsers

Chrome

OS

Mac

Chebanya avatar Oct 09 '24 12:10 Chebanya

Summary: Authorization via email doesn't work

Environment: Windows 11 Home 23H2 22631.4317 Google Chrome v130.0.6723.59 (64-bit) Firefox 131.0.3 (64-bit) Current site version: 1c3e2ba

Reproduction steps:

  1. Open website: https://codebattle.hexlet.io/
  2. Click on "Sign in" button
  3. Enter valid email and password in authorization form
  4. Click "Submit" button

Expected result: Authorization is successful, user is transfered to main page

Actual result: Authorization doesn't work, there is error 500(Internal Server Error) in the "Network" tab in DevTools

https://github.com/user-attachments/assets/3c44b22e-8c47-4cd7-b22c-98aedb711a28

rikoshet437 avatar Oct 22 '24 17:10 rikoshet437

Ошибка авторизации пользователя с существующими email и паролем

requirement: | При правильном email или пароле пользователь должен войти в аккаунт prerequisites: Открыта страница логина test-data: | Email = [email protected] Password = password environment: | Google Chrome 126.0.6478.127 (Официальная сборка) (64 бит) ОС Windows 11 steps: Ввести Email Ввести Password Нажать кнопку «Submit» expected-result: | Пользователь должен попасть на главную страницу actual-result: | Пользователь не авторизован. Ошибка 500 real email

AnnaAnPetrova avatar Nov 03 '24 10:11 AnnaAnPetrova

Description: Windows 10, version Pro 22H2 Yandex browser version 24.10.3.814 (64-bit) Codebattle version bb44a99

Production steps:

  1. Open https://codebattle.hexlet.io/
  2. Click on the “Sign in” button
  3. Enter your email in the “Email” field
  4. Enter your password in the “Password” field
  5. Click the “Submit” button
  6. Open Devtools

Expected Result: User is authorized on the site by entering his login and password

Actual result: The user is unable to authorize to the site using login and password. An error appears in the Devtools console.

Ошибка 500  3 Ошибка 500  2 Ошибка 500  1

Alexicd42 avatar Nov 17 '24 19:11 Alexicd42