Skip to content
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

Cannot change kernel under jupyter #2000

Closed
bielcardona opened this issue May 25, 2017 · 9 comments
Closed

Cannot change kernel under jupyter #2000

bielcardona opened this issue May 25, 2017 · 9 comments

Comments

@bielcardona
Copy link

I have just installed cocalc locally via a docker container. After a fresh install, and launch of the docker, I created a project and a jupyter file inside it. The "change kernel" option is greyed out and I cannot switch to sagemath kernel (for instance).

screen shot 2017-05-25 at 10 51 56

@williamstein
Copy link
Contributor

I can't reproduce this wth my Docker instance. Does it work if you wait a little longer, or restart your project?

@williamstein williamstein self-assigned this May 25, 2017
@williamstein
Copy link
Contributor

This is what it should look like

screen shot 2017-05-25 at 7 34 27 am

@bielcardona
Copy link
Author

bielcardona commented May 25, 2017

I installed it on 3 different machines. The first one I installed (saturday, under os x sierra) works as expected. The other 2 ones I installed (today, one on Sierra and one on El Capitan) do not let me change the kernel. Maybe some problem with versions? I tried waiting longer and stoping and starting the container... makes no difference.

@williamstein
Copy link
Contributor

I can't replicate this, so there's no possibility for me to fix this unfortunately.

@williamstein
Copy link
Contributor

Re-opening since I was just able to replicate this. I suspect it must be some sort of race condition

@williamstein
Copy link
Contributor

The root problem -- you can't set a secure cookie over http. So first, all of these problems are solved if you use https://localhost instead of http.

@williamstein
Copy link
Contributor

I've significantly updated the README instructions to reflect that one must use a secure connection.

@bielcardona
Copy link
Author

Thanks!
Maybe it could be configured so that no unsecure connection is allowed?

@williamstein
Copy link
Contributor

Maybe it could be configured so that no unsecure connection is allowed?

I updated the README instructions at https://github.com/sagemathinc/cocalc/blob/master/src/dev/docker/README.md so that running them would not allow an insecure connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants