☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Django+bokeh server no error report, but webpage shows nothing

Community Support
soysouce
soysouce

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.

(index):162 GET http://127.0.0.1:5002/dashboard/autoload.js?bokeh-autoload-element=3373&bokeh-app-path=/dashboard&bokeh-absolute-url=http://127.0.0.1:5002/dashboard net::ERR_CONNECTION_REFUSED

屏幕截图 2020-09-17 104132

⌁   Link to post
Bryan
Bryan

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)

⌁   Link to post

End of archived discussion · Replies are disabled