Unable to connect to http only homeservers.
Since fractal 4.2 I am unable to connect to non-HTTPS hosts.
The use-case is to connect to Pantalaimon which is running as your own OS user on localhost and a high port using HTTP-only.
Steps to reproduce:
- Open Fractal
- Enter your HTTP-only Homeserver as the Provider, for me this is Pantalaimon on http://localhost:8010
- Enter your user/password in the next screen
- A popup jumps out that states "Can't login"
After a failed login fractal prints out this error message in the console:
fractal_gtk::app::backend_loop: Query error: LogoutError(ReqwestError(Error(Hyper(Error(Connect, Custom { kind: Other, error: Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 336130315, library: "SSL routines", function: "ssl3_get_record", reason: "wrong version number", file: "ssl/record/ssl3_record.c", line: 332 }]))) }, X509VerifyResult { code: 0, error: "ok" }) })), "https://localhost:8010/_matrix/client/r0/logout?access_token=")))
We can see that the homeserver URL switched to https.