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.

new install 500 error

See original GitHub issue

500 VS Code failed to load. Above error is shown on fresh install on ubuntu18.04 .

warn discarding socket connection: vscode is not running

warn discarding socket connection: vscode is not running

(node:24) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [ChildProcess]. Use emitter.setMaxListeners() to increase limit

(Use node --trace-warnings ... to show where the warning was created)

(node:24) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [ChildProcess]. Use emitter.setMaxListeners() to increase limit

events.js:292

throw er; // Unhandled ‘error’ event

^

Error: This socket has been ended by the other party

at Socket.writeAfterFIN [as write] (net.js:453:14)

at h.write (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:169:115)

at g.write (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:170:363)

at g._writeNow (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:160:350)

at Immediate.<anonymous> (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:160:288)

at processImmediate (internal/timers.js:456:21)

Emitted ‘error’ event on Socket instance at:

at emitErrorNT (net.js:1340:8)

at processTicksAndRejections (internal/process/task_queues.js:84:21) {

code: ‘EPIPE’

}

error VS Code exited unexpectedly with code 1

warn discarding socket connection: vscode is not running

warn discarding socket connection: vscode is not running

warn discarding socket connection: vscode is not running

warn discarding socket connection: vscode is not running

warn discarding socket connection: vscode is not running

warn discarding socket connection: vscode is not running

  • Web Browser: chrome

  • Local OS: ubuntu18.04

  • Remote OS: macos

  • code-server --version: 3.4.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
code-ashercommented, Nov 16, 2021

We have a bug where the stdout is not being logged so I think gathering the install logs and stdout separately will be helpful. For example:

yarn global add code-server --verbose > install.log 2>&1
code-server > run.log 2>&1

Then browse to the code-server page to trigger the 500 and submit the install.log and run.log files.

0reactions
cheungxicommented, Nov 16, 2021

@stones-he feel free to open a new bug report!

how to check bug report, by ~/.local/share/code-server/coder-logs ? but code-server-stdout.log and code-server-stderr.log is null

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the 500 Internal Server Error on Your WordPress Site
The WordPress 500 internal error is an application-side issue and mostly occurs on the server level. Mostly it is caused due to plugin/theme...
Read more >
How to Fix a 500 Internal Server Error on Your WordPress Site
The 500 Internal Server Error status code occurs when the server encounters an error that prevents it from fulfilling the request.
Read more >
How to Fix the 500 Internal Server Error in ... - ThemeIsle
1. Turn on debugging - You can turn debugging on by editing your site’s wp-config.php file: once you’ve accessed this file, search for...
Read more >
How to Fix the 500 Internal Server Error on Your WordPress ...
How to Fix a 500 Internal Server Error · Reload the Page · Try the Page on a Different Browser · Clear the...
Read more >
How to Fix the 500 Internal Server Error in WordPress
Simply go to the WordPress admin area and click on 'Plugins'. Now you need to reactivate one plugin at a time until you...
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