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

連cookie都無法登入了? #908

Closed
zjimf opened this issue Oct 28, 2023 · 16 comments
Closed

連cookie都無法登入了? #908

zjimf opened this issue Oct 28, 2023 · 16 comments

Comments

@zjimf
Copy link

zjimf commented Oct 28, 2023

以往用cookie都能順利登入,但今天卻不行了,有人遇到一樣的問題嗎?

錯誤訊息顯示如下
let s = args.map(x => x.toString()).join(' ');
^

@willhpkns
Copy link

Same issue

@laskjd
Copy link

laskjd commented Oct 28, 2023

same.
trying to log in via github doesn't work also

@gcobc26744
Copy link

same too,bro . I try all night .
but my problem is that I can't donwolad the leetcode question

@kylelau519
Copy link

cannot login with GitHub, able to submit within past 24 hours but not now.

@MyEnthusiastic
Copy link

same issue, not able to log in both with cookie, linkedin, as well as github

@casperking666
Copy link

thought it was just me, was even working in the morning, stopped working in the afternoon

@jasoncyu
Copy link

yeah same logging in with github and cookie is no longer working as of a few hours ago

@PANhuihuihuihui
Copy link

same issue!

@zjimf
Copy link
Author

zjimf commented Oct 29, 2023

this is a very helpful extension, hope it can be fixed soon

@zjimf
Copy link
Author

zjimf commented Oct 29, 2023

guys I can log in now

@zjimf zjimf closed this as completed Oct 29, 2023
@g-akshay
Copy link

  1. change below value and take latest from browser
    (get the cookie value from the network requests -> request headers), skip the "expiry attribute"
  2. close the browser
  3. restart VS code
  4. login with cookie
  5. enter below value for username and cookie value both

Value:
csrftoken=XYZ; LEETCODE_SESSION=xyz;_dd_s=rum=0

@huikinglam02gmail
Copy link

This bug comes up again....

@billpku
Copy link

billpku commented Dec 27, 2023

I'm experiencing the same issue; it used to work well before, but now I can't log in with a cookie anymore.

I will try the method suggested by @g-akshay.If it's successful, I will provide an update.

@HOZH
Copy link

HOZH commented Dec 28, 2023

any luck?

@billpku
Copy link

billpku commented Dec 29, 2023

I'm experiencing the same issue; it used to work well before, but now I can't log in with a cookie anymore.

I will try the method suggested by @g-akshay.If it's successful, I will provide an update.

Update:

  • From December 27th to 28th, 2023, I tried changing the cookie content like @g-akshay recommended, but it didn't work.
  • However, today, December 29th, 2023, when I used the cookie without changing it, it worked again!

It seems the issue might not be with the extension, but rather how the LeetCode website handles authentication.

@jasoncyu
Copy link

I also had this issue come up when @HOZH and @billpku experienced it. I did some debugging, and it looks like when leetcode tries to submit the solution, an HTML page was sent as a response, saying something like "hang on a second" in the title. I just console log'ed the response html and wasn't able to open it in a browser because the linked javascript couldnt' be found. I tried linkedin, github, and cookie logins while this issue was occurring and nothing worked. Only thing that worked was waiting two days, just like @billpku experienced. And now that the issue is gone, signing in with any method is successful

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