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

Assertion failed error on login #121

Open
ptpofficialxd opened this issue Jul 21, 2024 · 7 comments
Open

Assertion failed error on login #121

ptpofficialxd opened this issue Jul 21, 2024 · 7 comments

Comments

@ptpofficialxd
Copy link

ptpofficialxd commented Jul 21, 2024

Hi, everytime I use /login the error occurs as this below

Assertion failed: Auth status code is 502! {
  statusCode: 502,
  headers: {
    server: 'cloudflare',
    date: 'Sun, 21 Jul 2024 00:47:02 GMT',
    'content-type': 'text/html',
    'content-length': '155',
    connection: 'close',
    'cf-ray': '8a672d69cf867992-BKK'
  },
  body: '<html>\r\n' +
    '<head><title>502 Bad Gateway</title></head>\r\n' +
    '<body>\r\n' +
    '<center><h1>502 Bad Gateway</h1></center>\r\n' +
    '<hr><center>cloudflare</center>\r\n' +
    '</body>\r\n' +
    '</html>\r\n'
}
@BajekekButLost
Copy link

Same issue happening to me :(

@ConnorDoesDev
Copy link

Old auth flow is deprecated afaik
we gotta use captcha solvers now

@Madfish5415
Copy link

Maybe with a different user-agent

@xFanexx
Copy link

xFanexx commented Aug 24, 2024

Not working for me either.

@tacotyen
Copy link

same problem here. also, how do you get a HDEV token? is it the same as a HDEV key? is it even required ☹️

@ArishioTing
Copy link

i got this issue too. So frustrating

@craz1gre0
Copy link

me too:
myid#0 used /login
Assertion failed: Auth status code is 502! {
statusCode: 502,
headers: {
server: 'cloudflare',
date: 'Thu, 26 Sep 2024 15:43:38 GMT',
'content-type': 'text/html',
'content-length': '155',
connection: 'close',
'cf-ray': '8c945ee77895f244-KHH'
},
body: '\r\n' +
'<title>502 Bad Gateway</title>\r\n' +
'\r\n' +
'

502 Bad Gateway

\r\n' +
'
cloudflare\r\n' +
'\r\n' +
'\r\n'
}
Riot didn't return any cookies during the auth request! Cloudflare might have something to do with it...
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at redeemUsernamePassword (file:///C:/Users/User/Desktop/valbot/valorant/auth.js:166:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async queueUsernamePasswordLogin (file:///C:/Users/User/Desktop/valbot/valorant/authQueue.js:33:38)
at async loginUsernamePassword (file:///C:/Users/User/Desktop/valbot/discord/authManager.js:40:17)
at async Client. (file:///C:/Users/User/Desktop/valbot/discord/bot.js:940:21)

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

8 participants