tiny icon indicating copy to clipboard operation
tiny copied to clipboard

Can't connect to irc.rizon.net using rustls

Open osa1 opened this issue 5 years ago • 1 comments

Originally reported @Kabouik in #211, if I connect to irc.rizon.net using these settings:

servers:
    - addr: irc.rizon.net
      port: 6697
      tls: true
      realname: ...
      nicks: [...]

In rustls build I get these errors:

Resolving host...
Connecting to 104.199.121.36:6697
10:17 Connection error: received fatal alert: HandshakeFailure
Connecting to 80.65.57.18:6697
Connection error: received fatal alert: HandshakeFailure
Connecting to [2607:f128:22:3133:312:18:313:11b2]:6697
Connection error: Network is unreachable (os error 101)
Connecting to [2001:1ad8:8:6667:5718::]:6697
Connection error: Network is unreachable (os error 101)
Disconnected. Will try to reconnect in 30 seconds.

It works if I use native-tls.

I'm not sure if this is a bug or not, perhaps something missing in rustls or an unsupported feature, so opening this issue just to investigate.

osa1 avatar Jun 21 '20 07:06 osa1

Rizon doesn't accept any of the ciphers that rustls supports/offers in ClientHello. Their servers will need to be modified by request in order to connect with rustls.

trevarj avatar May 10 '21 05:05 trevarj