localhost connections intermittantly cause znc to hang on "Connecting" #496

Open
opened 2026-10-05 04:25:15 +02:00 by adam · 1 comment
Owner

Pointing ZNC at a localhost address causes it to hang at connecting. It doesn't even get to registration/identifying, so it's not even able to establish a connection.

It appears to happen intermittently as I was able to get 3 users to connect via localhost, after that any new users (including freshly generated profiles) would simply hang.

I was able to resolve this by pointing ZNC at the hostname of the server instead of localhost.

Localhost connections worked fine in 1.2 and 1.4.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Pointing ZNC at a localhost address causes it to hang at connecting. It doesn't even get to registration/identifying, so it's not even able to establish a connection. It appears to happen intermittently as I was able to get 3 users to connect via localhost, after that any new users (including freshly generated profiles) would simply hang. I was able to resolve this by pointing ZNC at the hostname of the server instead of localhost. Localhost connections worked fine in 1.2 and 1.4. ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9306776-localhost-connections-intermittantly-cause-znc-to-hang-on-connecting?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:60226129 -->
Author
Owner

show znc -D and strace

show `znc -D` and strace <!-- github-comment-id:77712449 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#496