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

code=499 error when testing / submitting #906

Open
leepogii opened this issue Oct 4, 2023 · 4 comments
Open

code=499 error when testing / submitting #906

leepogii opened this issue Oct 4, 2023 · 4 comments

Comments

@leepogii
Copy link

leepogii commented Oct 4, 2023

馃悰 Bug Report

Hi, when I submit or test with default test cases it does not work and shows error messages instead. Is this a problem that happens on my end? Could you help with this issue? Thanks for the great extension btw.

To Reproduce

Just clicking submit or test.

Expected behavior

It should do the submitting / testing.

Extension Output

  • Sending code to judge
    (node:41492) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
    (Use node --trace-warnings ... to show where the warning was created)
    [ERROR] http error [code=499]

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

  • os: Windows 11
  • extension settings: default
  • nodejs version: v14.18.0
  • vscode version: 1.82.3
  • extension version: v0.18.1
@JonSolo11
Copy link

same here. windows 10.

both node versions 14.1 and 20.8 after updating.

vs code: 1.83

@KingMario
Copy link

The same error in the web site while run/submit

@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

@kirbah
Copy link

kirbah commented Dec 31, 2023

I had the same trouble with the test/submit and 499 error in console.
It was solved once I copied full cookie. To get full cookie I just opened F12 - Network and navigated to Problems link - https://leetcode.com/problemset/

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

5 participants