Comments (8)
I could make it connect to PC HUB with VSCode after enabling the following option in settings:
It was refusing the retrieve the kernels list due to certificate expiration...
Hope it helps!
from planetary-computer-hub.
@cordmaur I had that box checked by the time I reported the issue.
But it seems to be working since my last VSCode update, in both Linux and Windows.
Apparently setting proxy support for extensions
setting to off
can help, according to microsoft/vscode-jupyter#8811
from planetary-computer-hub.
Thanks for opening this issue. Can you confirm that you start up a notebook server (maybe using the JupyterHub UI) before trying to connect from VS Code?
from planetary-computer-hub.
Hi Tom. Yeah, the notebook is running on the browser.
I can reproduce the issue in Linux and Windows, and with another Planetary account.
I was able to run a Python kernel in vscode from https://app.sandbox.dea.ga.gov.au
So I think it's unlikely the issue is local.
from planetary-computer-hub.
Strange. I just checked again and things worked for me. Just to double check, I was using notebooks from https://github.com/microsoft/PlanetaryComputerExamples. Can you maybe clone that repo and see if it works for you?
A couple other things I verifed:
- The site's cert isn't expired
- I have the exact same version of the jupyter extension as you
from planetary-computer-hub.
I cloned the repo, and set the remote server (shown in the bottom right corner). In this case the button to run the notebook cell is greyed out. Please let me know if you have any ideas on how to narrow this down.
from planetary-computer-hub.
Hmm, I'm pretty confused right now. I got things working with VSCode Insiders (https://code.visualstudio.com/insiders/) but only on our staging JupyterHub. I couldn't get things working with our production hub using VSCode or VSCode Insiders (and I couldn't get our staging hub to work with VSCode).
Unfortunately I don't really use the Jupyter Notebook extension, so I'm not sure how to get additional debugging output :/
from planetary-computer-hub.
Ah, thanks for finding that setting. I apparently have it checked, which might explain why things were working for me.
I'm unfortunately not sure why VSCode thinks we have an invalid certificate. The JuyterHub deployment has a certificate (and I thought handled the SSL termination). Perhaps we need to do something extra / different for the jupyter servers...
from planetary-computer-hub.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from planetary-computer-hub.