Couldn't authenticate WebSocket connection

Hi, seems like the problem is:

hub: |
      c.JupyterHub.tornado_settings = { "headers": { "Content-Security-Policy": "frame-ancestors * 'self' https://mysite.com https://yan.co.il", "Access-Control-Allow-Origin": "https://mysite.com"}, "cookie_options": {"SameSite": "None", "Secure": True}}

I had new installation and didn’t configure HTTPS, without it secure:true failed the cookie to be set properly and this messed up the WS requests.

@manics - THANK YOU SO MUCH FOR YOUR HELP!!!

1 Like