jupyter / help

:sparkles: Need some help or have some questions? Please visit our Discourse page.
https://discourse.jupyter.org
291 stars 97 forks source link

Blocking cross origin websocket attempt #413

Open rtb2 opened 6 years ago

rtb2 commented 6 years ago

Hi, I am trying to start jupyter notebook through google cloud platform, however I am facing the the below issue:

Blocking Cross Origin WebSocket Attempt. Origin: https://9999-dot-4293915-dot-devshell.appspot.com, Host: 127.0.0.1:9999 [W 14:03:42.907 NotebookApp] 403 GET /api/kernels/4b65bf8e-493f-4534-b0b9-e415c95c0ea2/channels?session_id=6953c10e65ca41a7ae75cb648cc2f764 (127.0.0.1) 537.42ms referer =None

My jupyter config file looks like this:

c = get_config()

c.NotebookApp.ip = '*'

c.NotebookApp.allow_origin= '*'

c.NotebookApp.open_browser = False

c.NotebookApp.port = 9999

Kindly help me resolve this issue.

minrk commented 5 years ago

Are you certain that your config is being loaded? That config should allow cross-origin requests.

What do you get from pip list?