profile
viewpoint

issue openeddocker/docker-py

"swarm service inspect" description in https://docker-py.readthedocs.io/en/1.10.0/api/

the description of "swarm service inspect" seems strange in: https://docker-py.readthedocs.io/en/1.10.0/api/

Create a service, similar to the docker service create command. See the services documentation for details.```

Thanks

created time in a month

issue commentjupyterhub/dockerspawner

Service not found error preventing spawn

Hi, Yes, you're right. It seems that the error occurs:

  • more frequently if you have two swarm managers
  • very rarely if you don't have additional node in the swarm (just the hub) I think that the error is link to the responsiveness of the swarm.
hdlbq

comment created time in a month

issue closedowncloud/core

can't activate pdf viewer for shared links

  1. I installed owncloud using this docker distrib: sameersbn/docker-owncloud
  2. I added files_pdfviewer in the apps folder of the docker
  3. I enabled the app in the admin settings panel

Expected behaviour

I hope the pdf file to be displayed (and not downloaded), when the user clicks on the shared link.

the link I use is the following one: http://file4u.centralesupelec.fr/index.php/s/SkzDvzzn5c38ZyK This opens a dialog allowing to download the file. I tried adding /download (as suggested in the dialog), but then the brower asked me to download the file. I tried to add #pdfviewer (as suggested in some pages), but this leads to the "downloading dialog". I tried then to add "/display#showPdfViewer" and "#showPdfViewer" (seen in files_pdfviewer/appinfo/routes.php) without success.

Server configuration

Operating system: ubuntu18.04.1 (in docker) Web server:

Database: PostgreSQL 9.6 PHP version: PHP 7.1.30-1 ownCloud version: 10.0.10 - 2018-09-18 (ownCloud php-fpm7.1) Updated from an older ownCloud or fresh install: docker install Where did you install ownCloud from: files_pdfviewer version: [0.11.0]

Thanks for your help

closed time in a month

hdlbq

issue commentowncloud/core

can't activate pdf viewer for shared links

issue transfered to the "files_pdfviewer" group

hdlbq

comment created time in a month

issue openedowncloud/files_pdfviewer

can't activate pdf viewer for shared links

  1. I installed owncloud using this docker distrib: sameersbn/docker-owncloud
  2. I added files_pdfviewer in the apps folder of the docker
  3. I enabled the app in the admin settings panel

Expected behaviour

I hope the pdf file to be displayed (and not downloaded), when the user clicks on the shared link.

the link I use is the following one: http://file4u.centralesupelec.fr/index.php/s/SkzDvzzn5c38ZyK This opens a dialog allowing to download the file. I tried adding /download (as suggested in the dialog), but then the brower asked me to download the file. I tried to add #pdfviewer (as suggested in some pages), but this leads to the "downloading dialog". I tried then to add "/display#showPdfViewer" and "#showPdfViewer" (seen in files_pdfviewer/appinfo/routes.php) without success.

Server configuration

Operating system: ubuntu18.04.1 (in docker) Web server:

Database: PostgreSQL 9.6 PHP version: PHP 7.1.30-1 ownCloud version: 10.0.10 - 2018-09-18 (ownCloud php-fpm7.1) Updated from an older ownCloud or fresh install: docker install Where did you install ownCloud from: files_pdfviewer version: [0.11.0]

Thanks for your help

created time in a month

issue openedowncloud/core

can't activate pdf viewer for shared links

  1. I installed owncloud using this docker distrib: sameersbn/docker-owncloud
  2. I added files_pdfviewer in the apps folder of the docker
  3. I enabled the app in the admin settings panel

Expected behaviour

I hope the pdf file to be displayed (and not downloaded), when the user clicks on the shared link.

the link I use is the following one: http://file4u.centralesupelec.fr/index.php/s/SkzDvzzn5c38ZyK This opens a dialog allowing to download the file. I tried adding /download (as suggested in the dialog), but then the brower asked me to download the file. I tried to add #pdfviewer (as suggested in some pages), but this leads to the "downloading dialog"

Server configuration

Operating system: +ubuntu18.04.1+deb.sury.org Web server:

Database: PostgreSQL 9.6 PHP version: PHP 7.1.30-1 ownCloud version: (see ownCloud admin page) 10.0.10 - 2018-09-18 (ownCloud php-fpm7.1) Updated from an older ownCloud or fresh install: docker install Where did you install ownCloud from: files_pdfviewer version: [0.11.0]

Thanks for your help

created time in a month

issue commentjupyterhub/dockerspawner

Service not found error preventing spawn

Unfortunately, the problem is more rare, but still present:

 [D 2019-10-29 17:14:41.094 JupyterHub user:542] Calling Spawner.start for firstname-lastname
 [D 2019-10-29 17:14:41.103 JupyterHub dockerspawner:813] Getting container 'jupyter-firstname-lastname' for dockerspawner::start before remove id:cewue4q
 [W 2019-10-29 17:14:41.108 JupyterHub dockerspawner:1016] Removing service that should have been cleaned up: jupyter-firstname-lastname (id: cewue4q)
 [I 2019-10-29 17:14:41.108 JupyterHub swarmspawner:239] Removing service cewue4q66bfyfund4lrp8va4a
 [I 2019-10-29 17:14:41.171 JupyterHub dockerspawner:1030] Created service jupyter-firstname-lastname (id: nrjkrbw) from image 160.228.22.168:5000/hdlbq/cs-notebook-r:latest
 [I 2019-10-29 17:14:41.171 JupyterHub dockerspawner:1053] Starting service jupyter-firstname-lastname (id: nrjkrbw)
 [D 2019-10-29 17:14:41.171 JupyterHub swarmspawner:144] Getting task of service 'jupyter-firstname-lastname'
 [D 2019-10-29 17:14:41.172 JupyterHub dockerspawner:813] Getting container 'jupyter-firstname-lastname' for swarmspawner::get_task id:nrjkrbw
 [E 2019-10-29 17:14:41.183 JupyterHub user:626] Unhandled error starting firstname-lastname's server: Service jupyter-firstname-lastname not found
 [D 2019-10-29 17:14:41.183 JupyterHub user:724] Stopping firstname-lastname
 [D 2019-10-29 17:14:41.184 JupyterHub swarmspawner:144] Getting task of service 'jupyter-firstname-lastname'
 [D 2019-10-29 17:14:41.184 JupyterHub dockerspawner:813] Getting container 'jupyter-firstname-lastname' for swarmspawner::get_task id:nrjkrbw
 [W 2019-10-29 17:14:41.194 JupyterHub swarmspawner:128] Service jupyter-firstname-lastname not found
 [D 2019-10-29 17:14:41.207 JupyterHub user:752] Deleting oauth client jupyterhub-user-firstname-lastname
 [D 2019-10-29 17:14:41.240 JupyterHub user:755] Finished stopping firstname-lastname
 [I 2019-10-29 17:14:41.273 JupyterHub log:174] 302 GET /hub/spawn -> /hub/spawn-pending/firstname-lastname (firstname-lastname@10.255.0.2) 256.50ms
 ERROR:asyncio:Task exception was never retrieved
 future: <Task finished coro=<BaseHandler.spawn_single_user() done, defined at /opt/conda/lib/python3.6/site-packages/jupyterhub/handlers/base.py:697> exception=RuntimeE
rror('Service jupyter-firstname-lastname not found',)>
 Traceback (most recent call last):
   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/handlers/base.py", line 889, in spawn_single_user
     timedelta(seconds=self.slow_spawn_timeout), finish_spawn_future
   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/handlers/base.py", line 807, in finish_user_spawn
     await spawn_future
   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/user.py", line 642, in spawn
     raise e
   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/user.py", line 546, in spawn
     url = await gen.with_timeout(timedelta(seconds=spawner.start_timeout), f)
   File "/opt/conda/lib/python3.6/site-packages/tornado/gen.py", line 736, in run
     yielded = self.gen.throw(*exc_info)  # type: ignore
   File "/opt/conda/lib/python3.6/site-packages/dockerspawner/dockerspawner.py", line 1057, in start
     yield self.start_object()
   File "/opt/conda/lib/python3.6/site-packages/tornado/gen.py", line 729, in run
     value = future.result()
   File "/opt/conda/lib/python3.6/site-packages/tornado/gen.py", line 742, in run
     yielded = self.gen.send(value)
   File "/opt/conda/lib/python3.6/site-packages/dockerspawner/swarmspawner.py", line 259, in start_object
     raise RuntimeError("Service %s not found" % self.service_name)
 RuntimeError: Service jupyter-firstname-lastname not found
 [E 2019-10-29 17:14:41.317 JupyterHub pages:284] Previous spawn for firstname-lastname failed: Service jupyter-firstname-lastname not found
 [E 2019-10-29 17:14:41.319 JupyterHub log:166] {
       "Cookie": "jupyterhub-hub-login=[secret]; jupyterhub-session-id=[secret]; _xsrf=[secret]; _gid=[secret]; _ga=[secret]",
       "Accept-Encoding": "gzip, deflate, br",
       "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362",
       "Upgrade-Insecure-Requests": "1",
       "Accept-Language": "fr-FR",
       "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
       "Cache-Control": "max-age=0",
       "Referer": "",
       "Connection": "close",
       "X-Nginx-Proxy": "true",
       "X-Forwarded-For": "10.255.0.2",
       "Host": "jupyter.centralesupelec.fr",
       "X-Real-Ip": "10.255.0.2"
     }
 [E 2019-10-29 17:14:41.319 JupyterHub log:174] 500 GET /hub/spawn-pending/firstname-lastname (firstname-lastname@10.255.0.2) 21.42ms
 [D 2019-10-29 17:14:41.372 JupyterHub swarmspawner:133] Service dijqif3 status: {'ContainerStatus': {'ContainerID': '178c0b2bff6e802726c31133892138c8ed4e51a19b19eb6e2dbb96b23f1e7a52',
                          'ExitCode': -1,
                          'PID': 21195},
      'Message': 'started',
      'PortStatus': {},
      'State': 'running',
      'Timestamp': '2019-10-29T15:32:07.734537946Z'}
 [D 2019-10-29 17:14:41.528 JupyterHub log:174] 200 GET /hub/static/css/style.min.css?v=883a1cf654bd9f5cdc5ca7c91efe7d71 (@10.255.0.2) 2.16ms
 [D 2019-10-29 17:14:41.578 JupyterHub log:174] 200 GET /hub/static/components/bootstrap/dist/js/bootstrap.min.js?v=2f34b630ffe30ba2ff2b91e3f3c322a1 (@10.255.0.2) 4.39ms
 [D 2019-10-29 17:14:41.582 JupyterHub log:174] 200 GET /hub/static/components/requirejs/require.js?v=f0cc8bbb2fcef87fc194fecbb632fcfa (@10.255.0.2) 7.09ms
 [D 2019-10-29 17:14:41.583 JupyterHub log:174] 200 GET /hub/logo (@10.255.0.2) 7.68ms
 [D 2019-10-29 17:14:41.585 JupyterHub log:174] 200 GET /hub/static/components/jquery/dist/jquery.min.js?v=220afd743d9e9643852e31a135a9f3ae (@10.255.0.2) 8.83ms
 [D 2019-10-29 17:14:42.034 JupyterHub log:174] 200 GET /hub/static/components/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 (@10.255.0.2) 2.68ms
 [I 2019-10-29 17:14:43.392 JupyterHub log:174] 200 GET /hub/api (@10.0.0.3) 1.40ms
 [W 2019-10-29 17:14:43.406 JupyterHub log:174] 403 POST /hub/api/users/firstname-lastname/activity (@10.0.0.3) 4.44ms
 [W 2019-10-29 17:14:44.009 JupyterHub log:174] 403 POST /hub/api/users/firstname-lastname/activity (@10.0.0.3) 3.55ms
 [I 2019-10-29 17:14:44.096 JupyterHub log:174] 200 GET /hub/api (@10.0.0.6) 0.92ms
 [W 2019-10-29 17:14:44.108 JupyterHub log:174] 403 POST /hub/api/users/firstname-lastname/activity (@10.0.0.6) 3.10ms
 [D 2019-10-29 17:14:44.217 JupyterHub pages:165] Triggering spawn with default options for firstname-lastname
 [D 2019-10-29 17:14:44.217 JupyterHub base:780] Initiating spawn for firstname-lastname
hdlbq

comment created time in a month

issue commentjupyterhub/dockerspawner

Service not found error preventing spawn

Hello, this issue seems to be linked to the "Timeout potentially due to docker inspect_container prior to creation #330"

hdlbq

comment created time in 2 months

issue commentjupyterhub/jupyterhub

Random 403 error when starting SwarmSpawner

Thanks for the hint about "c.JupyterHub.tornado_settings" that alloows me to use my jupyterhub while waiting for a patch in the SwarmSpawner code. I submitted the issue in the jupyterhub/dockerspawner github project.

hdlbq

comment created time in 2 months

issue openedjupyterhub/dockerspawner

Random 403 error when starting SwarmSpawner

I installed a jupterhub about one year ago, and it was working well. The hub runs in a docker, as the nginx proxy that allows an https access. The other nodes are managed in a docker swarm. The users are authenticated using CAS. The home directories of the users are stored on a nfs-mounted volume.

Randomly, users can't login, and the log shows an error 403:

[W 2019-10-18 11:30:53.464 JupyterHub log:174] 403 POST /hub/api/users/some-user/activity

I should say that the hub has been booted hours ago, starting from an empty jupyterhub.sqlite file, never restarted, and the sqlite file left untouched. The error seems to appear more frequently when a user stops and restarts his server. The configuration is the same for all users, but the error is frequent for some users, rare for other users. Moreover, the error seems to disappear when I run the hub without any worker nodes in the swarm (all spawned servers running on the hub's host). My own account (admin) seems not to be affected by the error.

Note: I submited this issue to the jupyterhub group. minrk answer is:

The 403 errors here are caused by the API request made by single-user servers to register activity. Where there's definitely a bug (in SwarmSpawner, it looks like), is in the fact we see logs of the Spawner claiming that the service was not started, but it clearly was because it is making API requests to the Hub.

The sequence of events:

SwarmSpawner launches the service
(bug somewhere) SwarmSpawner believes this has failed, but it has not.
Hub begins cleanup of server, including revoking credentials for the API token allocated to the server.
the service finishes starting, and starts making API requests, but its token has been revoked in step 3, resulting in 403.

So the 403 is a symptom, but the real error is the SwarmSpawner is starting servers, but it thinks it is failing somehow.

| [I 2019-10-22 12:40:53.176 JupyterHub base:812] User userc-testc took 53.770 seconds to start

the error seems to be related to the following sequence of events:

 [D 2019-10-18 11:29:59.979 JupyterHub user:542] Calling Spawner.start for kaniav-kamary
 [D 2019-10-18 11:29:59.988 JupyterHub dockerspawner:813] Getting container 'jupyter-kaniav-kamary' for dockerspawner::start before remove id:
 [I 2019-10-18 11:29:59.994 JupyterHub dockerspawner:820] Service 'jupyter-kaniav-kamary' is gone
 [I 2019-10-18 11:30:00.016 JupyterHub dockerspawner:1030] Created service jupyter-kaniav-kamary (id: ge4p07y) from image 160.228.22.168:5000/hdlbq/cs-notebook-r
 [I 2019-10-18 11:30:00.017 JupyterHub dockerspawner:1053] Starting service jupyter-kaniav-kamary (id: ge4p07y)
 [D 2019-10-18 11:30:00.017 JupyterHub swarmspawner:144] Getting task of service 'jupyter-kaniav-kamary'
| [D 2019-10-18 11:30:00.017 JupyterHub dockerspawner:813] Getting container 'jupyter-kaniav-kamary' for swarmspawner::get_task id:ge4p07y
| [D 2019-10-18 11:30:00.026 JupyterHub swarmspawner:256] Service ge4p07y state: pending
| [I 2019-10-18 11:30:00.920 JupyterHub log:174] 302 GET /hub/spawn -> /hub/spawn-pending/kaniav-kamary (kaniav-kamary@10.255.0.2) 1019.67ms
| [I 2019-10-18 11:30:00.960 JupyterHub pages:303] kaniav-kamary is pending spawn
| [I 2019-10-18 11:30:00.962 JupyterHub log:174] 200 GET /hub/spawn-pending/kaniav-kamary (kaniav-kamary@10.255.0.2) 18.15ms
| [D 2019-10-18 11:30:01.027 JupyterHub swarmspawner:144] Getting task of service 'jupyter-kaniav-kamary'
| [D 2019-10-18 11:30:01.028 JupyterHub dockerspawner:813] Getting container 'jupyter-kaniav-kamary' for swarmspawner::get_task id:ge4p07y
| [E 2019-10-18 11:30:01.036 JupyterHub user:626] Unhandled error starting kaniav-kamary's server: Service jupyter-kaniav-kamary not found
| [D 2019-10-18 11:30:01.036 JupyterHub user:724] Stopping kaniav-kamary
| [D 2019-10-18 11:30:01.036 JupyterHub swarmspawner:144] Getting task of service 'jupyter-kaniav-kamary'
| [D 2019-10-18 11:30:01.037 JupyterHub dockerspawner:813] Getting container 'jupyter-kaniav-kamary' for swarmspawner::get_task id:ge4p07y
| [W 2019-10-18 11:30:01.044 JupyterHub swarmspawner:128] Service jupyter-kaniav-kamary not found
| [D 2019-10-18 11:30:01.057 JupyterHub user:752] Deleting oauth client jupyterhub-user-kaniav-kamary
| [D 2019-10-18 11:30:01.069 JupyterHub user:755] Finished stopping kaniav-kamary
| ERROR:asyncio:Task exception was never retrieved
| future: <Task finished coro=<BaseHandler.spawn_single_user() done, defined at /opt/conda/lib/python3.6/site-packages/jupyterhub/handlers/base.py:697> exception=RuntimeError('Service jupyter-kaniav-kamary not found',)>
| Traceback (most recent call last):
|   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/handlers/base.py", line 889, in spawn_single_user
|     timedelta(seconds=self.slow_spawn_timeout), finish_spawn_future
|   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/handlers/base.py", line 807, in finish_user_spawn
|     await spawn_future
|   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/user.py", line 642, in spawn
|     raise e
|   File "/opt/conda/lib/python3.6/site-packages/jupyterhub/user.py", line 546, in spawn
|     url = await gen.with_timeout(timedelta(seconds=spawner.start_timeout), f)
|   File "/opt/conda/lib/python3.6/site-packages/tornado/gen.py", line 736, in run
|     yielded = self.gen.throw(*exc_info)  # type: ignore
|   File "/opt/conda/lib/python3.6/site-packages/dockerspawner/dockerspawner.py", line 1057, in start
|     yield self.start_object()
|   File "/opt/conda/lib/python3.6/site-packages/tornado/gen.py", line 729, in run
|   File "/opt/conda/lib/python3.6/site-packages/tornado/gen.py", line 742, in run
|     yielded = self.gen.send(value)
|   File "/opt/conda/lib/python3.6/site-packages/dockerspawner/swarmspawner.py", line 252, in start_object
|     raise RuntimeError("Service %s not found" % self.service_name)
| RuntimeError: Service jupyter-kaniav-kamary not found
| [I 2019-10-18 11:30:01.107 JupyterHub log:174] 200 GET /hub/api/users/kaniav-kamary/server/progress (kaniav-kamary@10.255.0.2) 16.13ms
| [W 2019-10-18 11:30:53.464 JupyterHub log:174] 403 POST /hub/api/users/kaniav-kamary/activity (@10.0.0.48) 3.26ms
| [W 2019-10-18 11:30:54.423 JupyterHub log:174] 403 POST /hub/api/users/kaniav-kamary/activity (@10.0.0.48) 3.25ms
| [W 2019-10-18 11:30:55.849 JupyterHub log:174] 403 POST /hub/api/users/kaniav-kamary/activity (@10.0.0.48) 3.77ms
| [W 2019-10-18 11:30:59.051 JupyterHub log:174] 403 POST /hub/api/users/kaniav-kamary/activity (@10.0.0.48) 3.36ms
Debian 9.11
Docker version 19.03.3, build a872fc2f86
jupyterhub docker version: latest
nginx docker version: latest

created time in 2 months

issue commentjupyterhub/jupyterhub

Random 403 error when starting singleuser spawner

Hello ryogesh, Thanks for the hint. Do you think that will solve the "403 error" problem ? And could you tell me why setting this value is not a good practice ? Best regards

hdlbq

comment created time in 2 months

issue openedjupyterhub/jupyterhub

Random 403 error when starting sngleuser spawner

I installed a jupterhub about one year ago, and it was working well. The hub runs in a docker, as the nginx proxy that allows https. The other nodes are managed using swarm. The users are authenticated using CAS.

Randomly, users can't login, and the log show a 403 error: [W 2019-10-18 11:30:53.464 JupyterHub log:174] 403 POST /hub/api/users/some-user/activity I should say that the hub has been booted hours ago, starting from an empty jupyterhub.sqlite file. The error seems to appear more frequently when a user stops and restarts its server. The configuration is the same for all users, but the error is frequent for some users, rare for other users. Moreover, the error seems to disappear when I tried to run the hub without any worker

Debian 9.11 Docker version 19.03.3, build a872fc2f86 jupyterhub docker version: latest nginx docker version: latest


jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.127 JupyterHub app:2120] Using Authenticator: jhub_cas_authenticator.cas_auth.CASAuthenticator jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.127 JupyterHub app:2120] Using Spawner: dockerspawner.swarmspawner.SwarmSpawner-0.12.0.dev jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.135 JupyterHub app:1297] Generating new cookie_secret jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.136 JupyterHub app:1302] Writing cookie_secret to /srv/jupyterhub/jupyterhub_cookie_secret jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.137 JupyterHub app:1424] Connecting to db: sqlite:///jupyterhub.sqlite jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.160 JupyterHub orm:718] Stamping empty database with alembic revision 4dc2d5a8c53c jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.167 alembic.runtime.migration migration:130] Context impl SQLiteImpl. jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.167 alembic.runtime.migration migration:137] Will assume non-transactional DDL. jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.190 alembic.runtime.migration migration:356] Running stamp_revision -> 4dc2d5a8c53c jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.191 alembic.runtime.migration migration:558] new branch insert 4dc2d5a8c53c jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.327 JupyterHub proxy:460] Generating new CONFIGPROXY_AUTH_TOKEN jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.368 JupyterHub app:1563] Not using whitelist. Any authenticated user will be allowed. jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.408 JupyterHub app:1910] Loading state for henri-delebecque from db jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.409 JupyterHub app:1926] Loaded users: jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | henri-delebecque admin jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.422 JupyterHub app:2337] Hub API listening on http://0.0.0.0:8081/hub/ jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.422 JupyterHub app:2339] Private Hub API connect url http://6e949a786d6f:8081/hub/ jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [W 2019-10-18 10:06:31.423 JupyterHub proxy:642] Running JupyterHub without SSL. I hope there is SSL termination happening somewhere else... jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:31.424 JupyterHub proxy:645] Starting proxy @ http://0.0.0.0:8000/ jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.424 JupyterHub proxy:646] Proxy cmd: ['configurable-http-proxy', '--ip', '0.0.0.0', '--port', '8000', '--api-ip', '127.0.0.1', '--api-port', '8001', '--error-target', 'http://6e949a786d6f:8081/hub/error'] jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:31.429 JupyterHub proxy:561] Writing proxy pid file: jupyterhub-proxy.pid jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | 10:06:32.230 - info: [ConfigProxy] Proxying http://0.0.0.0:8000 to (no default) jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | 10:06:32.234 - info: [ConfigProxy] Proxy API at http://127.0.0.1:8001/api/routes jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:32.471 JupyterHub proxy:681] Proxy started and appears to be up jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:32.472 JupyterHub proxy:314] Fetching routes to check jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:32.474 JupyterHub proxy:765] Proxy: Fetching GET http://127.0.0.1:8001/api/routes jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:32.491 JupyterHub proxy:319] Checking routes jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:32.491 JupyterHub proxy:399] Adding default route for Hub: / => http://6e949a786d6f:8081 jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [D 2019-10-18 10:06:32.492 JupyterHub proxy:765] Proxy: Fetching POST http://127.0.0.1:8001/api/routes/ jupyterhubserver.1.mwo4wgl1lp6n@jupyterhub | [I 2019-10-18 10:06:32.497 JupyterHub app:2422] JupyterHub is now running at http://0.0.0.0:8000/

created time in 2 months

issue closedjupyterhub/dockerspawner

'dockerspawner.SwarmSpawner' could not be imported

Hello, I installed a year ago a jupyterhub based on swarmspawner, that runs rather well. Recently, a problem with one of the host leads me to rebuild them. And I'm no more able to launch the hub, since I get always the message "'dockerspawner.SwarmSpawner' could not be imported". The problem disappears a soon as I use a 0.8.0 version of the jupyterhub/jupyterhub docker image as base image in my Dockerfile. I tried to rebuild my jupyterhub docker image using the following Docker file joined. I also tried to re-install docker, without success I join my jupyterhub_config.py(txt), and the script launching the jupyterhub. I add the log of the execution Thanks for any hint. Sincerely Yours H. Delebecque

trace.txt jupyterhub_service.txt Dockerfile.txt jupyterhub_config.txt

Other technical info: Debian 9.11 Docker version 19.03.3, build a872fc2f86

closed time in 2 months

hdlbq

issue openedjupyterhub/dockerspawner

'dockerspawner.SwarmSpawner' could not be imported

Hello, I installed a year ago a jupyterhub based on swarmspawner, that runs rather well. Recently, a problem with one of the host leads me to rebuild them. And I'm no more able to launch the hub, since I get always the message "'dockerspawner.SwarmSpawner' could not be imported". I tried to rebuild my jupyterhub docker image using the following Docker file joined. I also tried to re-install docker, without success I join my jupyterhub_config.py(txt), and the script launching the jupyterhub. Thanks for any hint. Sincerely Yours H. Delebecque

jupyterhub_service.txt Dockerfile.txt jupyterhub_config.txt

Other technical info: Debian 9.11 Docker version 19.03.3, build a872fc2f86

created time in 2 months

issue commentgrafana/grafana

Feature Request: variables in X/Y-Max/Min

+1

hryamzik

comment created time in 3 months

more