Hello,
I have a problem with my bokeh app. The connection over the local network is fine.
But over the internet there is a problem with some GET Method. Error 403
GET /bokeh/app_multi9/ws?bokeh-protocol-version=1.0&bokeh-session-id=uxgh4ilVkRlMd5gQy8GMsX6ZLODgO1UD1W7Jgj3lbe8C HTTP/1.1
Host: …hl7mthpo.myfritz.net
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Sec-WebSocket-Version: 13
Origin: …hl7mthpo.myfritz.net
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: 1q8hoYXribMZQWRjKoWKTA==
Connection: keep-alive, Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Log from the bokeh server:
2016-08-30 15:39:00,852 200 GET /bokeh/app_multi9 (127.0.0.1) 423.15ms
2016-08-30 15:39:01,089 304 GET /bokeh/static/css/bokeh.min.css?v=aebc31f7f85efd69748ac7065c815c7f (127.0.0.1) 51.27ms
2016-08-30 15:39:01,113 304 GET /bokeh/static/js/bokeh-compiler.min.js?v=dbbd0d5aebe5ef1e92d86b8e1120e516 (127.0.0.1) 9.41ms
2016-08-30 15:39:01,128 304 GET /bokeh/static/js/bokeh-widgets.min.js?v=6d62f070a9287feeed92a3f269aef02f (127.0.0.1) 7.52ms
2016-08-30 15:39:01,143 304 GET /bokeh/static/css/bokeh-widgets.min.css?v=522d6173498a389c7f74f0e675195da0 (127.0.0.1) 7.47ms
2016-08-30 15:39:01,157 304 GET /bokeh/static/js/bokeh.min.js?v=60bb5dd2f5e2b46c72b11ddd9b9c362a (127.0.0.1) 7.34ms
2016-08-30 15:39:04,399 [pid 16881] 0 clients connected
2016-08-30 15:39:04,400 [pid 16881] /app_multi9 has 1 sessions with 1 unused
2016-08-30 15:39:18,410 Discarding session ‘uxgh4ilVkRlMd5gQy8GMsX6ZLODgO1UD1W7Jgj3lbe8C’ last in use 17577.238550066948 milliseconds ago
My Server works with nginx. My cherrypy website over nginx is reachable too.
location /bokeh {
proxy_pass http://127.0.0.1:5006;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host:$server_port;
proxy_buffering off;
}
Any suggestion?


