Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Quickstart Instructions not working #276

Open
ZelphirKaltstahl opened this issue Apr 25, 2017 · 2 comments
Open

Quickstart Instructions not working #276

ZelphirKaltstahl opened this issue Apr 25, 2017 · 2 comments

Comments

@ZelphirKaltstahl
Copy link

I just tried to do the quickstart, but alas it is not working.

The server is running on 9999 and not 8000 as stated in the instructions:

BAM! Visit your Docker host on port 8000 and you have a working tmpnb setup.

When I go to http://127.0.0.1:9999 I am redirected to a temporary URL: http://127.0.0.1:9999/spawn/user/KKxt1mJPq754/tree. Looks fine, but the page does not:

image

Then I check the docker logs tmpnb:

[I 170425 19:34:09 spawnpool:148] Performing initial pool cleanup
[E 170425 19:34:09 spawnpool:485] Unable to list existing proxy entries: HTTP 599: couldn't connect to host
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container d7a73d541b64b17d9a29aea2bd072a11a1a089dcfbaae778db7fc0777165541e
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container 4a4480e955038a6b25bb627b394e4e2a3b1abd7ca5ed7647d06988b374ddde5c
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container 958438dc66a741541731b0baab77ca419da14e6dddbfe2166d8094da7287785c
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container 91ac6e601e4f5e1b8710de2ab2622a626ac24cb1e7030b6bbe851413572b4408
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container d8fa6ab22013ee252a6eff5fa49a690cdb95f3f599b69530e7fc2e11b11a877c
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container b17a99b143b133505126b3993c3ba136a411f633f8f8d44b5c121f740df2710c
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container 146b73a385e901609d6e909f0eea6c54350204f7b5a33541abb31afcce62ac2e
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container 4e1037a75f9c2d13aee60ea0bd180306488973b9a5da3967e9d3b01cab4d6902
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container 7b97d4b6a68ddf59b5d38d40128531118b2bbb7165778c447c36470dd4436e3a
[W 170425 19:34:09 dockworker:177] ['Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.']
[I 170425 19:34:09 dockworker:180] Created container f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32800].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32799].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32801].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32802].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32804].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32803].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32805].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32806].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32808].
[I 170425 19:34:12 spawnpool:320] Waiting for a container to launch at [127.0.0.1:32807].
[I 170425 19:34:12 spawnpool:352] Booting server at [user/iCBWao3cAjGs], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:358] Server [user/JlQfDy5zZtl3] at address [127.0.0.1:32799] has booted! Have at it.
[I 170425 19:34:12 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[E 170425 19:34:12 spawnpool:307] Failed to create proxy route to [user/JlQfDy5zZtl3]: HTTP 599: couldn't connect to host
[I 170425 19:34:12 spawnpool:311] Adding container [PooledContainer(id=d7a73d541b64b17d9a29aea2bd072a11a1a089dcfbaae778db7fc0777165541e, path=user/JlQfDy5zZtl3)] to the pool.
[I 170425 19:34:12 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:358] Server [user/yy86IR5mDpFW] at address [127.0.0.1:32800] has booted! Have at it.
[E 170425 19:34:12 spawnpool:307] Failed to create proxy route to [user/yy86IR5mDpFW]: HTTP 599: couldn't connect to host
[I 170425 19:34:12 spawnpool:311] Adding container [PooledContainer(id=4a4480e955038a6b25bb627b394e4e2a3b1abd7ca5ed7647d06988b374ddde5c, path=user/yy86IR5mDpFW)] to the pool.
[I 170425 19:34:12 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/iCBWao3cAjGs], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:12 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/iCBWao3cAjGs], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/iCBWao3cAjGs], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/iCBWao3cAjGs], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:358] Server [user/iCBWao3cAjGs] at address [127.0.0.1:32801] has booted! Have at it.
[E 170425 19:34:13 spawnpool:307] Failed to create proxy route to [user/iCBWao3cAjGs]: HTTP 599: couldn't connect to host
[I 170425 19:34:13 spawnpool:311] Adding container [PooledContainer(id=958438dc66a741541731b0baab77ca419da14e6dddbfe2166d8094da7287785c, path=user/iCBWao3cAjGs)] to the pool.
[I 170425 19:34:13 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:13 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/92wK8QDLM9I0], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:358] Server [user/92wK8QDLM9I0] at address [127.0.0.1:32802] has booted! Have at it.
[I 170425 19:34:14 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[E 170425 19:34:14 spawnpool:307] Failed to create proxy route to [user/92wK8QDLM9I0]: HTTP 599: couldn't connect to host
[I 170425 19:34:14 spawnpool:311] Adding container [PooledContainer(id=91ac6e601e4f5e1b8710de2ab2622a626ac24cb1e7030b6bbe851413572b4408, path=user/92wK8QDLM9I0)] to the pool.
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ChY3x1H3NBT3], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/E5np8J8IjgzC], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/ipuS1vZxiUxz], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:14 spawnpool:352] Booting server at [user/KKxt1mJPq754], getting HTTP status [599]
[I 170425 19:34:15 spawnpool:352] Booting server at [user/M4uWZzERVPqh], getting HTTP status [599]
[I 170425 19:34:15 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:15 spawnpool:358] Server [user/ipuS1vZxiUxz] at address [127.0.0.1:32806] has booted! Have at it.
[E 170425 19:34:15 spawnpool:307] Failed to create proxy route to [user/ipuS1vZxiUxz]: HTTP 599: couldn't connect to host
[I 170425 19:34:15 spawnpool:311] Adding container [PooledContainer(id=4e1037a75f9c2d13aee60ea0bd180306488973b9a5da3967e9d3b01cab4d6902, path=user/ipuS1vZxiUxz)] to the pool.
[I 170425 19:34:15 spawnpool:358] Server [user/ChY3x1H3NBT3] at address [127.0.0.1:32804] has booted! Have at it.
[E 170425 19:34:15 spawnpool:307] Failed to create proxy route to [user/ChY3x1H3NBT3]: HTTP 599: couldn't connect to host
[I 170425 19:34:15 spawnpool:311] Adding container [PooledContainer(id=b17a99b143b133505126b3993c3ba136a411f633f8f8d44b5c121f740df2710c, path=user/ChY3x1H3NBT3)] to the pool.
[I 170425 19:34:15 spawnpool:358] Server [user/E5np8J8IjgzC] at address [127.0.0.1:32803] has booted! Have at it.
[E 170425 19:34:15 spawnpool:307] Failed to create proxy route to [user/E5np8J8IjgzC]: HTTP 599: couldn't connect to host
[I 170425 19:34:15 spawnpool:311] Adding container [PooledContainer(id=d8fa6ab22013ee252a6eff5fa49a690cdb95f3f599b69530e7fc2e11b11a877c, path=user/E5np8J8IjgzC)] to the pool.
[I 170425 19:34:15 spawnpool:352] Booting server at [user/UHVUOg4vFyAw], getting HTTP status [599]
[I 170425 19:34:15 spawnpool:358] Server [user/KKxt1mJPq754] at address [127.0.0.1:32805] has booted! Have at it.
[E 170425 19:34:15 spawnpool:307] Failed to create proxy route to [user/KKxt1mJPq754]: HTTP 599: couldn't connect to host
[I 170425 19:34:15 spawnpool:311] Adding container [PooledContainer(id=146b73a385e901609d6e909f0eea6c54350204f7b5a33541abb31afcce62ac2e, path=user/KKxt1mJPq754)] to the pool.
[I 170425 19:34:15 spawnpool:358] Server [user/M4uWZzERVPqh] at address [127.0.0.1:32807] has booted! Have at it.
[E 170425 19:34:15 spawnpool:307] Failed to create proxy route to [user/M4uWZzERVPqh]: HTTP 599: couldn't connect to host
[I 170425 19:34:15 spawnpool:311] Adding container [PooledContainer(id=7b97d4b6a68ddf59b5d38d40128531118b2bbb7165778c447c36470dd4436e3a, path=user/M4uWZzERVPqh)] to the pool.
[I 170425 19:34:15 spawnpool:358] Server [user/UHVUOg4vFyAw] at address [127.0.0.1:32808] has booted! Have at it.
[E 170425 19:34:15 spawnpool:307] Failed to create proxy route to [user/UHVUOg4vFyAw]: HTTP 599: couldn't connect to host
[I 170425 19:34:15 spawnpool:311] Adding container [PooledContainer(id=f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f, path=user/UHVUOg4vFyAw)] to the pool.
[I 170425 19:34:15 spawnpool:248] Launched [10] new containers.
[I 170425 19:34:15 orchestrate:489] Culling containers unused for 3600 seconds every 600 seconds.
[I 170425 19:34:15 orchestrate:493] Listening on *:9999
[I 170425 19:34:15 orchestrate:497] Admin listening on 127.0.0.1:10000
[I 170425 19:34:19 web:1946] 304 GET / (127.0.0.1) 2.32ms
[I 170425 19:34:20 orchestrate:146] Allocated [user/UHVUOg4vFyAw] from the pool.
[I 170425 19:34:20 orchestrate:160] Redirecting [/spawn/] -> [/user/UHVUOg4vFyAw/tree].
[I 170425 19:34:20 web:1946] 302 GET /spawn/ (127.0.0.1) 0.79ms
[I 170425 19:34:20 web:1946] 200 GET /user/UHVUOg4vFyAw/tree (127.0.0.1) 1.64ms
[I 170425 19:34:20 spawnpool:124] Releasing container [PooledContainer(id=7b97d4b6a68ddf59b5d38d40128531118b2bbb7165778c447c36470dd4436e3a, path=user/M4uWZzERVPqh)].
[E 170425 19:34:20 spawnpool:377] Failed to delete route [user/M4uWZzERVPqh]: HTTP 599: couldn't connect to host
[E 170425 19:34:20 dockworker:256] Encountered a Docker error with method (5 retries remain): 409 Client Error: Conflict ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.UHVUOg4vFyAw\\" is already in use by container \\"f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f\\". You have to remove (or rename) that container to be able to reuse that name."}'")
[E 170425 19:34:20 dockworker:256] Encountered a Docker error with method (4 retries remain): 409 Client Error: Conflict ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.UHVUOg4vFyAw\\" is already in use by container \\"f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f\\". You have to remove (or rename) that container to be able to reuse that name."}'")
[E 170425 19:34:20 dockworker:256] Encountered a Docker error with method (3 retries remain): 409 Client Error: Conflict ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.UHVUOg4vFyAw\\" is already in use by container \\"f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f\\". You have to remove (or rename) that container to be able to reuse that name."}'")
[E 170425 19:34:20 dockworker:256] Encountered a Docker error with method (2 retries remain): 409 Client Error: Conflict ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.UHVUOg4vFyAw\\" is already in use by container \\"f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f\\". You have to remove (or rename) that container to be able to reuse that name."}'")
[E 170425 19:34:20 dockworker:256] Encountered a Docker error with method (1 retries remain): 409 Client Error: Conflict ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.UHVUOg4vFyAw\\" is already in use by container \\"f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f\\". You have to remove (or rename) that container to be able to reuse that name."}'")
[E 170425 19:34:20 dockworker:256] Encountered a Docker error with method (0 retries remain): 409 Client Error: Conflict ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.UHVUOg4vFyAw\\" is already in use by container \\"f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f\\". You have to remove (or rename) that container to be able to reuse that name."}'")
[E 170425 19:34:20 web:1524] Uncaught exception GET /spawn/user/UHVUOg4vFyAw/tree (127.0.0.1)
    HTTPServerRequest(protocol='http', host='127.0.0.1:9999', method='GET', uri='/spawn/user/UHVUOg4vFyAw/tree', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Connection': 'keep-alive', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Referer': 'http://127.0.0.1:9999/user/UHVUOg4vFyAw/tree', 'Accept-Language': 'en-US,en;q=0.8', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 OPR/44.0.2510.1218', 'Upgrade-Insecure-Requests': '1', 'Dnt': '1', 'Accept-Encoding': 'gzip, deflate, sdch, br', 'Host': '127.0.0.1:9999'})
    Traceback (most recent call last):
      File "/usr/local/lib/python3.4/site-packages/docker/client.py", line 142, in _raise_for_status
        response.raise_for_status()
      File "/usr/local/lib/python3.4/site-packages/requests/models.py", line 909, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localunixsocket/v1.28/containers/create?name=tmp.jupyterminimal-notebook.UHVUOg4vFyAw

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/lib/python3.4/site-packages/tornado/web.py", line 1445, in _execute
        result = yield result
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "orchestrate.py", line 138, in get
        container = yield self.pool.adhoc(user)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/spawnpool.py", line 113, in adhoc
        launched = yield self._launch_container(user=user, enpool=False)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/spawnpool.py", line 281, in _launch_container
        container_config=self.container_config)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/dockworker.py", line 173, in create_notebook_server
        name=container_name)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/dockworker.py", line 259, in _with_retries
        result = yield self._with_retries(fn, *args, **kwargs)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/dockworker.py", line 259, in _with_retries
        result = yield self._with_retries(fn, *args, **kwargs)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/dockworker.py", line 259, in _with_retries
        result = yield self._with_retries(fn, *args, **kwargs)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/dockworker.py", line 259, in _with_retries
        result = yield self._with_retries(fn, *args, **kwargs)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/dockworker.py", line 259, in _with_retries
        result = yield self._with_retries(fn, *args, **kwargs)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
        raise_exc_info(self._exc_info)
      File "<string>", line 3, in raise_exc_info
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
        yielded = self.gen.throw(*exc_info)
      File "/srv/tmpnb/dockworker.py", line 262, in _with_retries
        raise e
      File "/srv/tmpnb/dockworker.py", line 253, in _with_retries
        result = yield fn(*args, **kwargs)
      File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
        value = future.result()
      File "/usr/local/lib/python3.4/concurrent/futures/_base.py", line 395, in result
        return self.__get_result()
      File "/usr/local/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
        raise self._exception
      File "/usr/local/lib/python3.4/concurrent/futures/thread.py", line 54, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/usr/local/lib/python3.4/site-packages/docker/api/container.py", line 119, in create_container
        return self.create_container_from_config(config, name)
      File "/usr/local/lib/python3.4/site-packages/docker/api/container.py", line 130, in create_container_from_config
        return self._result(res, True)
      File "/usr/local/lib/python3.4/site-packages/docker/client.py", line 150, in _result
        self._raise_for_status(response)
      File "/usr/local/lib/python3.4/site-packages/docker/client.py", line 146, in _raise_for_status
        raise errors.APIError(e, response, explanation=explanation)
    docker.errors.APIError: 409 Client Error: Conflict ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.UHVUOg4vFyAw\\" is already in use by container \\"f6ed7498dec4c034942b552266b38667997d8e22a4895156fe35abb9acd3214f\\". You have to remove (or rename) that container to be able to reuse that name."}'")
[E 170425 19:34:20 web:1946] 500 GET /spawn/user/UHVUOg4vFyAw/tree (127.0.0.1) 252.22ms

This is reproducible. I tried the whole thing 3 times now, always the same error. Some container is already using a name. When I kill that container and reload the URL I was redirected to, simply another container already uses that name.

I ran the quick start instructions line by line as given, no changes to anything.

@ZelphirKaltstahl
Copy link
Author

Here is the output of docker ps -a after getting the error:

CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                       NAMES
f6ed7498dec4        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32808->8888/tcp   tmp.jupyterminimal-notebook.UHVUOg4vFyAw
4e1037a75f9c        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32806->8888/tcp   tmp.jupyterminimal-notebook.ipuS1vZxiUxz
146b73a385e9        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32805->8888/tcp   tmp.jupyterminimal-notebook.KKxt1mJPq754
b17a99b143b1        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32804->8888/tcp   tmp.jupyterminimal-notebook.ChY3x1H3NBT3
91ac6e601e4f        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32802->8888/tcp   tmp.jupyterminimal-notebook.92wK8QDLM9I0
958438dc66a7        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32801->8888/tcp   tmp.jupyterminimal-notebook.iCBWao3cAjGs
4a4480e95503        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32800->8888/tcp   tmp.jupyterminimal-notebook.yy86IR5mDpFW
d7a73d541b64        jupyter/minimal-notebook   "tini -- /bin/sh -..."   9 minutes ago       Up 9 minutes        127.0.0.1:32799->8888/tcp   tmp.jupyterminimal-notebook.JlQfDy5zZtl3
d6bb0902bb20        jupyter/tmpnb              "python orchestrat..."   9 minutes ago       Up 9 minutes                                    tmpnb

@emptycrown
Copy link

I got a similar error when trying to run python orchestrate.py. Were you able to resolve this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants