Example Source Code As Standalone Error

We are trying to run through some of the panel-examples as standalone apps, and we are getting an error thrown when we access the page from chrome, then it shuts down with the below error.

Since we want to access from chrome and run on AWS, we have this in a container. Any advice be appreciated.

We are running panel 0.9.3 and bokeh 2.0.0

These examples all run fine from jupyterlab.

[‎3/‎31/‎2020 2:14 PM] Chen, Brian W:

No Title

root@d6acc1484e18:~# panel serve /panel-test/dynamic_ui.ipynb --port=11114 --allow-websocket-origin=panel-test.dev.somedata.com:11114

2020-03-31 18:14:58,223 Starting Bokeh server version 2.0.0 (running on Tornado 5.0.2)

2020-03-31 18:14:58,224 User authentication hooks NOT provided (default user enabled)

2020-03-31 18:14:58,227 Bokeh app running at: http://localhost:11114/dynamic_ui

2020-03-31 18:14:58,227 Starting Bokeh server with process id: 23

2020-03-31 18:15:42,487 404 GET /favicon.ico ( 0.45ms

2020-03-31 18:15:42,516 WebSocket connection opened

2020-03-31 18:15:42,516 Uncaught exception in /dynamic_ui/ws

Traceback (most recent call last):

File “/opt/conda/lib/python3.6/site-packages/tornado/websocket.py”, line 498, in _run_callback

result = callback(*args, **kwargs)

File “/opt/conda/lib/python3.6/site-packages/bokeh/server/views/ws.py”, line 121, in open

if self.selected_subprotocol != 'bokeh':

AttributeError: ‘WSHandler’ object has no attribute ‘selected_subprotocol’

2020-03-31 18:15:42,517 WebSocket connection closed: code=None, reason=None