Invalid argument on multiple servers #403

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

It happened some weeks ago, I've got disconnected from Canternet IRC and from a friend IRC Server (I only use them) and ZNC can't login in back. I was using ZNC 1.4, tried now with the git version, still not working.

I've got something similar to #37

Connecting user/network [MKody/Canternet]
TDNS: initiating resolving of [irc.canternet.org] and bindhost [kdy.ch]
ConnectQueueTimer done
TDNS: IRC::MKody::Canternet, connecting to [54.244.
255.81] using bindhost [127.0.1.1]
src/Csocket.cpp:1156 Connect Failed. ERRNO [22] FD [8]
RC::MKody::Canternet == SockError(22 Invalid argument)

From the full log of znc --debug: https://gist.github.com/mkody/70ab7a3dfdc7dae0fc97

It happened some weeks ago, I've got disconnected from Canternet IRC and from a friend IRC Server (I only use them) and ZNC can't login in back. I was using ZNC 1.4, tried now with the git version, still not working. I've got something similar to #37 ``` Connecting user/network [MKody/Canternet] TDNS: initiating resolving of [irc.canternet.org] and bindhost [kdy.ch] ConnectQueueTimer done TDNS: IRC::MKody::Canternet, connecting to [54.244. 255.81] using bindhost [127.0.1.1] src/Csocket.cpp:1156 Connect Failed. ERRNO [22] FD [8] RC::MKody::Canternet == SockError(22 Invalid argument) ``` _From the full log of `znc --debug`: https://gist.github.com/mkody/70ab7a3dfdc7dae0fc97_ <!-- github-sync-id:45848859 -->
adam closed this issue 2026-10-05 04:18:36 +02:00
Author
Owner

kdy.ch resolves to 127.0.1.1 for you which is localhost. Of course you
can't connect to external server using localhost as bindhost.
Did you put kdy.ch to /etc/hosts ? Probably it doesn't belong there

2014-10-15 10:57 GMT+01:00 Kdy notifications@github.com:

It happened some weeks ago, I've got disconnected from Canternet IRC and
from a friend IRC Server and I ZNC can't login in back. I was using ZNC
1.4, tried now with the git version, still not working.

I've got something similar to #37 https://github.com/znc/znc/issues/37

Connecting user/network [MKody/Canternet]
TDNS: initiating resolving of [irc.canternet.org] and bindhost [kdy.ch]
ConnectQueueTimer done
TDNS: IRC::MKody::Canternet, connecting to [54.244.
255.81] using bindhost [127.0.1.1]
src/Csocket.cpp:1156 Connect Failed. ERRNO [22] FD [8]
RC::MKody::Canternet == SockError(22 Invalid argument)

From the full log of znc --debug:
https://gist.github.com/mkody/70ab7a3dfdc7dae0fc97
https://gist.github.com/mkody/70ab7a3dfdc7dae0fc97

—
Reply to this email directly or view it on GitHub
https://github.com/znc/znc/issues/710.

kdy.ch resolves to 127.0.1.1 for you which is localhost. Of course you can't connect to external server using localhost as bindhost. Did you put kdy.ch to /etc/hosts ? Probably it doesn't belong there 2014-10-15 10:57 GMT+01:00 Kdy notifications@github.com: > It happened some weeks ago, I've got disconnected from Canternet IRC and > from a friend IRC Server and I ZNC can't login in back. I was using ZNC > 1.4, tried now with the git version, still not working. > > I've got something similar to #37 https://github.com/znc/znc/issues/37 > > Connecting user/network [MKody/Canternet] > TDNS: initiating resolving of [irc.canternet.org] and bindhost [kdy.ch] > ConnectQueueTimer done > TDNS: IRC::MKody::Canternet, connecting to [54.244. > 255.81] using bindhost [127.0.1.1] > src/Csocket.cpp:1156 Connect Failed. ERRNO [22] FD [8] > RC::MKody::Canternet == SockError(22 Invalid argument) > > _From the full log of znc --debug: > https://gist.github.com/mkody/70ab7a3dfdc7dae0fc97 > https://gist.github.com/mkody/70ab7a3dfdc7dae0fc97_ > > — > Reply to this email directly or view it on GitHub > https://github.com/znc/znc/issues/710. <!-- github-comment-id:59237654 -->
Author
Owner

Oh right, I've left that on the config. Sorry and thanks!

Oh right, I've left that on the config. Sorry and thanks! <!-- github-comment-id:59256933 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#403