question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to 3.8.0 results in 500 VS Code failed to load

See original GitHub issue
  • Web Browser: Chrome 87
  • Local OS: macos 10.15.7
  • Remote OS: centos 7.8
  • Remote Architecture:
  • code-server --version: 3.8.0 c4610f7829701aadb045d450013b84491c30580d

Upgraded from 3.5.0 to 3.8.0 via rpm.

image

systemctl status: Main PID: 2972253 (node) CGroup: /system.slice/system-code\x2dserver.slice/code-server@id.service ├─2972253 /usr/lib/code-server/lib/node /usr/lib/code-server --log debug --disable-telemetry --bind-addr 0.0.0.0:8080 --cert /home/id/ssl/nasa… └─2972277 /usr/lib/code-server/lib/node /usr/lib/code-server --log debug --disable-telemetry --bind-addr 0.0.0.0:8080 --cert /home/id/ssl/nasa…

Jan 13 11:58:46 id-server code-server[2972253]: at Object.errorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:31:313) Jan 13 11:58:46 id-server code-server[2972253]: at e.triggerErrorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:14:306) Jan 13 11:58:46 id-server code-server[2972253]: at /usr/lib/code-server/lib/vscode/out/vs/loader.js:14:10 Jan 13 11:58:46 id-server code-server[2972253]: at ReadFileContext.callback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:18:342) Jan 13 11:58:46 id-server code-server[2972253]: at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:261:13) { Jan 13 11:58:46 id-server code-server[2972253]: phase: ‘loading’, Jan 13 11:58:46 id-server code-server[2972253]: moduleId: ‘proxy-agent’, Jan 13 11:58:46 id-server code-server[2972253]: neededBy: [ ‘vs/base/node/proxy_agent’ ] Jan 13 11:58:46 id-server code-server[2972253]: } Jan 13 11:58:46 id-server code-server[2972253]: [2021-01-13T16:58:46.995Z] error VS Code exited unexpectedly with code 0

From code-server-stderr.log: TypeError: Class extends value undefined is not a constructor or null at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/socks-proxy-agent/dist/agent.js:114:44) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/socks-proxy-agent/dist/index.js:5:33) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/pac-proxy-agent/dist/agent.js:25:29) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/pac-proxy-agent/dist/index.js:7:33) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/proxy-agent/index.js:16:21) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at t.load (/usr/lib/code-server/lib/vscode/out/vs/loader.js:17:960) at e.load (/usr/lib/code-server/lib/vscode/out/vs/loader.js:13:941) at o (/usr/lib/code-server/lib/vscode/out/vs/loader.js:31:189) at Object.errorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:31:313) at e.triggerErrorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:14:306) at /usr/lib/code-server/lib/vscode/out/vs/loader.js:14:10 at ReadFileContext.callback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:18:342) at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:261:13) { phase: ‘loading’, moduleId: ‘proxy-agent’, neededBy: [ ‘vs/base/node/proxy_agent’ ] }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tomsherrodcommented, Apr 3, 2021

Finding the version of code-server to be at 3.9.2 now, I created a new ubuntu vm and installed 3.9.2. I thought the upgrade jump would be a long shot, so no worries. Lesson: keep a bit more current. Thank you for the support and software. I will use the report template for any further issues.

1reaction
nhooyrcommented, Jan 21, 2021

@nhooyr Sorry for posting the wrong issue. I actually searched 500 error for codeserver for the specific version that I had, and this was the search result at top. hence I posted here.

All good, just wanted to clarify! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade to 3.8.0 results in 500 VS Code failed to load #2577
Upgrade to 3.8.0 results in 500 VS Code failed to load #2577 ... UPDATE: I installed code-server using npm and it worked just...
Read more >
Troubleshoot Terminal launch failures - Visual Studio Code
This can happen when you have legacy console mode enabled in conhost's properties. To change this, open cmd.exe from the start menu, right-click...
Read more >
Changelog — Python 3.11.1 documentation
gh-93252: Fix an issue that caused internal frames to outlive failed Python function calls, possibly resulting in memory leaks or hard ...
Read more >
Xray Release Notes - JFrog Documentation
Overview. This page presents release notes for JFrog Xray describing the main fixes and enhancements made to each version as it is released....
Read more >
Changelog — StackStorm 3.8.0 documentation
Update pyyaml dependency to the latest version. This latest version fixes an issue which could result in a code execution vulnerability if code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found