"Controller appears to be listening on localhost, but not on this machine" warning on debian/ubuntu
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
先追蹤報告中提到的 ip_for_host 呼叫,並在 Debian 或 Ubuntu 上使用 127.0.1.1 的 hosts 項目重現 controller 警告。當警告不再錯誤地回報 controller 未在機器上監聽時,即表示完成;該 issue 未指定要執行的檔案或測試。
由索引模型根據 Issue 內容生成。
描述
Yeah, it's just a warning, low priority. But also an easy fix, maybe? The reason is because the ip_for_host call returns 127.0.1.1 instead of 127.0.0.1
Quoting from the debian reference manual:
For example, "/etc/hosts" looks like the following.
127.0.0.1 localhost
127.0.1.1 <host_name>The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhostsEach line starts with a IP address and it is followed by the associated hostname.
The IP address 127.0.1.1 in the second line of this example may not be found on some other Unix-like systems. The Debian Installer creates this entry for a system without a permanent IP address as a workaround for some software (e.g., GNOME) as documented in the bug #719621.
Not sure if needed but there is ipython info:
{'commit_hash': u'b467d487e',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path': '/home/xxxx/miniconda2/lib/python2.7/site-packages/IPython',
'ipython_version': '5.5.0',
'os_name': 'posix',
'platform': 'Linux-4.4.0-112-generic-x86_64-with-debian-stretch-sid',
'sys_executable': '/home/xxxx/miniconda2/bin/python',
'sys_platform': 'linux2',
'sys_version': '2.7.13 |Continuum Analytics, Inc.| (default, Dec 20 2016, 23:09:15) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]'}
- 主要語言
- Jupyter Notebook
- 星號
- 2.6k
- 分支
- 1k
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ipython/ipyparallel 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 48/100
ipython/ipyparallel#1029 · 9 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 35/100
ipython/ipyparallel#984 ·
-
難度 4/5 3-5 天 新手友好度 35/100
ipython/ipyparallel#937 · 4 則留言 ·
-
question
難度 5/5 一週以上 新手友好度 25/100
ipython/ipyparallel#897 · 12 則留言 ·
-
bug
難度 4/5 3-5 天 新手友好度 35/100
ipython/ipyparallel#882 ·
查看 ipython/ipyparallel 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 75/100
huggingface/pytorch-image-models#2800 · 1 則留言 ·
-
bug examples invalid iris
難度 2/5 1-3 小時 新手友好度 70/100
-
ai_reviewed
難度 2/5 1-3 小時 新手友好度 68/100
ydb-platform/ydb#53838 · 3 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
NovaSky-AI/SkyRL#2263 ·