sagemathinc/cocalc

Cannot change kernel under jupyter

bielcardona opened this issue · 9 comments

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

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

This is what it should look like

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

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.

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

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

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.

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

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

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.