{"action":"reopened","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/3961","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/3961/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/3961/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/3961/events","html_url":"https://github.com/bokeh/bokeh/issues/3961","id":137295524,"number":3961,"title":"Server examples not working on the RPI 2","user":{"login":"multimedial","id":1897910,"avatar_url":"https://avatars.githubusercontent.com/u/1897910?v=3","gravatar_id":"","url":"https://api.github.com/users/multimedial","html_url":"https://github.com/multimedial","followers_url":"https://api.github.com/users/multimedial/followers","following_url":"https://api.github.com/users/multimedial/following{/other_user}","gists_url":"https://api.github.com/users/multimedial/gists{/gist_id}","starred_url":"https://api.github.com/users/multimedial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multimedial/subscriptions","organizations_url":"https://api.github.com/users/multimedial/orgs","repos_url":"https://api.github.com/users/multimedial/repos","events_url":"https://api.github.com/users/multimedial/events{/privacy}","received_events_url":"https://api.github.com/users/multimedial/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-29T16:04:47Z","updated_at":"2016-02-29T18:29:41Z","closed_at":null,"body":"The server examples for bokeh are not running on the raspberry pi, no matter what. It seems as if the requests for updating the data get timed out.\r\n\r\n\r\n\r\n`pi@raspberrypi:~ bokeh serve bokeh_single_plot.py --host 192.168.178.16:80\r\n2016-02-29 16:00:25,431 Starting Bokeh server version 0.12.0dev1\r\n2016-02-29 16:00:25,434 Allowed Host headers: ['192.168.178.16:80']\r\n2016-02-29 16:00:25,435 These host origins can connect to the websocket: ['localhost:5006', '192.168.178.16:80']\r\n2016-02-29 16:00:25,436 Patterns are: [('/bokeh_single_plot/?', <class 'bokeh.server.views.doc_handler.DocHandler'>, {'application_context': <bokeh.server.application_context.ApplicationContext object at 0x72821530>, 'bokeh_websocket_path': '/bokeh_single_plot/ws'}), ('/bokeh_single_plot/ws', <class 'bokeh.server.views.ws.WSHandler'>, {'application_context': <bokeh.server.application_context.ApplicationContext object at 0x72821530>, 'bokeh_websocket_path': '/bokeh_single_plot/ws'}), ('/bokeh_single_plot/autoload.js', <class 'bokeh.server.views.autoload_js_handler.AutoloadJsHandler'>, {'application_context': <bokeh.server.application_context.ApplicationContext object at 0x72821530>, 'bokeh_websocket_path': '/bokeh_single_plot/ws'}), ('/static/(.*)', <class 'bokeh.server.views.static_handler.StaticHandler'>)]\r\n2016-02-29 16:00:25,457 Starting Bokeh server on port 5006 with applications at paths ['/bokeh_single_plot']\r\n2016-02-29 16:00:40,473 [pid 5076] 0 clients connected\r\n2016-02-29 16:00:40,475 [pid 5076]   /bokeh_single_plot has 0 sessions with 0 unused\r\n2016-02-29 16:00:55,471 [pid 5076] 0 clients connected\r\n2016-02-29 16:00:55,473 [pid 5076]   /bokeh_single_plot has 0 sessions with 0 unused\r\n2016-02-29 16:01:10,280 404 GET /Kemper (127.0.0.1) 6.83ms\r\n2016-02-29 16:01:10,458 [pid 5076] 0 clients connected\r\n2016-02-29 16:01:10,459 [pid 5076]   /bokeh_single_plot has 0 sessions with 0 unused\r\n2016-02-29 16:01:19,159 Running state NOT_YET_CONNECTED\r\n2016-02-29 16:01:39,185 Failed to connect to server: HTTPError(599, 'Timeout', None)\r\n2016-02-29 16:01:39,188 transitioning to state DISCONNECTED\r\n2016-02-29 16:01:39,190 Stopping client loop in state DISCONNECTED due to True from connected_or_closed\r\n2016-02-29 16:01:39,196 Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x72821050>: Cannot push session document because we failed to connect to the server (to start the server, try the 'bokeh serve' command)\r\nFile \"session.py\", line 269, in push:\r\nraise IOError(\"Cannot push session document because we failed to connect to the server (to start the server, try the 'bokeh serve' command)\") Traceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/bokeh/application/handlers/code_runner.py\", line 71, in run\r\n    exec(self._code, module.__dict__)\r\n  File \"/home/pi/bokeh_single_plot.py\", line 41, in <module>\r\n    session = push_session(curdoc())\r\n  File \"/usr/local/lib/python2.7/dist-packages/bokeh/client/session.py\", line 63, in push_session\r\n    session.push(document)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bokeh/client/session.py\", line 269, in push\r\n    raise IOError(\"Cannot push session document because we failed to connect to the server (to start the server, try the 'bokeh serve' command)\")\r\nIOError: Cannot push session document because we failed to connect to the server (to start the server, try the 'bokeh serve' command)\r\n\r\n2016-02-29 16:01:39,321 200 GET /bokeh_single_plot (127.0.0.1) 20503.33ms\r\n2016-02-29 16:01:39,328 [pid 5076] 0 clients connected\r\n2016-02-29 16:01:39,330 [pid 5076]   /bokeh_single_plot has 1 sessions with 1 unused\r\n2016-02-29 16:01:39,337 404 GET /ws?bokeh-protocol-version=1.0&bokeh-session-id=f6yb1MzJQCiqbsfDhJ5TpR1UnSR3bh58hZKWckTQMXJS (::1) 2.88ms\r\n2016-02-29 16:01:39,570 WebSocket connection opened\r\n2016-02-29 16:01:39,572 Receiver created for Protocol(u'1.0')\r\n2016-02-29 16:01:39,574 ServerHandler created for Protocol(u'1.0')\r\n2016-02-29 16:01:39,576 ServerConnection created\r\n2016-02-29 16:01:39,599 Sending pull-doc-reply from session 'vOVYbRtBaqd5mv3oHLUAtNy0DzTZOCyAFVlBU518BHRN'\r\n2016-02-29 16:01:40,458 [pid 5076] 1 clients connected\r\n2016-02-29 16:01:40,460 [pid 5076]   /bokeh_single_plot has 1 sessions with 0 unused\r\n2016-02-29 16:01:55,463 [pid 5076] 1 clients connected`"}}