We want to give users the ability to run classic notebook and jupyter lab 
separately on the same machine. I am trying to start another Instance of 
Jupyterhub with a different config file . 
Looks like the hub is starting fine , but it is not spawning a new server .
Can someone confirm if this is possible to do with the Jupyterhub 
architecture ? I have used different ports in the second instance .
Thanks
J
[
I 2018-08-03 11:56:04.564 JupyterHub app:1453] Hub API listening on http:
//127.0.0.1:8482/hub/
[I 2018-08-03 11:56:04.567 JupyterHub app:1176] Starting proxy @ http:
//*:8003/
[D 2018-08-03 11:56:04.567 JupyterHub app:1177] Proxy cmd: [
'configurable-http-proxy', '--ip', '', '--port', '8003', '--api-ip', 
'127.0.0.1', '--api-port', '5433', '--default-target', 
'http://127.0.0.1:8482', '--error-target', 'http://127.0.0.1:8482/hub/error'
, '--log-level', 'debug', '--ssl-key', '/app/anaconda3/srv/jupyterhub.key', 
'--ssl-cert', '/app/anaconda3/srv/jupyterhub.crt']
11:56:04.723 - info: [ConfigProxy] Adding route / -> http://127.0.0.1:8482
11:56:04.743 - info: [ConfigProxy] Proxying https://*:8003 to 
http://127.0.0.1:8482
11:56:04.744 - info: [ConfigProxy] Proxy API at http:
//127.0.0.1:5433/api/routes
[D 2018-08-03 11:56:04.774 JupyterHub app:1205] Proxy started and appears 
to be up
[I 2018-08-03 11:56:04.775 JupyterHub service:220] Starting service 
'cull-idle': ['python', '/app/anaconda3/bin/cull_idle_servers.py', 
'--timeout=172800']
[I 2018-08-03 11:56:04.779 JupyterHub service:90] Spawning python /app/
anaconda3/bin/cull_idle_servers.py --timeout=172800
[D 2018-08-03 11:56:04.782 JupyterHub spawner:584] Polling subprocess every 
30s
[I 2018-08-03 11:56:04.783 JupyterHub app:1485] JupyterHub is now running 
at http://127.0.0.1:8003/
[I 2018-08-03 11:56:04.788 JupyterHub orm:163] Adding service formgrader to 
proxy /services/formgrader => http://127.0.0.1:8082
[D 2018-08-03 11:56:04.789 JupyterHub orm:146] Fetching POST http:
//127.0.0.1:5433/api/routes/services/formgrader
11:56:04.797 - info: [ConfigProxy] Adding route /services/formgrader -> http
://127.0.0.1:8082
11:56:04.800 - info: [ConfigProxy] 201 POST /api/routes/services/formgrader
[I 2018-08-03 11:56:04.914 JupyterHub log:100] 200 GET /hub/api/users (cull-
[email protected]) 13.63ms
11:56:16.622 - debug: [ConfigProxy] PROXY WEB /hub/ to http://127.0.0.1:8482
[I 2018-08-03 11:56:16.639 JupyterHub log:100] 302 GET /hub/ (@::ffff:10.21.
178.151) 3.38ms
11:56:16.708 - debug: [ConfigProxy] PROXY WEB /login to http:
//127.0.0.1:8482
[I 2018-08-03 11:56:16.717 JupyterHub log:100] 302 GET /login (@::ffff:10.21
.178.151) 1.11ms
11:56:16.760 - debug: [ConfigProxy] PROXY WEB /hub/login to http:
//127.0.0.1:8482
[E 2018-08-03 11:56:16.763 JupyterHub web:1548] Uncaught exception GET 
/hub/login 
(::ffff:10.21.178.151)
    HTTPServerRequest(protocol='https', host='c:8003', method='GET', uri=
'/hub/login', version='HTTP/1.1', remote_ip='::ffff:10.21.178.151', headers
={'X-Forwarded-Host': 'server:8003', 'X-Forwarded-Proto': 'https', 
'X-Forwarded-Port': '8003', 'X-Forwarded-For': '::ffff:10.21.178.151', 
'Accept-Language': 'en-US,en;q=0.9', 'Accept-Encoding': 'gzip, deflate, br', 
'Accept': 
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
, 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36', 
'Upgrade-Insecure-Requests': '1', 'Connection': 'close', 'Host': 
'server:8003'})
    Traceback (most recent call last):
      File "/app/anaconda3/lib/python3.6/site-packages/tornado/web.py", 
line 1467, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File 
"/app/anaconda3/lib/python3.6/site-packages/jupyterhub/handlers/login.py", 
line 62, in get
        self.finish(self._render(username=username))
      File 
"/app/anaconda3/lib/python3.6/site-packages/jupyterhub/handlers/login.py", 
line 37, in _render
        login_url=self.settings['login_url'],
      File 
"/app/anaconda3/lib/python3.6/site-packages/jupyterhub/handlers/base.py", 
line 413, in render_template
        template = self.get_template(name)
      File 
"/app/anaconda3/lib/python3.6/site-packages/jupyterhub/handlers/base.py", 
line 409, in get_template
        return self.settings['jinja2_env'].get_template(name)
      File 
"/app/anaconda3/lib/python3.6/site-packages/jinja2/environment.py", line 830
, in get_template

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/3991df17-1ec2-4ac0-97bb-4ca8c76fe787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to