Skip to content

Commit 86e6f79

Browse files
authored
Merge pull request #3766 from takluyver/disable-host-check
Disable the host check for 5.6 because of gh-3754
2 parents ebc60bc + a050362 commit 86e6f79

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ New features:
3434
checking the ``Host`` header from the browser (:ghpull:`3714`).
3535
This check can be disabled if necessary by setting
3636
``NotebookApp.allow_remote_access``.
37+
(Disabled by default while we work out some Mac issues in :ghissue:`3754`).
3738
- Add kernel_info_timeout traitlet to enable restarting slow kernels (:ghpull:`3665`)
3839
- Add ``custom_display_host`` config option to override displayed URL (:ghpull:`3668`)
3940
- Add /metrics endpoint for Prometheus Metrics (:ghpull:`3490`)

notebook/notebookapp.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,10 @@ def _token_changed(self, change):
852852
@default('allow_remote_access')
853853
def _default_allow_remote(self):
854854
"""Disallow remote access if we're listening only on loopback addresses"""
855+
# Disable the check temporarily because of Mac issues:
856+
# https://github.com/jupyter/notebook/issues/3754
857+
return True
858+
855859
try:
856860
addr = ipaddress.ip_address(self.ip)
857861
except ValueError:

0 commit comments

Comments
 (0)