-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Bug]: Missing files after extension upgrades? Can no longer connect to workspace. MaxListenersExceededWarning #6038
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
Comments
I noticed that the files are not in the locations they should be, this is the result of locate:
|
The missing files might be something we need to look into (looks
like it is trying to load the browser versions for some reason
which are not packaged) but I think the cause of the connection
issue is the 1006 on the web sockets. Usually this means web
sockets are not being handled properly. Can you tell us more
about your setup? Are you behind a reverse proxy? If so what
does the configuration look like?
You mentioned an upgrade, was it working prior to 4.10.0?
|
Same issue here. Running |
code-server 4.9--->4.18 have same issue , code server behind nginx see most log it has Cross-Origin Issues! you can give it a try |
时间问题,所以我懒得翻译,我快速用中文分享一下我是如何解决的: 首先描述一下问题,我使用nginx 进行反向代理。 页面成功了,但是打开页面之后提示如下:
然后我查看了 docker logs
经过不断地搜索,我终于找到了解决问题的答案 如果你也是 nginx 的话 参考 #6166 因为配置太多了,所以下面我吧我的所有配置展示给大家参考:
是的,我也很纳闷,一个找不到文件的文件的报错,居然是因为配置文件有问题。 |
Closing as stale but feel free to comment if you come back to this. |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.10Steps to Reproduce
Expected
Code server should work
Actual
404 on these files:
/static/extensions/git-base/dist/browser/extension.js
/static/extensions/emmet/dist/browser/emmetBrowserMain.js
/static/extensions/merge-conflict/dist/browser/mergeConflictMain.js
Logs
(node:189) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use
node --trace-warnings ...
to show where the warning was created)(node:189) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(node:189) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGPIPE listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(node:189) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(node:189) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 rejectionHandled listeners added to [process]. Use emitter.setMaxListeners() to increase limit
File not found: /usr/lib/code-server/lib/vscode/extensions/emmet/dist/browser/emmetBrowserMain.js
File not found: /usr/lib/code-server/lib/vscode/extensions/git-base/dist/browser/extension.js
File not found: /usr/lib/code-server/lib/vscode/extensions/merge-conflict/dist/browser/mergeConflictMain.js
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: