Gajim - 2024-09-28


  1. 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?

  2. lovetox

    weird stuff

  3. lovetox

    why would the hotel let you connect to the internet, without going through the portal?

  4. lovetox

    a TLS error dialog is only shown if a sucessful connection to a server is established

  5. lovetox

    otherwise we cannot exchange certificates and not validate them

  6. lovetox

    DNS has zero to do with it

  7. lovetox

    except maybe they redirected all dns requests to a fixed ip

  8. lovetox

    and this ip allowed a connection and returned a cert

  9. lovetox

    anyway normally connection is aborted if the tls error dialog is shown

  10. lovetox

    its maybe a problem with multiple accounts wanting to show a tls error dialog or something

  11. debacle

    > except maybe they redirected all dns requests to a fixed ip I assume exactly that.

  12. 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?

  13. 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.

  14. 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.

  15. 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?

  16. lovetox

    in _create_table()

  17. lovetox

    simply delete your db then it will be created with the new table

  18. lovetox

    or you need to write a migration

  19. lovetox

    see migration.py

  20. meson

    Thanks, will check it out tomorrow

  21. 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

  22. 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