-
debacle
Recently, I've been in a hotel with portal page wifi, i.e. wifi gets connected without password, but connections are only local to the hotel until users visit a web page etc. When waking up from hibernation, Gajim tries to connect to all accounts immediately, before I can even open the portal web page. Because DNS points all names to the hotel in that moment, Gajim presents a TLS error dialog, because the hotels certificate is not valid for the XMPP domain. Unfortuntately, even after correctly connecting to the internet, Gajim seems to hang and I cannot even close Gajims TLS error dialog. `kill` does not work, I had to `kill -9` Gajim. I'm not in that hotel anymore, but I had that behaviour every time after waking up from hibernation. It seems to depend on the type of portal wifi, though, because I can't remember to have that problem in the train, which also has portal wifi. Know issue?
-
lovetox
weird stuff
-
lovetox
why would the hotel let you connect to the internet, without going through the portal?
-
lovetox
a TLS error dialog is only shown if a sucessful connection to a server is established
-
lovetox
otherwise we cannot exchange certificates and not validate them
-
lovetox
DNS has zero to do with it
-
lovetox
except maybe they redirected all dns requests to a fixed ip
-
lovetox
and this ip allowed a connection and returned a cert
-
lovetox
anyway normally connection is aborted if the tls error dialog is shown
-
lovetox
its maybe a problem with multiple accounts wanting to show a tls error dialog or something
-
debacle
> except maybe they redirected all dns requests to a fixed ip I assume exactly that. ↺
-
debacle
> its maybe a problem with multiple accounts wanting to show a tls error dialog or something I had four accounts open in that moment. Maybe there is a kind of race condition? ↺
-
debacle
It is likely, that only c2s on port 443 gets a certificate. I don't believe the hotel has 5222 or 5223 open. Two of my four accounts have c2s on 443.
-
debacle
Btw. the provider for that portal wifi seemed to be "LAN1" (https://www.lan1.de/wlan/). I can imagine, that all hotels and other public spaces using their service behave that way.
-
meson
I'd like to add a table to logs.db for testing, for that I've added a new model in `models.py`, however I see there are `_create_table` methods in archive/, events/ (which seemed to be never called unless I've overseen something) and storage (which is only declared but not implemented). Where are the tables actually created?
-
lovetox
in _create_table()
-
lovetox
simply delete your db then it will be created with the new table
-
lovetox
or you need to write a migration
-
lovetox
see migration.py
-
meson
Thanks, will check it out tomorrow
-
bot
wurstsalat pushed 1 commits to branch gajim/master other: Windows: Add script to unpack msixbundle files - https://dev.gajim.org/gajim/gajim/-/commit/5acf8494b97585c3c0474b065ad4d4f43d29a069
-
bot
wurstsalat pushed 1 commits to branch gajim/master imprv: Debug Console: Improve search for XML logs - https://dev.gajim.org/gajim/gajim/-/commit/643e4d0275f13850ace561d674923df14a57ca84