service name does not exist (Temporary failure in name resolution)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 32/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- haskell
- Bereich
- networking
Rechercherichtung
Start at src/Simplex/Messaging/Server.hs:1555, where the connect error is logged, and trace how a client address is resolved and how a failed connection is retried or abandoned. The reported symptom is that resolution failures leave the server unable to reconnect until restart, so compare that retry path with the Docker DNS behaviour described for the self-hosted deployment. Done looks like the server recovering on its own after a transient getAddrInfo failure, verified by reproducing the failure in a test or local Docker setup rather than a one-line change.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
I am experiencing intermittent issues with my self-hosted SMP server where messages are neither sent nor received reliably.
The issue has occurred with both the current release (v7.1.0.18) and the previous release.
When checking the server logs, I see the followijng warning:
[WARN 2026-11-15 12:58:22 +0000 src/Simplex/Messaging/Server.hs:1555] Error connecting: smp18.simplex.im,lyqpnwbs2zqfr45jqkncwpywpbtq7jrhxnib5qddtr6npjyezuwd3nqd.onion PCENetworkError (NEConnectError {connectError = "Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just \"smp18.simplex.im\", service name: Just \"5223\"): does not exist (Temporary failure in name resolution)"})
The error appears to indicate a temporary DNS resolution failure when the server attempts to resolve smp18.simplex.im. The same also happens when trying to resolve my own internal smp-server via FQDN.
Environment:
- Deployment: Self-hosted SMP server running in Docker
- SMP server version: 7.1.0.18
- Previous version: Same issue observed with the previous release
Observed behavior
- The server stops sending and recieving messages, but client reports no connection problems to it.
- The logs contain repeated DNS resolution errors when attempting to connect to the smp-servers FQDN and other SMP servers.
- Restarting the smp-server docker container resolves the issue.
The issue has been observed across two consecutive releases.
Expected behaviour
The SMP server should maintain reliable connectivity to other SMP servers and recover gracefully from temporary DNS resolution failures without requiring a manual container restart.
Happy to provide additional logs or configuration details if needed.
- Vorherrschende Sprache
- Haskell
- Sterne
- 865
- Forks
- 125
- Ø Merge
- 1 T. 20 Std.
- Gemergte PRs (30 T.)
- 64
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus simplex-chat/simplexmq
-
xftp CLI: Generated web link is missing the /file pathEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
simplex-chat/simplexmq#1853 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
simplex-chat/simplexmq#1781 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
simplex-chat/simplexmq#2017 ·
Maintainer antworten meist innerhalb von 1 Tag
-
resolver: resolve .simplex names, on smp7 and then on the preset routersEvtl. vergeben @shumvgolove hat das vor 18 Tagen übernommen. Offen
simplex-chat/simplexmq#2011 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
simplex-chat/simplexmq#1864 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in simplex-chat/simplexmq
Ähnliche Issues
-
bug desktop
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
simplex-chat/simplex-chat#8291 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: C# programs with top-level statements fail to compileEvtl. vergeben @AsyncNigam hat das heute übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
compiler-explorer/compiler-explorer#9625 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs triage type: enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 3 Tagen
-
reflex-0.10Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
commercialhaskell/stackage#8180 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
OpenZeppelin/canton-contracts#140 ·
Maintainer antworten meist innerhalb von 1 Tag