question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to connect to Hub API at 'http://127.0.0.1:8081/hub/api'.

See original GitHub issue
Failed to connect to Hub API at 'http://127.0.0.1:8081/hub/api'.  Is the Hub accessible at this URL (from host: 4c2b34c60046)?  Make sure to set c.JupyterHub.hub_ip to an IP accessible to single-user servers if the servers are not on the same host as the Hub.

I cannot, for the life of me, get jupyterhub working with dockerspawner. I’ve seen other posts with a similar error and have tried their solutions, and none of them are working. I’m running this on a Fedora 26 VM. I’m thinking it may be a docker configuration problem. What could be getting in the way?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
nils-wernercommented, Jun 6, 2018

I have passed this project to a coworker who appears to have remedied the issue.

It would have been great to share the solution…

8reactions
burdickjpcommented, Oct 5, 2017

I have passed this project to a coworker who appears to have remedied the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JupyterHub with DockerSpawner: Failed to connect to Hub API
Good afternoon! I've been trying to setup a VM with a public-facing JupyterHub that provides users with Notebooks within Docker containers.
Read more >
jupyterhub/jupyterhub - Gitter
Failed to connect to Hub API at 'http://127.0.0.1:8081/hub/api'. Is the Hub accessible at this URL (from host: a3128eac27d1)? Make sure to set c.JupyterHub....
Read more >
Troubleshooting — JupyterHub 3.1.0 documentation
There are two likely reasons for this: The single-user server cannot connect to the Hub's API (networking configuration problems). The single-user server cannot ......
Read more >
HTTP 500: Internal Server Error - No such profile : Jupyterhub ...
... on http://0.0.0.0:8081/hub/ E 2021-06-02T10:06:42.849067692Z [I 2021-06-02 10:06:42.848 JupyterHub app:2649] Private Hub API connect url ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found