Page 1 of 1

Cannot connect

Posted: Sat Jun 03, 2023 10:39 am
by abah

Code: Select all

[Sat 17:55:43] * Connect retry #2 irc.indonesiairc.my.id (6667)
-
[Sat 17:55:48] * Disconnected
-
[Sat 18:35:39] * Connecting to irc.indonesiairc.my.id (6667)
-
[Sat 18:35:51] * [10053] Software caused connection abort
-
[Sat 18:35:51] * Disconnected

Re: Cannot connect

Posted: Sat Jun 03, 2023 5:19 pm
by PeGaSuS
Unfortunately, you don't provide enough info.
We don't know what OS, where it is hosted, etc.
The only reason that comes to my mind for the error to happen is because there's some misconfigured firewall/port forwarding.
You'll need to provide more info for us to be able to help.

Re: Cannot connect

Posted: Sat Jun 03, 2023 10:39 pm
by abah
Thank you, the problem is resolved but there are other problems when the clinet connects to SSL +6697 there is an error message certificate failed

Re: Cannot connect

Posted: Sun Jun 04, 2023 5:57 am
by Syzop
there is an error message certificate failed
You need to get a "real" certificate nowadays. See Using Let's Encrypt with UnrealIRCd

Re: Cannot connect

Posted: Sun Jun 04, 2023 8:21 am
by abah
Syzop wrote: Sun Jun 04, 2023 5:57 am
there is an error message certificate failed
You need to get a "real" certificate nowadays. See Using Let's Encrypt with UnrealIRCd
listen.conf

Code: Select all

listen {
        ip *;
        port 6697;
        options { tls; };
        tls-options {
            certificate "/etc/letsencrypt/live/irc.*****.my.id/fullchain.pem";
            key "/etc/letsencrypt/live/irc.*****.my.id/privkey.pem";
        };
};

Re: Cannot connect

Posted: Sun Jun 04, 2023 1:15 pm
by Syzop
Yes exactly, if you use Let's Encrypt with a configuration like that, and the name of the certificate and the server name match, then you won't get a "certificate failed" error message and all will be good.

Re: Cannot connect

Posted: Sun Jun 04, 2023 1:18 pm
by Syzop
Just tried to connect to your server, and it is still serving a self-signed certificate on port 6697, it is not serving the Let's Encrypt certificate on that port.
Have you rehashed? And when you do REHASH, make sure it doesn't print any errors. When you see errors during rehash, the rehash is not successful and the old configuration stays in effect.

Re: Cannot connect

Posted: Mon Jun 05, 2023 8:16 am
by abah
done thanks