vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

session expired, please login again

Open TangyrenMidKing opened this issue 2 years ago • 2 comments

🐛 Bug Report

Login by cookie because all other options did not work at all. After login I get an Error tab:

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Extension Output

- Downloading problems
(node:13056) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:13056) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
[ERROR] session expired, please login again [code=-1]

Your Environment

  • os: Window11

  • extension settings: { "workbench.colorTheme": "Default Dark Modern", "leetcode.workspaceFolder": "C:\Users\user1\.leetcode", "leetcode.hint.commandShortcut": false, "leetcode.hint.configWebviewMarkdown": false, "leetcode.defaultLanguage": "java", "leetcode.hint.commentDescription": false, "redhat.telemetry.enabled": true, "leetcode.endpoint": "leetcode", "leetcode.filePath": {

      "default": {
          "folder": "",
          "filename": "${id}.${kebab-case-name}.${ext}"
      }
    

    } }

  • nodejs version: v21.7.1

  • vscode version: 1.87.2

  • extension version: lastest

TangyrenMidKing avatar Mar 13 '24 04:03 TangyrenMidKing

Resolved, now It works normally

leozhao21 avatar Mar 19 '24 03:03 leozhao21

@leozhao21 how did you solve that?

Mo-Shakib avatar Nov 11 '24 04:11 Mo-Shakib