-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Bug]: Jupyter notebook blank page while accessing via nginx using a domain #4976
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
can you post this as text?
You checked this box but it says "Not Secure" in your last screenshot 🤔 Can you please post the browser logs? |
|
No worries! Can you please post the browser logs? |
@Abdullah1224 it looks like it might have been cut off. Is there anyway you can copy all of it as text and post it? |
ERR Error while creating IndexedDB DOMException: The requested version (2) is less than the existing version (3).
INFO Using in-memory user data provider
ERR [Service Worker] registration DOMException: Failed to register a ServiceWorker for scope ('https://node-7/vscode/') with script ('https://node-7/vscode/service-worker.js'): An SSL certificate error occurred when fetching the script.
Refused to display 'https://node-7/' in a frame because it set 'X-Frame-Options' to 'deny'.
crbug/1173575, non-JS module files deprecated.
(anonymous) @ (index):6774
Extension Host] Git installation not found.
I @ console.ts:137
Refused to display 'https://node-7/' in a frame because it set 'X-Frame-Options' to 'deny'.
crbug/1173575, non-JS module files deprecated.
(anonymous) @ (index):6774
ERR [Extension Host] (node:22112) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
console.ts:137 [Extension Host] (node:22112) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
I @ console.ts:137
Refused to display 'https://node-7/' in a frame because it set 'X-Frame-Options' to 'deny'.
crbug/1173575, non-JS module files deprecated.
(anonymous) @ (index):6774
The Web Worker Extension Host did not start in 60s, that might be a problem.
(anonymous) @ webWorkerExtensionHost.ts:184 |
Guessing this is the issue. That does not look like a valid URL to me? More info on X-Frame-Options. Any ideas on how we can help them debug this @code-asher ? |
@Abdullah1224 Try setting |
Hi. I can confirm that version 4.2.0 can correctly create a Jupyter notebook. |
@aghasemi can't tell you how much we appreciate you following up 🙌🏼 That saves us a ton of time. Cheers! |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.1.0Steps to Reproduce
Expected
when I deploy code-server on localhost or access code-server behind a proxy everything should work.
Actual
I am trying to run code-server to develop some jupyter notebooks, when I deploy code-server on localhost everything works as expected, however when I access code-server behind a proxy I get blank screen when I open jupyter notebook files.
Logs
No response
Screenshot/Video
this is the proxy setting:

this is when deploying on localhost:

this is when accessing it through nginx:

Does this issue happen in VS Code?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: