I’m trying to use django embed bokeh server.
And it perform correctly in local machine(win10).
Now I’m tring to deploy it to a CentOs7 machine.
Django server report 0 error.
Bokeh server report 0 error.
But the webpage page show nothing, and reported.
Oh, so the linux server that is running the Bokeh server is not the same machine your bowser is on? (I think that must be the case). If so then the reason it does not work is because you are passing a 127.0.0.1 localhost address to server_session. That will telll your browser to connect to a Bokeh server on the same machine as the browser (which is not where it is running, so connection failed). You need to use the actual real ip/hostname (and also configure the allowed websocket accordingly)