hbruintjes / ceema

Threema protocol implementation in C++
Apache License 2.0
20 stars 4 forks source link

Log-in server (and plug-in) status #5

Open davidfoerster opened 2 years ago

davidfoerster commented 2 years ago

Hello, as you may have noticed, the log-in server at g-xx.0.threema.ch disappeared some time last fall. Are there any known alternatives? Or is this library (and purple/Pidgin plug-in) essentially dead without it?

openMittsu is still working, so I’m trying to figure out what's going on.

From reading its source code, it looks like xx of the hostname should be replaced with digits. However, when I try that with a couple of values I only get an error message:

Unable to decrypt HELLO packet

They all point to the same two IP addresses 185.88.236.90 and 185.88.236.110, so I doubt that the specific digits matter.

hbruintjes commented 2 years ago

The useProxy flag in Session::connect should allow connecting to the numbered gateways. The 'xx' one was intended for 3rd party clients as I was once told, but I guess they dropped support for that. The pidgin plugin ought to have a checkbox for that somewhere in the settings.

davidfoerster commented 2 years ago

Thanks for that! In the account settings (Pidgin) I set the log-in server to g-00.0.threema.ch and disabled the checkbox labelled “Use application gateway”. Now I can log in again.

davidfoerster commented 2 years ago

I thought about this issue and concluded that this should be considered a bug because the default configuration is now broken. If you want I can put together a pull request that either changes the defaults or alters the README to instruct (new) users – or both.