safak / youtube2022

Season 2 on Lama Dev
2.48k stars 2.31k forks source link

POST http://localhost:8800/api/auth/register [HTTP/1.1 500 Internal Server Error ...AxiosError@http://localhost:3000/static #96

Open SANKARAMDAS opened 1 year ago

SANKARAMDAS commented 1 year ago

When I tried to click on the Register button(after placing the URL) it throw these error...

2023-04-04 (6) 2023-04-04 (5) Fs23-w9acAAGOZn Fs24AqeaAAUaaUO

And when I clicked on "[HTTP/1.1 500 Internal Server Error" link through the console, it's showing - {"code":"ER_NOT_SUPPORTED_AUTH_MODE","errno":1251,"sqlMessage":"Client does not support authentication protocol requested by server; consider upgrading MySQL client","sqlState":"08004","fatal":true}

Sana348 commented 1 year ago

Lemme know if you found any solution to this!!! please it would be very helpful for me

Silas1008 commented 1 year ago

Lemme know if you found any solution to this!!! please it would be very helpful for me

Have you found the solution?

SANKARAMDAS commented 1 year ago

@Sana348 @Silas1008 No, Not yet.

Silas1008 commented 1 year ago

When I tried to click on the Register button(after placing the URL) it throw these error...

2023-04-04 (6) 2023-04-04 (5) Fs23-w9acAAGOZn Fs24AqeaAAUaaUO

And when I clicked on "[HTTP/1.1 500 Internal Server Error" link through the console, it's showing - {"code":"ER_NOT_SUPPORTED_AUTH_MODE","errno":1251,"sqlMessage":"Client does not support authentication protocol requested by server; consider upgrading MySQL client","sqlState":"08004","fatal":true}

@SANKARAMDAS @Sana348 just fixed this one today https://youtu.be/W2TuIx2y4kw?si=hBS2mvQ53EjQSEhB

Silas1008 commented 1 year ago

@Sana348 @Silas1008 No, Not yet.

There are more errors that just shows up the more I code

Sana348 commented 1 year ago

Exacty same

SANKARAMDAS commented 1 year ago

Same here. Even after fixing the issue, new errors are showing up. I analysed the code and found that it would be better to match the dependencies versions same as the author's. Most probably it might be the root cause. Currently, I'm using different node version as well as dependencies.