{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/jupyterhub/issues/206","labels_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/206/comments","events_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/206/events","html_url":"https://github.com/jupyter/jupyterhub/issues/206","id":63676902,"number":206,"title":"Server slow to start then 500 server error (sudo spawner)","user":{"login":"YannBrrd","id":2820034,"avatar_url":"https://avatars.githubusercontent.com/u/2820034?v=3","gravatar_id":"","url":"https://api.github.com/users/YannBrrd","html_url":"https://github.com/YannBrrd","followers_url":"https://api.github.com/users/YannBrrd/followers","following_url":"https://api.github.com/users/YannBrrd/following{/other_user}","gists_url":"https://api.github.com/users/YannBrrd/gists{/gist_id}","starred_url":"https://api.github.com/users/YannBrrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YannBrrd/subscriptions","organizations_url":"https://api.github.com/users/YannBrrd/orgs","repos_url":"https://api.github.com/users/YannBrrd/repos","events_url":"https://api.github.com/users/YannBrrd/events{/privacy}","received_events_url":"https://api.github.com/users/YannBrrd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-23T09:34:13Z","updated_at":"2015-03-23T18:13:39Z","closed_at":null,"body":"Hi,\r\n\r\nI'm going on with sudospawner and jupyterhub, but still facing issues... :-(\r\n\r\n\r\n```\r\n[W 2015-03-23 10:28:33.180 JupyterHub base:218] User joe server is slow to start\r\n[W 2015-03-23 10:28:53.523 JupyterHub orm:378] joe's server never showed up at http://localhost:43084/user/joe after 30 seconds. Giving up\r\n[I 150323 10:28:54 mediator:62] Spawning /opt/anaconda3/bin/python3 -m jupyterhub.singleuser --user=joe --port=43236 --cookie-name=jupyter-hub-token-joe --base-url=/user/joe --hub-prefix=/hub/ --hub-api-url=http://localhost:8081/hub/api --ip=localhost '--notebook-dir=~/notebooks/'\r\n[W 2015-03-23 10:29:03.859 JupyterHub base:218] User joe server is slow to start\r\n[W 2015-03-23 10:29:24.185 JupyterHub orm:378] joe's server never showed up at http://localhost:43236/user/joe after 30 seconds. Giving up\r\n[I 150323 10:29:24 mediator:62] Spawning /opt/anaconda3/bin/python3 -m jupyterhub.singleuser --user=joe --port=36984 --cookie-name=jupyter-hub-token-joe --base-url=/user/joe --hub-prefix=/hub/ --hub-api-url=http://localhost:8081/hub/api --ip=localhost '--notebook-dir=~/notebooks/'\r\n[E 2015-03-23 10:29:24.786 JupyterHub web:1407] Uncaught exception GET /hub/user/joe/ (127.0.0.1)\r\n    HTTPServerRequest(protocol='http', host='localhost:8081', method='GET', uri='/hub/user/joe/', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'If-None-Match': '\"fad16be26c68ce12713f9bfb3b1fd71c7c5410ed\"', 'Accept-Encoding': 'gzip, deflate', 'Accept-Language': 'en-US,en;q=0.5', 'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Cache-Control': 'max-age=0', 'Host': 'localhost:8081', 'Connection': 'keep-alive', 'Cookie': 'jupyter-hub-token=\"2|1:0|10:1427102774|17:jupyter-hub-token|44:YWZhMTBhMzk4OGQ0NGQ4Mzg4NDI1YjU4MjAwZWM0NWM=|67dc74b930f36339dda60f420d28fdf2087121c98afffe77deb9de97716293c7\"', 'Referer': 'http://localhost:8081/hub/home'})\r\n    Traceback (most recent call last):\r\n      File \"/opt/anaconda3/lib/python3.4/site-packages/tornado/web.py\", line 1334, in _execute\r\n        result = yield result\r\n      File \"/opt/anaconda3/lib/python3.4/site-packages/jupyterhub/handlers/base.py\", line 371, in get\r\n        yield self.spawn_single_user(current_user)\r\n      File \"/opt/anaconda3/lib/python3.4/site-packages/jupyterhub/handlers/base.py\", line 214, in spawn_single_user\r\n        yield gen.with_timeout(timedelta(seconds=self.slow_spawn_timeout), f)\r\n      File \"/opt/anaconda3/lib/python3.4/site-packages/jupyterhub/orm.py\", line 383, in spawn\r\n        user=self.name, url=self.server.url, error=e,\r\n    AttributeError: 'NoneType' object has no attribute 'url'\r\n    \r\n[E 2015-03-23 10:29:24.804 JupyterHub web:1811] 500 GET /hub/user/joe/ (127.0.0.1) 361.40ms\r\n´´´\r\n\r\nAny tip/help/idea ? \r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/jupyterhub/issues/comments/85129361","html_url":"https://github.com/jupyter/jupyterhub/issues/206#issuecomment-85129361","issue_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/206","id":85129361,"user":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T18:13:39Z","updated_at":"2015-03-23T18:13:39Z","body":"Can you verify that the process is never started? That would be very surprising. Maybe it's starting and dying immediately?"}}