Login succeed then redirect, redirect, redirect... Finally page isn't redirecting properly.
See original GitHub issueHello, As I’am trying to install jupyterhub using docker on the same host I’ve started from your configuration and just modified the authenticator to be LDAPAuthenticator. After login, I get the ‘Start Server’ page but after clicking on the start button firefox displays ‘the page isn’t redirecting properly’.
Here the logs of the jupyterhub:
Starting jupyterhub ... Starting jupyterhub ... done Attaching to jupyterhub jupyterhub | [I 2017-05-16 08:08:17.071 JupyterHub app:750] Loading cookie_secret from /data/jupyterhub_cookie_secret jupyterhub | [W 2017-05-16 08:08:17.144 JupyterHub app:376] jupyterhub | Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy. jupyterhub | Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message. jupyterhub | jupyterhub | [W 2017-05-16 08:08:17.156 JupyterHub app:908] No admin users, admin interface will be unavailable. jupyterhub | [W 2017-05-16 08:08:17.156 JupyterHub app:909] Add any administrative users to `c.Authenticator.admin_users` in config. jupyterhub | [I 2017-05-16 08:08:17.156 JupyterHub app:936] Not using whitelist. Any authenticated user will be allowed. jupyterhub | [I 2017-05-16 08:08:17.190 JupyterHub dockerspawner:360] Container 'jupyter-rlafage' is gone jupyterhub | [W 2017-05-16 08:08:17.191 JupyterHub dockerspawner:331] container not found jupyterhub | [I 2017-05-16 08:08:17.212 JupyterHub app:1536] Hub API listening on http://jupyterhub:8080/hub/ jupyterhub | [I 2017-05-16 08:08:17.219 JupyterHub app:1255] Starting proxy @ http://*:443/ jupyterhub | 08:08:17.556 - info: [ConfigProxy] Proxying https://*:443 to http://jupyterhub:8080 jupyterhub | 08:08:17.561 - info: [ConfigProxy] Proxy API at http://127.0.0.1:444/api/routes jupyterhub | [I 2017-05-16 08:08:17.631 JupyterHub app:1592] JupyterHub is now running at http://127.0.0.1:443/ jupyterhub | [I 2017-05-16 08:08:25.977 JupyterHub log:100] 302 GET / (@::ffff:134.212.26.254) 2.09ms jupyterhub | [I 2017-05-16 08:08:26.160 JupyterHub log:100] 302 GET /hub (@::ffff:134.212.26.254) 0.76ms jupyterhub | [I 2017-05-16 08:08:26.190 JupyterHub log:100] 302 GET /hub/ (rlafage@::ffff:134.212.26.254) 5.60ms jupyterhub | [I 2017-05-16 08:08:26.251 JupyterHub log:100] 200 GET /hub/home (rlafage@::ffff:134.212.26.254) 52.45ms jupyterhub | [I 2017-05-16 08:08:31.128 JupyterHub log:100] 302 GET /spawn?next=%2Fhub%2Fhome (@::ffff:134.212.26.254) 2.98ms jupyterhub | [I 2017-05-16 08:08:31.148 JupyterHub log:100] 302 GET /hub/spawn?next=%2Fhub%2Fhome (rlafage@::ffff:134.212.26.254) 6.86ms jupyterhub | [I 2017-05-16 08:08:31.155 JupyterHub log:100] 302 GET /user/rlafage (@::ffff:134.212.26.254) 1.32ms jupyterhub | [I 2017-05-16 08:08:31.173 JupyterHub dockerspawner:360] Container 'jupyter-rlafage' is gone jupyterhub | [W 2017-05-16 08:08:31.173 JupyterHub dockerspawner:331] container not found jupyterhub | [I 2017-05-16 08:08:31.584 JupyterHub dockerspawner:360] Container 'jupyter-rlafage' is gone jupyterhub | [I 2017-05-16 08:08:31.819 JupyterHub dockerspawner:433] Created container 'jupyter-rlafage' (id: 4d09164) from image jupyterhub/singleuser:latest jupyterhub | [I 2017-05-16 08:08:31.819 JupyterHub dockerspawner:450] Starting container 'jupyter-rlafage' (id: 4d09164) jupyterhub | [I 2017-05-16 08:08:34.590 JupyterHub base:341] User rlafage server took 3.417 seconds to start jupyterhub | [I 2017-05-16 08:08:34.590 JupyterHub orm:198] Adding user rlafage to proxy /user/rlafage => http://172.18.0.3:8888 jupyterhub | [I 2017-05-16 08:08:34.617 JupyterHub log:100] 302 GET /hub/user/rlafage (rlafage@::ffff:134.212.26.254) 3448.68ms jupyterhub | [W 2017-05-16 08:08:34.649 JupyterHub pages:42] Redirecting /hub/?next=%2Fuser%2Frlafage%2Ftree%3F to /hub/user/rlafage/tree?. For sharing public links, use /user-redirect/ jupyterhub | [I 2017-05-16 08:08:34.657 JupyterHub log:100] 302 GET /hub/?next=%2Fuser%2Frlafage%2Ftree%3F (rlafage@::ffff:134.212.26.254) 2.14ms jupyterhub | [I 2017-05-16 08:08:34.684 JupyterHub log:100] 302 GET /hub/user/rlafage/tree? (rlafage@::ffff:134.212.26.254) 15.89ms jupyterhub | [W 2017-05-16 08:08:34.692 JupyterHub pages:42] Redirecting /hub/?next=%2Fuser%2Frlafage%2Ftree%3F to /hub/user/rlafage/tree?. For sharing public links, use /user-redirect/ jupyterhub | [I 2017-05-16 08:08:34.701 JupyterHub log:100] 302 GET /hub/?next=%2Fuser%2Frlafage%2Ftree%3F (rlafage@::ffff:134.212.26.254) 2.05ms jupyterhub | [I 2017-05-16 08:08:34.730 JupyterHub log:100] 302 GET /hub/user/rlafage/tree? (rlafage@::ffff:134.212.26.254) 15.56ms jupyterhub | [W 2017-05-16 08:08:34.735 JupyterHub pages:42] Redirecting /hub/?next=%2Fuser%2Frlafage%2Ftree%3F to /hub/user/rlafage/tree?. For sharing public links, use /user-redirect/ jupyterhub | [I 2017-05-16 08:08:34.743 JupyterHub log:100] 302 GET /hub/?next=%2Fuser%2Frlafage%2Ftree%3F (rlafage@::ffff:134.212.26.254) 1.74ms jupyterhub | [I 2017-05-16 08:08:34.772 JupyterHub log:100] 302 GET /hub/user/rlafage/tree? (rlafage@::ffff:134.212.26.254) 15.15ms jupyterhub | [W 2017-05-16 08:08:34.793 JupyterHub pages:42] Redirecting /hub/?next=%2Fuser%2Frlafage%2Ftree%3F to /hub/user/rlafage/tree?. For sharing public links, use /user-redirect/ jupyterhub | [I 2017-05-16 08:08:34.802 JupyterHub log:100] 302 GET /hub/?next=%2Fuser%2Frlafage%2Ftree%3F (rlafage@::ffff:134.212.26.254) 1.90ms jupyterhub | [I 2017-05-16 08:08:34.828 JupyterHub log:100] 302 GET /hub/user/rlafage/tree? (rlafage@::ffff:134.212.26.254) 15.32ms jupyterhub | [W 2017-05-16 08:08:34.838 JupyterHub pages:42] Redirecting /hub/?next=%2Fuser%2Frlafage%2Ftree%3F to /hub/user/rlafage/tree?. For sharing public links, use /user-redirect/ jupyterhub | [I 2017-05-16 08:08:34.847 JupyterHub log:100] 302 GET /hub/?next=%2Fuser%2Frlafage%2Ftree%3F (rlafage@::ffff:134.212.26.254) 2.04ms jupyterhub | [I 2017-05-16 08:08:34.874 JupyterHub log:100] 302 GET /hub/user/rlafage/tree? (rlafage@::ffff:134.212.26.254) 16.10ms
and here the logs of the jupyter/singleuser:
[rlafage@rdri206h jupyterhub-deploy-docker] docker logs jupyter-rlafage [W 2017-05-16 08:08:34.398 rlafage configurable:168] Config option `open_browser` not recognized by `SingleUserNotebookApp`. Did you mean `browser`? [I 2017-05-16 08:08:34.411 rlafage notebookapp:592] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret [W 2017-05-16 08:08:34.500 rlafage login:225] All authentication is disabled. Anyone who can connect to this server will be able to run code. [I 2017-05-16 08:08:34.522 rlafage extension:193] JupyterLab alpha preview extension loaded from /opt/conda/lib/python3.5/site-packages/jupyterlab [I 2017-05-16 08:08:34.533 rlafage notebookapp:1366] Serving notebooks from local directory: /home/jovyan/work [I 2017-05-16 08:08:34.534 rlafage notebookapp:1366] 0 active kernels [I 2017-05-16 08:08:34.534 rlafage notebookapp:1366] The Jupyter Notebook is running at: http://0.0.0.0:8888/user/rlafage/ [I 2017-05-16 08:08:34.534 rlafage notebookapp:1367] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 2017-05-16 08:08:34.588 rlafage log:47] 302 GET /user/rlafage (172.18.0.2) 1.22ms [I 2017-05-16 08:08:34.622 rlafage log:47] 302 GET /user/rlafage (::ffff:134.212.26.254) 0.71ms [I 2017-05-16 08:08:34.639 rlafage log:47] 302 GET /user/rlafage/tree? (::ffff:134.212.26.254) 1.08ms [I 2017-05-16 08:08:34.685 rlafage log:47] 302 GET /user/rlafage/tree? (::ffff:134.212.26.254) 1.11ms [I 2017-05-16 08:08:34.725 rlafage log:47] 302 GET /user/rlafage/tree? (::ffff:134.212.26.254) 1.11ms [I 2017-05-16 08:08:34.769 rlafage log:47] 302 GET /user/rlafage/tree? (::ffff:134.212.26.254) 1.14ms [I 2017-05-16 08:08:34.829 rlafage log:47] 302 GET /user/rlafage/tree? (::ffff:134.212.26.254) 1.35ms [I 2017-05-16 08:08:34.870 rlafage log:47] 302 GET /user/rlafage/tree? (::ffff:134.212.26.254) 1.19ms
I found that related issue jupyterhub #742 and tried various configuration changes without success.
Please, could you give me a hint? What could I check to make it through this? Thanks in advance.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How To Fix the Firefox "The Page Isn't Redirecting Properly ...
Seeing the "The Page Isn't Redirect Properly" error in Firefox? Learn what's going wrong and how you can fix the problem for good....
Read more >How to Fix "The Page isn't Redirecting Properly" Message?
The error actually means that the site continues to be redirected cyclically between different addresses and may have entered into an infinite ...
Read more >How To Fix The Page Isn't Redirecting Properly!
In Google Chrome, type: There is a redirect loop on this website. There are too many redirects on the page at. Allowing third-party...
Read more >How to Fix WordPress Login Page Refreshing and ...
Incorrect WordPress URL settings and failure to set login cookies are the most common reasons causing the login page redirect and refresh issue....
Read more >Flask redirect url is not redirecting to home page after login
And I deployed my admin app on a shared hosting server. I am getting a problem with redirecting to next URL. That is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
running Jupyterhub 0.7.2 in a container with the DockerSpawner works, but running Jupyterhub 0.8.0 (latest on Dockerhub) causes the same infinite redirect issue and does not work.
https://github.com/jupyterhub/jupyterhub/issues/709
I ended up by installing jupyterhub 0.7.2 directly without docker and it works.