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 192.168.1.13:5006 (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='http://192.168.1.13:5006/', load_from_config=false)
session.register('kju', 'pass')
session.login('kju', 'pass')

output_server("line")

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

But Python always says, server not running:

C:\portable\miniconda\envs\py34\python.exe D:/py-dev/bokeh-tests/bokeh-tryouts.py
C:\portable\miniconda\envs\py34\lib\site-packages\bokeh\session.py:318: 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\connectionpool.py”, line 544, in urlopen
body=body, headers=headers)

``

I of course tried different variations with

output_server('line', session=session)
or added
cursession().publish()

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

Thanks kju.