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

Not able to login to leetcode from plugin #672

Open
shrawanraina opened this issue Oct 28, 2023 · 8 comments
Open

Not able to login to leetcode from plugin #672

shrawanraina opened this issue Oct 28, 2023 · 8 comments

Comments

@shrawanraina
Copy link

Describe the bug
Unable to login to leetcode

To Reproduce
Steps to reproduce the behavior:

  1. Open IntelliJ
  2. Click on Leetcode Editor plugin
  3. Click on Sign In
  4. Error: Failed to send request

java.lang.Throwable: Request userStatus failed, status:403
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
at com.shuzijun.leetcode.plugin.manager.QuestionManager.getUser(QuestionManager.java:315)
at com.shuzijun.leetcode.plugin.window.NavigatorTabsPanel.getUser(NavigatorTabsPanel.java:176)
at com.shuzijun.leetcode.plugin.window.NavigatorTabsPanel.lambda$new$0(NavigatorTabsPanel.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:246)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)

Software versions(Help -> About)

  • Product: IntelliJ IDEA 2022.3.2 (Ultimate Edition)
  • Runtime version:17.0.5+1-b653.25 x86_64
  • VM:OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • OS: macOS Big Sur
@deerHDE
Copy link

deerHDE commented Oct 29, 2023

I'm running into the exact same issue just now.

@rajvanshipradeep15
Copy link

Same here not able to login.

@rajvanshipradeep15
Copy link

I followed this link and I was able to login.
https://github.com/shuzijun/leetcode-editor/blob/master/doc/LoginHelp.md

@selva-krishnan
Copy link

@rajvanshipradeep15 - I never got the popup to enter the cookie information as shown in the screenshot. All I get is the "Failed to send request" in the console.

@tech1savvy
Copy link

@rajvanshipradeep15 - I never got the popup to enter the cookie information as shown in the screenshot. All I get is the "Failed to send request" in the console.

+1

1 similar comment
@akhilss99
Copy link

@rajvanshipradeep15 - I never got the popup to enter the cookie information as shown in the screenshot. All I get is the "Failed to send request" in the console.

+1

@shuzijun
Copy link
Owner

@selva-krishnan @tech1savvy @akhilss99 This is a new issue, please refer to #697

@rajvanshipradeep15
Copy link

Hello guys, just make sure you have the right settings in the PHPSTORM
settings_leetcode

Later when you click the signin button you should get the login popup, as shown in the screen shot.
leetcode_login

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

7 participants