Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

"Controller appears to be listening on localhost, but not on this machine" warning on debian/ubuntu

Offen
#316 4 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Beginne damit, den im Bericht erwähnten Aufruf von ip_for_host nachzuverfolgen, und reproduziere die Controller-Warnung unter Debian oder Ubuntu mit einem Hosts-Eintrag für 127.0.1.1. Erledigt ist die Aufgabe, wenn die Warnung nicht mehr fälschlicherweise meldet, dass der Controller auf der Maschine nicht lauscht; das Issue nennt keine Datei und keinen auszuführenden Test.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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-allhosts

Each 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)]'}
Vorherrschende Sprache
Jupyter Notebook
Sterne
2.6k
Forks
1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ipython/ipyparallel

Alle Issues in ipython/ipyparallel

Ähnliche Issues

Weitere Issues zu Distributed Systems

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.