-
Notifications
You must be signed in to change notification settings - Fork 45
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
Unable to view .ipynb files in VSCode in Insecured cluster #348
Comments
This does not seem to be related to disconnected environments as mentioned in #349, but to a self-signed certificate error, which is already known in the base code: coder/code-server#5671 |
There are some similar known issue on code-server side. |
Based on the suggestions from the above comments, I have tried a few of the suggestions.
To use this a notebook , use this image:
|
Following Harshad's first attempt and changing the html protocol on the nginx config from http to https we were able to connect on vscode, however the webview error still persists. Adding here some logs to help with the investigating:
Probably it worth's a shot to check the missing directories for the Another attempt was to pass the certs on the nginxconf.sed by adding :
and changing the liveness & readiness probe schemas to HTTPS. But doesn't work, the pod is unable to start |
The issue appears to be browser-related. Specifically, it does not function properly on Chrome but works correctly on Firefox. |
Continuing from the previous message: It's important to note that service workers can only operate over an HTTPS connection with a valid SSL certificate. Chrome the last years has become more restrictive, by rejecting invalid certificates, even after users have accepted the prompt warning them about the certificate. In contrast, other browsers like Firefox impose fewer restrictions, allowing the Jupyter extension to function smoothly in that environment. For users encountering issues with Chrome, there is a workaround available.
Furthermore, apart the browser environment this behavior varies also across different clusters due to the certificate assignments being domain-based. For instance, in a cluster where certificates are set up at the cluster level, like the OSD cluster, all subdomains within that domain should operate seamlessly. |
Thanks for all the work, everyone.
with these, we would continue find more solution as we moved forward. |
What steps did you take and what happened:
Unable to view
.ipynb
files in vscode in Insecured cluster.Steps to reproduce:
sample.ipynb
What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
Logs/Screenshots
JIRA: https://issues.redhat.com/browse/RHOAIENG-234
The text was updated successfully, but these errors were encountered: