quassel-webserver icon indicating copy to clipboard operation
quassel-webserver copied to clipboard

Not connecting in ubuntu 20.04

Open the-loudspeaker opened this issue 5 years ago • 5 comments

Used to work fine in Ubuntu 18.04 but does not work in 20.04. The client connects and disconnects immediately. There seems to be some tls error. Here are the error logs from quasselcore: https://p.ip.fi/HYvY

the-loudspeaker avatar Aug 19 '20 12:08 the-loudspeaker

As a workaround, when connecting, expand more options and disable SSL core connection. Not ideal, but if your Quassel core is localhost, it's not the end of the world.

My current guess is there's an issue with node-libquassel with newer (TLSv1.3) setups. Instead of secureProtocol in createSecureContext() options, libquassel should use minVersion… but I'm still figuring out how to test these changes.

Edit: After other edit attempts failed, manually editing the compiled libquassel.js doesn't seem to work, either - setting minVersion still fails.

Edit 2: I've not been able to figure out the SSL/TLS bug, so I've set up securecore: false by default on Ubuntu 20.04+ since it's localhost anyways. Again, not ideal, but ah well.

digitalcircuit avatar Jan 25 '21 22:01 digitalcircuit

As a workaround, when connecting, expand more options and disable SSL core connection. Not ideal, but if your Quassel core is localhost, it's not the end of the world.

My current guess is there's an issue with node-libquassel with newer (TLSv1.3) setups. Instead of secureProtocol in createSecureContext() options, libquassel should use minVersion… but I'm still figuring out how to test these changes.

Edit: After other edit attempts failed, manually editing the compiled libquassel.js doesn't seem to work, either - setting minVersion still fails.

Edit 2: I've not been able to figure out the SSL/TLS bug, so I've set up securecore: false by default on Ubuntu 20.04+ since it's localhost anyways. Again, not ideal, but ah well.

Yes i had it localhost and it worked. But now my quasselcore shifted to another machine so now I cannot use this workaround. Seems it is referenced in a commit. Will check that out and see how it works.

the-loudspeaker avatar Mar 08 '21 04:03 the-loudspeaker

I have just tried it in ubuntu 20.04, my quasselcore is in ubuntu 18.04. Doesn't directly work with ssl core connection enabled in quassel-webserver. I have to disable it once, connect to my core. then logout and then from next time onwards it works with ssl core connection ticked.

after that it works like normal.

the-loudspeaker avatar Mar 08 '21 18:03 the-loudspeaker

This comment can be of interest https://github.com/magne4000/node-libquassel/issues/25#issuecomment-988140501

magne4000 avatar Dec 07 '21 17:12 magne4000

The suggestion above about disabling "SSL core connection" doesn't work for me. The core log still shows even with that option unchecked:

2023-08-02 18:11:42 [Info ] Client connected from 172.18.0.6
2023-08-02 18:11:42 [Warn ] "Socket error 13: Error during SSL handshake: error:0A000076:SSL routines::no suitable signature algorithm"
2023-08-02 18:11:42 [Info ] Non-authed client disconnected: 172.18.0.6

mtrolley avatar Aug 02 '23 22:08 mtrolley