-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Working with large files. websocket err 1009 message too big #7139
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
Launched code-server via jupyter and its port-proxy. The following errors were displayed in the server logs, with identical logs in the browser console [08:36:30] File action: readFileStream /home/sinarian/work/1009.ipynb
[08:36:30] [File Watcher (node.js)] Request to start watching: /home/sinarian/work/1009.ipynb (excludes: /home/sinarian/.local/share/code-server/extensions/**, includes: <all>, filter: <none>, correlationId: <none>)
[08:36:30] [File Watcher (node.js)] Started watching: '/home/sinarian/work/1009.ipynb'
[08:36:37] File action: readFileStream /home/sinarian/work/1009.ipynb
[08:36:38] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:38] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:38] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:40] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:40] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:40] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:44] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:44] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:44] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:47] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:47] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:47] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:49] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:50] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:50] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:50] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:50] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:50] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:50] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:51] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:51] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:51] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:51] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:51] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:51] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:52] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:52] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:52] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:52] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:52] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:52] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:53] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:54] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams language: en
[08:36:54] [127.0.0.1][91f6ca5f][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://172.29.60.255:8888/proxy/8080/proxy/{{port}}/"}
[08:36:54] [127.0.0.1][91f6ca5f][ExtensionHostConnection] The client has reconnected.
[08:36:54] [127.0.0.1][15d2fadd][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
^C[2024-12-25T08:36:55.487Z] debug parent:1207 disposing {"code":"SIGINT"}
[2024-12-25T08:36:55.486Z] debug child:1225 disposing {"code":"SIGINT"} |
Its tornado problem. |
@MiXaiLL76 I simply overwrite the default values when building the image. ℹ Python is installed at |
Hi, I did the same thing, but a little easier .jupyter/jupyter_lab_config.py from tornado import websocket
websocket_max_message_size = 1048 * 1024 * 1024
setattr(websocket, "_default_max_message_size", websocket_max_message_size)
c.NotebookApp.tornado_settings = {"websocket_max_message_size": websocket_max_message_size} |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.96.2 08cbdfb with Code 1.96.2Steps to Reproduce
Expected
Jupyter-notebook will open with the code and visualization.
Actual
#5278

Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response
The text was updated successfully, but these errors were encountered: