ZNC PING:PONG CLI Response Dropped/Missing? #707

Closed
opened 2026-10-05 04:39:53 +02:00 by adam · 2 comments
Owner

Recently I have encountered an issue where ZNC issues a PING, and 9 times out of 10, mIRC replies with a PONG correctly. However, it seems occasionally either mIRC doesn't send a PONG, or ZNC never receives it. I am wondering how I can troubleshoot this further to see where the issue lies.

Behaviour is no IRC traffic received by client, and when you attempt an action that will generate traffic (such as sending a line), the connection times out with HOST DISCONNECTED. The last thing seen in znc -D is ZNC asking for a ping from the CLI.

[2016-05-17 22:24:09.109063] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:24:09.109120] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:26:10.637379] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:26:10.637450] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:27:24.026019] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC]
[2016-05-17 22:27:24.135553] (dematerialised/Austnet) CLI -> ZNC [PONG :ZNC]
[2016-05-17 22:28:11.116791] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:28:11.116945] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:30:12.604175] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:30:12.604288] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:31:54.301385] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC]
[2016-05-17 22:31:54.382157] (dematerialised/Austnet) CLI -> ZNC [PONG :ZNC]
[2016-05-17 22:32:13.396933] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:32:13.396999] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:34:14.563429] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:34:14.563489] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:36:15.180736] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:36:15.180809] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:36:44.496962] (dematerialised/Austnet) IRC -> ZNC [:melbwest!~melbwestm@c8073043.bigpond.net.au QUIT :Quit: ]
[2016-05-17 22:36:44.497083] (dematerialised/Austnet) ZNC -> CLI [:melbwest!~melbwestm@c8073043.bigpond.net.au QUIT :Quit: ]
[2016-05-17 22:36:54.802623] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC]
[2016-05-17 22:36:54.905836] (dematerialised/Austnet) CLI -> ZNC [PONG :ZNC]
[2016-05-17 22:38:16.267655] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:38:16.267725] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:40:17.062903] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 22:40:17.063089] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 22:41:25.099964] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC]
[2016-05-17 22:41:25.160992] USR::dematerialised == Disconnected()

ZNC then continues behaving normally, receiving IRC traffic, until I reconnect.

[2016-05-17 23:04:29.117932] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org]
[2016-05-17 23:04:29.118067] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org]
[2016-05-17 23:04:58.703457] _LISTENER == ConnectionFrom(203.59.133.145, 63038) [Allowed]
[2016-05-17 23:04:58.703564] There are [0] clients from [203.59.133.145]

Any guidance on solving this would be great.

Recently I have encountered an issue where ZNC issues a PING, and 9 times out of 10, mIRC replies with a PONG correctly. However, it seems occasionally either mIRC doesn't send a PONG, or ZNC never receives it. I am wondering how I can troubleshoot this further to see where the issue lies. Behaviour is no IRC traffic received by client, and when you attempt an action that will generate traffic (such as sending a line), the connection times out with HOST DISCONNECTED. The last thing seen in znc -D is ZNC asking for a ping from the CLI. ``` [2016-05-17 22:24:09.109063] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:24:09.109120] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:26:10.637379] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:26:10.637450] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:27:24.026019] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC] [2016-05-17 22:27:24.135553] (dematerialised/Austnet) CLI -> ZNC [PONG :ZNC] [2016-05-17 22:28:11.116791] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:28:11.116945] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:30:12.604175] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:30:12.604288] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:31:54.301385] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC] [2016-05-17 22:31:54.382157] (dematerialised/Austnet) CLI -> ZNC [PONG :ZNC] [2016-05-17 22:32:13.396933] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:32:13.396999] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:34:14.563429] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:34:14.563489] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:36:15.180736] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:36:15.180809] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:36:44.496962] (dematerialised/Austnet) IRC -> ZNC [:melbwest!~melbwestm@c8073043.bigpond.net.au QUIT :Quit: ] [2016-05-17 22:36:44.497083] (dematerialised/Austnet) ZNC -> CLI [:melbwest!~melbwestm@c8073043.bigpond.net.au QUIT :Quit: ] [2016-05-17 22:36:54.802623] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC] [2016-05-17 22:36:54.905836] (dematerialised/Austnet) CLI -> ZNC [PONG :ZNC] [2016-05-17 22:38:16.267655] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:38:16.267725] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:40:17.062903] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 22:40:17.063089] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 22:41:25.099964] (dematerialised/Austnet) ZNC -> CLI [PING :ZNC] [2016-05-17 22:41:25.160992] USR::dematerialised == Disconnected() ``` ZNC then continues behaving normally, receiving IRC traffic, until I reconnect. ``` [2016-05-17 23:04:29.117932] (dematerialised/Austnet) IRC -> ZNC [PING :mordor.nsw.au.austnet.org] [2016-05-17 23:04:29.118067] (dematerialised/Austnet) ZNC -> IRC [PONG :mordor.nsw.au.austnet.org] [2016-05-17 23:04:58.703457] _LISTENER == ConnectionFrom(203.59.133.145, 63038) [Allowed] [2016-05-17 23:04:58.703564] There are [0] clients from [203.59.133.145] ``` Any guidance on solving this would be great. <!-- github-sync-id:155259283 -->
adam closed this issue 2026-10-05 04:39:53 +02:00
Author
Owner

ZNC version?

From the log it looks like when ZNC tries to send PING, client is already disconnected, it wasn't noticed though.

ZNC version? From the log it looks like when ZNC tries to send PING, client is already disconnected, it wasn't noticed though. <!-- github-comment-id:219834536 -->
Author
Owner

ZNC Version is 1.6.2.

The client is definitely still running, but it looks like there might be network provider issues which are causing me this problem. I'm going to close this now.

ZNC Version is 1.6.2. The client is definitely still running, but it looks like there might be network provider issues which are causing me this problem. I'm going to close this now. <!-- github-comment-id:219927460 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#707