{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/docker-stacks/issues/199","repository_url":"https://api.github.com/repos/jupyter/docker-stacks","labels_url":"https://api.github.com/repos/jupyter/docker-stacks/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/docker-stacks/issues/199/comments","events_url":"https://api.github.com/repos/jupyter/docker-stacks/issues/199/events","html_url":"https://github.com/jupyter/docker-stacks/issues/199","id":153283506,"number":199,"title":"A connection to the notebook server could not be established. The notebook will continue trying to reconnect, but until it does, you will NOT be able to run code. Check your network connection or notebook server configuration.","user":{"login":"krautt","id":16465842,"avatar_url":"https://avatars.githubusercontent.com/u/16465842?v=3","gravatar_id":"","url":"https://api.github.com/users/krautt","html_url":"https://github.com/krautt","followers_url":"https://api.github.com/users/krautt/followers","following_url":"https://api.github.com/users/krautt/following{/other_user}","gists_url":"https://api.github.com/users/krautt/gists{/gist_id}","starred_url":"https://api.github.com/users/krautt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krautt/subscriptions","organizations_url":"https://api.github.com/users/krautt/orgs","repos_url":"https://api.github.com/users/krautt/repos","events_url":"https://api.github.com/users/krautt/events{/privacy}","received_events_url":"https://api.github.com/users/krautt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-05T17:40:17Z","updated_at":"2016-05-05T21:13:51Z","closed_at":null,"body":"Hi all, I'm receiving the following error:\r\n\r\n \"A connection to the notebook server could not be established. The notebook will continue trying to reconnect, but until it does, you will NOT be able to run code. Check your network connection or notebook server configuration\" \r\nwhen i start docker with -e USE_HTTPS=yes:\r\n\r\nsudo docker run -d -p 8888:8888 -v /home/myaccount/work:/home/jovyan/work -e PASSWORD='password' -e USE_HTTPS=yes  jupyter/datascience-notebook start-notebook.sh\r\n\r\nBUT... if i start it without -e USE_HTTPS=yes, then it works just fine: \r\n\r\nsudo docker run -d -p 8888:8888 -v /home/myaccount/work:/home/jovyan/work -e PASSWORD='password'   jupyter/datascience-notebook start-notebook.sh\r\n\r\n I work for a security team so i sort of have to use HTTPS to encrypt that password else i'll be tormented:)"},"comment":{"url":"https://api.github.com/repos/jupyter/docker-stacks/issues/comments/217281882","html_url":"https://github.com/jupyter/docker-stacks/issues/199#issuecomment-217281882","issue_url":"https://api.github.com/repos/jupyter/docker-stacks/issues/199","id":217281882,"user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T21:13:51Z","updated_at":"2016-05-05T21:13:51Z","body":"Interesting. I've seen this happen with Safari. It refuses to connect a websocket to a backend when you're using self-signed certs. I've never seen it with Chrome or FF, but maybe that's changed recently ...\r\n\r\nLooks like you pulled whatever the latest was of the image. Can you paste the Docker image ID for me(though we haven't touched anything related to the SSL in ages)."}}