bokeh-server (remote) does not work

Hello everyone,

since two days I try to produce a working script with bokeh-server running on a remote Linux system, but python always says the bokeh-server is not running, but it definitley runs!

Here is what I did:

  1. Starting the server on (pic 1)
  2. Check if server is working --> Yes, because I can accss it in my local browser (pic 2)
  3. Running this Python Example Code:
from bokeh.plotting import figure, output_server, show, Session

session = Session(root_url='', load_from_config=false)
session.register('kju', 'pass')
session.login('kju', 'pass')


p = figure(plot_width=400, plot_height=400)
p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

But Python always says, server not running:

C:\portable\miniconda\envs\py34\python.exe D:/py-dev/bokeh-tests/
C:\portable\miniconda\envs\py34\lib\site-packages\bokeh\ UserWarning: You need to start the bokeh-server to see this example.
warnings.warn(“You need to start the bokeh-server to see this example.”)
Traceback (most recent call last):
File “C:\portable\miniconda\envs\py34\lib\site-packages\requests\packages\urllib3\”, line 544, in urlopen
body=body, headers=headers)


I of course tried different variations with

output_server('line', session=session)
or added

Can someone please provide a short complete working example-script for multi user server?
That would be so helpful.

Thanks kju.