The Wayback Machine - https://web.archive.org/web/20200915124130/https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/619
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

login: pass: [ERROR] invalid cookie? #619

Open
Jackylee1992 opened this issue Aug 21, 2020 · 3 comments
Open

login: pass: [ERROR] invalid cookie? #619

Jackylee1992 opened this issue Aug 21, 2020 · 3 comments

Comments

@Jackylee1992
Copy link

@Jackylee1992 Jackylee1992 commented Aug 21, 2020

馃悰 Bug Report

Suddenly can not be used for today. Tried for many times, doesn't work.
The console log as follow:
`login: pass: [ERROR] invalid cookie?
/Users/jackylee/.vscode/extensions/leetcode.vscode-leetcode-0.17.0/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:569
user.sessionId = cookieData.sessionId;
^

TypeError: Cannot read property 'sessionId' of undefined
at Request._callback (/Users/jackylee/.vscode/extensions/leetcode.vscode-leetcode-0.17.0/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:569:33)
at Request.self.callback (/Users/jackylee/.vscode/extensions/leetcode.vscode-leetcode-0.17.0/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request. (/Users/jackylee/.vscode/extensions/leetcode.vscode-leetcode-0.17.0/node_modules/request/request.js:1161:10)
at Request.emit (events.js:315:20)
at IncomingMessage. (/Users/jackylee/.vscode/extensions/leetcode.vscode-leetcode-0.17.0/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)`

Your Environment

  • os:macOS 10.15.6
  • extension settings:
  • nodejs version:v12.17.0
  • vscode version: 1.48
  • extension version: 0.17.0
@yihong0618
Copy link
Contributor

@yihong0618 yihong0618 commented Aug 21, 2020

leetcode or leetcode-cn锛烮f leetcode-cn please try to use base login with your account.

@Helen-Gu
Copy link

@Helen-Gu Helen-Gu commented Aug 23, 2020

Encountered the same issue for leetcode-cn while trying to login using Github account.

@yihong0618
Copy link
Contributor

@yihong0618 yihong0618 commented Aug 23, 2020

Encountered the same issue for leetcode-cn while trying to login using Github account.

Yes, please use leetcode-cn account for now, I will have a check maybe today.

leetcode-cn change their logic recently need some time to see if I can solve this.

But I think leetcode-cn base account login is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can鈥檛 perform that action at this time.