Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Strange issue with ZNC
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Strange issue with ZNC

I have setup ZNC for IRC bouncer but for some reason it does not connect to the IRC network.

I started on DO VPS and it worked perfect. I redid it on my CC VPS with exact same config etc. but not work.

I can login in bouncer and get welcome. After while status message me this:
<
status> IRC connection timed out. Reconnecting...
<status> Attempting to connect to [irc.freenode.net +6697] ...
<
status> IRC connection timed out. Reconnecting...
<*status> Attempting to connect to [irc.freenode.net +6697] ...

while on DO it works.

Comments

  • NyrNyr Community Contributor, Veteran

    Try with a specific server instead of the rotation just in case: https://freenode.net/irc_servers.shtml

    Do a traceroute to the server and post the results if it still doesn't work.

  • TehEnforceTehEnforce Member
    edited March 2015

    @Nyr said:
    Try with a specific server instead of the rotation just in case: https://freenode.net/irc_servers.shtml

    Do a traceroute to the server and post the results if it still doesn't work.

    Tried with morgan.freenode.net
    <status> IRC connection timed out. Reconnecting...
    <
    status> Attempting to connect to [morgan.freenode.net +6697] ...

    Traceroute irc.freenode.net

    traceroute to irc.freenode.net (91.217.189.44), 30 hops max, 60 byte packets

    1 host.colocrossing.com (23.94.28.130) 0.020 ms 0.007 ms 0.006 ms

    2 10.8.27.73 (10.8.27.73) 0.685 ms 0.723 ms 10.8.27.69 (10.8.27.69) 0.566 ms

    3 10ge-1-2-0.01-01.er2.buf1.colocrossing.com (198.23.192.133) 0.137 ms 10ge-1-3-0.01-02.er1.buf1.colocrossing.com (192.3.138.21) 0.132 ms 10ge-1-3-0.01-01.er2.buf1.colocrossing.com (75.127.11.229) 0.125 ms

    4 78.152.60.38 (78.152.60.38) 7.910 ms 78.152.57.86 (78.152.57.86) 7.986 ms 78.152.61.30 (78.152.61.30) 8.025 ms

    5 eth4-4.edge1.nyc4.us.as5580.net (78.152.45.144) 13.554 ms 13.544 ms 13.467 ms

    6 eth1-5.core1.lon2.uk.as5580.net (80.94.64.135) 86.932 ms 86.997 ms 86.972 ms

    7 eth1-1.core1.lon1.uk.as5580.net (78.152.44.99) 93.618 ms 93.846 ms ae0.edge1.lon1.uk.as5580.net (78.152.34.149) 89.211 ms

    8 linx-10ge.lon1.uk.portlane.net (195.66.225.159) 89.631 ms 89.669 ms 89.828 ms

    9 linx-10ge.lon1.uk.portlane.net (195.66.225.159) 90.300 ms 90.455 ms 90.329 ms

    10 * * po18-60g-515.sto5.se.portlane.net (80.67.4.144) 117.144 ms

    11 * * *

    until

    30 * * *

    Traceroute morgan.freenode.net:

    traceroute to morgan.freenode.net (64.32.24.176), 30 hops max, 60 byte packets

    1 host.colocrossing.com (23.94.28.130) 0.031 ms 0.007 ms 0.007 ms

    2 10.8.27.73 (10.8.27.73) 0.655 ms 0.685 ms 0.723 ms

    3 host.colocrossing.com (23.95.4.41) 0.135 ms 10ge-1-2-0.01-02.er1.buf1.colocrossing.com (23.94.31.13) 0.117 ms host.colocrossing.com (23.95.4.33) 0.148 ms

    4 * 78.152.61.30 (78.152.61.30) 4.801 ms 4.814 ms

    5 eth4-4.edge1.nyc4.us.as5580.net (78.152.45.144) 9.851 ms 7.861 ms 18.245 ms

    6 eth1-1.r1.chi1.us.as5580.net (78.152.34.131) 29.526 ms 27.626 ms 29.118 ms

    7 xe-2-1-5.er5.ord7.us.zip.zayo.com (128.177.113.49) 25.314 ms 25.229 ms 24.930 ms

    8 ae10.er2.ord7.us.zip.zayo.com (64.125.20.145) 24.797 ms 24.660 ms 24.773 ms

    9 * edge01.po6.zayo.chi.sharktech.net (208.98.0.46) 19.388 ms *

    10 * * *

    11 morgan.fn.3rdi.se (64.32.24.176) 19.207 ms 19.225 ms 19.166 ms

  • NickkNickk Member

    TehEnforce said: [morgan.freenode.net +6697]

    Are non-ssl connections working?

  • @Nick said:

    Nope. Same error when over non SSL 6667.

  • Maybe you could try to use this page and use the closest location to your vps. If you still can't connect, maybe the vps ip were blocked from using irc, or maybe the port for irc were blocked, or maybe freenode banned the whole CC IP.

  • @ErawanArifNugroho said:
    Maybe you could try to use this page and use the closest location to your vps. If you still can't connect, maybe the vps ip were blocked from using irc, or maybe the port for irc were blocked, or maybe freenode banned the whole CC IP.

    Connected with Chicago, IL morgan.freenode.net
    That closest one to Buffalo (I think)

    I don't think the IP or port are blocked. Just tried connecting with OpenVPN from my PC to VPS to freenode and it works. Only when connect using bouncer it error. CC has strange network.. hmm.

    I am using ChicagoVPS

  • use tepper.freenode.net .. its located inside CC Buffalo..

  • SpiritSpirit Member
    edited March 2015

    I doubt that's "strange" CC network fault. What I usually do when some bouncer doesn't work is to try to connect to IRC with irssi to see if there's irc connectivity at all.

    apt-get install irssi

    And then to quickly run and connect irssi to irc server:

    irssi
    /server morgan.freenode.net

    /quit

    Also try to add to your bouncer IRC server IP instead of hostname (ie. 64.32.24.176 instead of morgan.freenode.net)

  • djndjn Member

    /znc setbindhost 0.0.0.0
    /msg *status jump

    Thanked by 1noreply
  • @JoeMerit
    Does not support SSL. Can't connect to it.

    @Spirit
    Yup. Seems like there is IRC connectivity with irssi.

    Defuq?

  • Install openssl-dev stuff and recompile znc, try putting the server IP address not hostname into ZNC also.

  • creepcreep Member

    since you say IRSSI works, so the problem is with your firewall. do you have any port blocked in your iptable or whatever firewall tool you use?

  • @djn 's trick did it! Didn't expect such an easy fix.
    Thanks everyone and thanks @djn

    Can be closed :)

This discussion has been closed.