No error / options shown when fail to make SSL connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Chatter |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hi!
I'm trying to use Chatter to connect to my ZNC bouncer - I have configured my server as follows:
Name: Freeznc
URL: ircs://
Nickname: eddie/freenode
Real name: eddiefreenode
Password: zncserverpassword (I have also tried the ZNC fallback method of username/
I then select my server in the 'add conversation' part of the app, and type a room I want to join - clicking on the room simply shows the green 'Connecting to Freez...' box and never goes any further than that.
My ZNC server is accessible from the outside world, and as far as I am aware is configured correctly. Chatter connects just fine to normal IRC networks (such as Freenode).
There is an error in the log:
phablet@
qml: CLOSED
qml: ircs://
qml: ircs://
qml: ircs://
ERROR << QAbstractSocket
DISCONNECTED
qml: CLOSED
qml: ircs://
qml: ircs://
qml: ircs://
The socket error is indicating Chatter failed the SSL handshake. The server uses a self signed certificate, so I suspect you need to add the certificate to your phone (don't know how to do this).
I'll investigate how this failure should be handled (i.e. more information logged, tell the user, allow the user to accept the certificate etc).