Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux: startup crash if ipv6 is disabled #4901

Open
qdbp opened this issue Sep 19, 2019 · 0 comments
Open

linux: startup crash if ipv6 is disabled #4901

qdbp opened this issue Sep 19, 2019 · 0 comments

Comments

@qdbp
Copy link

qdbp commented Sep 19, 2019

jupyter notebook with no arguments crashes if the following sysctl option is set

sudo sysctl net.ipv6.conf.all.disable_ipv6=1

with the error

OSError: [Errno 99] Cannot assign requested address

with no mention of ipv6. It's not intuitive that this is the cause, nor do I think this is the expected behaviour. Note that it works if you manually specify the ipv4 loopback address with --ip 127.0.0.1

If the sysctl setting is reset to 0, then jupyter starts again with no problems, giving me some confidence that ipv6 is the root cause.

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

No branches or pull requests

1 participant