Page 1 of 1
Cannot Connect Servers - Write Error?
Posted: Sun Jun 12, 2005 9:03 pm
by Michael
For some reason I'm unable to connect two servers together.
I get the following error on trying to /connect the servers.
Here is the error:
connecting to irc.myserver2.com [1.2.3.4].
?[irc.myserver1.net] *** Global -- Closing link: Write error: Broken pipe - irc.myserver2.com[1.2.3.4]
Any ideas on what may be causing this issue?
Thank you in advance for your replies.
Posted: Sun Jun 12, 2005 11:41 pm
by Michael
BTW, both of the servers have been setup correctly as outlined in the guide here on the UnrealIRCd Forums.
Posted: Mon Jun 13, 2005 1:02 am
by Syzop
Check on the other side if you get any message over there (as an oper), might also want to do a '/MODE yournick +s +ej' to set the eyes and junk snomask for debugging purposes.
Broken pipe is a bit odd error name, but seen numerous times on irc. In any case, it can happen if the connection gets accepted and then closed, for whatever reason...
If the above didn't help, then some ideas:
- check the IP (::hostname)
- check the port
- try telnetting from the ircd to the one you are connecting to ('telnet targetip 6667' for example)
- Make sure no firewall is interfering (especially if the above didn't work)
- if you are using ssl, try using non-ssl (and be sure to change the port to a non-ssl one)
- a packet sniffer.. :)
Posted: Mon Jun 13, 2005 11:40 am
by Michael
Thanks a lot Syzop!
After some close investigation and a little thought, I determined what the problem was.
I was missing the Listen blocks for those particular ports. This is something that should be added to the UnrealIRCd forums tutorial for linking servers, as it is easily missed when you read it.
A working example showing the actual Listen block there in the tutorial would be the best method. That way, dumbass's like myself who can read the tutorial several times, won't miss the Listen block information when it's placed within the little white area showing the code:
Code: Select all
listen 1.2.3.4:8068
{
options
{
serversonly;
};
};
At any rate, thank you for your help as it was your feedback that guided me to relook at all my config work as well as firewall rules.
Take care,