No password prompt with multiple accounts without saved password
Versions
- OS: Fedora 39
- Gajim version: gajim-1.7.3-4.fc39.noarch
- GTK version: gtk3-3.24.38-3.fc39.x86_64
- Python-nbxmpp version: python3-nbxmpp-4.3.1-3.fc39.noarch
Steps to reproduce the problem
- Start gajim.
- Password prompt for the first account appears.
- Enter password but don't press the Login button until 5-10sec (simulate slow password entering to trigger the problem).
Expected behavior
Opening prompt for the second (or any other account if you have more).
Actual behavior
If you are fast enough there will appear second password prompt, otherwise you have to click to the account icon in the workspace and click on the Offline button to change it to Available. Then you can enter password in the opened prompt.
In console debug for the second account I see:
12/07/2023 11:09:22 (I) nbxmpp.stream (second_server) Execute state machine
12/07/2023 11:09:22 (I) nbxmpp.stream (second_server) Set state: StreamState.PROCEED_WITH_AUTH
12/07/2023 11:09:22 (I) nbxmpp.sasl (second_server) Available mechanisms: {'PLAIN', 'SCRAM-SHA-1'}
12/07/2023 11:09:22 (I) nbxmpp.sasl (second_server) Chosen auth mechanism: SCRAM-SHA-1
12/07/2023 11:09:22 (I) nbxmpp.stream (second_server) Set state: StreamState.AUTH_FAILED
12/07/2023 11:09:22 (I) nbxmpp.stream (second_server) Execute state machine
12/07/2023 11:09:22 (I) nbxmpp.stream (second_server) Set error: StreamError.SASL, no-password, None
12/07/2023 11:09:22 (I) nbxmpp.stream (second_server) Set state: StreamState.DISCONNECTING
12/07/2023 11:09:22 (I) nbxmpp.smacks (second_server) Close session
12/07/2023 11:09:22 (I) nbxmpp.connection (second_server) Remove keepalive timer
12/07/2023 11:09:22 (I) nbxmpp.connection (second_server) Set Connection State: TCPState.DISCONNECTING
12/07/2023 11:09:22 (I) nbxmpp.connection (second_server) Shutdown output
....
....
12/07/2023 11:09:26 (I) nbxmpp.http Request(140323764263680): Set Error: TIMEOUT
12/07/2023 11:09:26 (I) nbxmpp.http Request(140323764263680): Cancel requested
12/07/2023 11:09:26 (I) nbxmpp.http Request(140323764263680): Message finished
12/07/2023 11:09:26 (I) nbxmpp.http Request(140323764263680): HTTP version: SOUP_HTTP_1_1
12/07/2023 11:09:26 (I) nbxmpp.http Request(140323764263680): Request response received
12/07/2023 11:09:26 (I) nbxmpp.http Request(140323764263680): Set Failed: CANCELLED
12/07/2023 11:09:26 (I) nbxmpp.addresses Failed to retrieve host-meta file: <HTTPRequestError.TIMEOUT: 5>
12/07/2023 11:09:26 (I) nbxmpp.addresses Signal: resolved