gajim issueshttps://dev.gajim.org/gajim/gajim/-/issues2019-07-16T16:12:22Zhttps://dev.gajim.org/gajim/gajim/-/issues/8665Add ability to connect to a host represented by an IP address2019-07-16T16:12:22ZSerge PupkinAdd ability to connect to a host represented by an IP addressserver ip 192.168.1.1 (openfire in my lan)
jids presents as cyrylic_name@192.168.1.1
everything works well in PSI
Gajim can not connect to the server. In logs: "17.06.2017 09:27:49 (E) gajim.c.resolver: Invalid host: _xmpp-client._tcp.1...server ip 192.168.1.1 (openfire in my lan)
jids presents as cyrylic_name@192.168.1.1
everything works well in PSI
Gajim can not connect to the server. In logs: "17.06.2017 09:27:49 (E) gajim.c.resolver: Invalid host: _xmpp-client._tcp.192.168.1.1"
How to connect to the jabber server with the IP address?https://dev.gajim.org/gajim/gajim/-/issues/8592Inform user about not being able to connect to a server due to missing tls/ss...2019-04-24T21:01:27ZVincent FlysonInform user about not being able to connect to a server due to missing tls/ssl authentication methodBy default gajim is forbidden to connect to plain (non-tls/ssl) servers.
It took me some time to figure out why I couldn't connect to my server.
Related issue: https://dev.gajim.org/gajim/gajim/issues/8559
Found the issue by runni...By default gajim is forbidden to connect to plain (non-tls/ssl) servers.
It took me some time to figure out why I couldn't connect to my server.
Related issue: https://dev.gajim.org/gajim/gajim/issues/8559
Found the issue by running gajim via `python -OOt gajim.py --verbose`:
```
...
03/30/2017 21:06:08 (I) nbxmpp.client_nb While connecting with type = "tls": TLS unsupported by remote server
03/30/2017 21:06:08 (I) gajim.c.connection Connecting to next type beacuse desired is tls and returned is plain
03/30/2017 21:06:08 (D) gajim.c.connection Connection to next host
03/30/2017 21:06:08 (D) gajim.c.connection Out of hosts, giving up connecting to XMPP-server-bot
...
```
I believe that having a more detailed UI error message rather than "Unable to connect to server ..." is very important in this case, since non-encrypted connections mostly exist on self-hosted servers used for various bots and setting them up can be a pain in the neck when the client's not reporting why exactly the connection has not been established.https://dev.gajim.org/gajim/gajim/-/issues/10385Verifying peer certificate hangs for minutes2023-03-01T13:49:26ZDagda47Verifying peer certificate hangs for minutes**Please first check if another issue has been opened for your problem**
## Versions
- OS: Win 10
- Gajim version: 1.2.2 64 Bit Portable
- GTK version:
- Python-nbxmpp version:
## Steps to reproduce the problem
1. Downloa...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Win 10
- Gajim version: 1.2.2 64 Bit Portable
- GTK version:
- Python-nbxmpp version:
## Steps to reproduce the problem
1. Download latest stable release.
1. Install.
1. Run Gajim-Portable.exe
## Expected behavior
Not freezing. Being able to login, connect etc.
## Actual behavior
Freeze after few seconds (unresponsible).
## Other
I also checked the other versions out. But same result. If i run Gajim-Portable-Debug.exe i get no other result or crashlog.https://dev.gajim.org/gajim/gajim/-/issues/8538Gajim with Tor leaks DNS requests2022-05-12T21:23:09Zt2dGajim with Tor leaks DNS requestsThis issues it related to #7023
I saw at [privacy handbook](https://www.privacy-handbuch.de/handbuch_63-gajim_tor.htm) that Gajim is not resolving DNS over TOR. Or check at [Tor wiki](https://trac.torproject.org/projects/tor/wiki/doc/To...This issues it related to #7023
I saw at [privacy handbook](https://www.privacy-handbuch.de/handbuch_63-gajim_tor.htm) that Gajim is not resolving DNS over TOR. Or check at [Tor wiki](https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/InstantMessaging).
To check, I enabled the Tor Proxy in my account settings, started my client and looked for DNS requests with Wireshark. I could verify their claims.
I think, this is not the expected behavior. If you use Tor, you don't want anyone to know, which hosts you connect to. At least the domain names related to a "torified" account should be resolved over Tor. Another strategy would be to proxy everything over Tor as soon as one account enabled Tor.1.4.0https://dev.gajim.org/gajim/gajim/-/issues/8361MUC which have autojoin set are re-joined on reconnect2019-07-11T16:35:40ZsingpolymaMUC which have autojoin set are re-joined on reconnect# Bug description
If I close a MUC that is bookmarked with "autojoin" and then lose my connection, it is joined again on reconnect.
# Steps to reproduce
1. Bookmark a MUC, set "autojoin" to true
2. Open gajim, the MUC will be joined
3...# Bug description
If I close a MUC that is bookmarked with "autojoin" and then lose my connection, it is joined again on reconnect.
# Steps to reproduce
1. Bookmark a MUC, set "autojoin" to true
2. Open gajim, the MUC will be joined
3. Close the MUC
4. Turn wifi off
5. Turn wifi on
6. Observe that the MUC is open again
# Software versions
OS version: Debian jessie1.2.0https://dev.gajim.org/gajim/gajim/-/issues/8284RFC 7395 (WebSocket) over SOCKS5 proxy (tor) support2020-03-11T15:46:34ZanonymousRFC 7395 (WebSocket) over SOCKS5 proxy (tor) supportIt would be great to have WebSocket over SOCKS5 proxy support.It would be great to have WebSocket over SOCKS5 proxy support.https://dev.gajim.org/gajim/gajim/-/issues/8283RFC 7395 (WebSocket) support2020-03-11T16:59:14ZanonymousRFC 7395 (WebSocket) supportRFC 7395 aims to be a successor to BOSH (XEP-0124, XEP-0206).RFC 7395 aims to be a successor to BOSH (XEP-0124, XEP-0206).1.2.0https://dev.gajim.org/gajim/gajim/-/issues/8180Regular exceptions when wifi reconnects: 'NoneType' object has no attribute '...2023-05-14T16:25:00ZanonymousRegular exceptions when wifi reconnects: 'NoneType' object has no attribute 'setRaw'# Bug description
I get a popup with this backtrace:
Traceback (most recent call last):
File "c:\python27\lib\site-packages\nbxmpp\dispatcher_nb.py", line 497, in dispatch
File "src\common\connection_handlers.py", line 562, in _IqC...# Bug description
I get a popup with this backtrace:
Traceback (most recent call last):
File "c:\python27\lib\site-packages\nbxmpp\dispatcher_nb.py", line 497, in dispatch
File "src\common\connection_handlers.py", line 562, in _IqCB
AttributeError: 'NoneType' object has no attribute 'setRaw'
# Steps to reproduce
There are no exact steps, but it seems to be related to my network state: the error seems to happen around the time my wifi goes down+up or when I start my VPN connection (which is set to route *all* traffic, so it includes changing IP of the Windows machine).
# Software versions
OS version: Win10
GTK version: Gajim 0.16.4 included version
PyGTK version: Gajim 0.16.4 included versionhttps://dev.gajim.org/gajim/gajim/-/issues/8151traceback on long duration of having no Internet2019-06-28T07:27:30Zanonymoustraceback on long duration of having no Internet# Bug description
I'd kept my laptop on with gajim running when I went to sleep, but the Internet got switched off sometime in between. In the morning I was greeted with this:
Traceback (most recent call last):
...# Bug description
I'd kept my laptop on with gajim running when I went to sleep, but the Internet got switched off sometime in between. In the morning I was greeted with this:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/gajim/gui_interface.py", line 2468, in process_connections
gajim.idlequeue.process()
File "/usr/lib/python2.7/site-packages/nbxmpp/idlequeue.py", line 569, in process
self._check_time_events()
File "/usr/lib/python2.7/site-packages/nbxmpp/idlequeue.py", line 337, in _check_time_events
self.queue[fd].read_timeout()
KeyError: 30
# Software versions
OS version: ArchLinux
GTK version: 2.24.28
PyGTK version:2.24.0https://dev.gajim.org/gajim/gajim/-/issues/7633Reconnect or Try again button in balloon notification2020-03-12T22:46:11ZDarlanReconnect or Try again button in balloon notification# problem
Notification button *Connection Failed* is redundant and does not do anything meaningful.
# analysis
An example for a balloon notification with `xfce4-notifyd`.
||'''Connection to proxy failed''' \\ Run out of hosts f...# problem
Notification button *Connection Failed* is redundant and does not do anything meaningful.
# analysis
An example for a balloon notification with `xfce4-notifyd`.
||'''Connection to proxy failed''' \\ Run out of hosts for name gajim.org:5223. \\ Error for last IP: Connection refused||
|||| [Connection Failed]||
It would be comfortable to click on a balloon notification button to reconnect rather than opening or just focusing attention on roster and reconnect from roster (Right-click > Status > Available).
# enhancement recommendation
Turn and rename *Connection Failed* button into *_Reconnect* button.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/6096Connection info, crypto etc2019-09-29T19:56:36ZZashConnection info, crypto etc# Problem
Gajim currently doesn't offer a way to show more information about the connection.
# Analysis
Some users may want to know the specifics about the connection, such as ciphers used etc.
# Enhancement recommendation
Implement some...# Problem
Gajim currently doesn't offer a way to show more information about the connection.
# Analysis
Some users may want to know the specifics about the connection, such as ciphers used etc.
# Enhancement recommendation
Implement something similar to how web browsers show connection info, with details about certificates, ciphers, etc. Could be a popup from the lock (it's a pair of keys in my theme) icon.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/8748Make reconnection timeout configurable2020-04-16T14:38:25ZAndrey GurskyMake reconnection timeout configurablePlease allow to choose between exponential backoff timer (with configurable constant) and fixed timeout.Please allow to choose between exponential backoff timer (with configurable constant) and fixed timeout.https://dev.gajim.org/gajim/gajim/-/issues/8771Connection fails if trying to connect using TOR2019-11-16T14:51:39ZMartinConnection fails if trying to connect using TOR## Versions
- OS: Debian 9 Stretch
- Gajim version: gajim-default-nightly/unstable,unstable,unstable,now 20171023-1 (in info it says 0.16.11.1)
- GTK version: 3.22.11
- Python-nbxmpp version: 0.6.0
## Steps to reproduce the pr...## Versions
- OS: Debian 9 Stretch
- Gajim version: gajim-default-nightly/unstable,unstable,unstable,now 20171023-1 (in info it says 0.16.11.1)
- GTK version: 3.22.11
- Python-nbxmpp version: 0.6.0
## Steps to reproduce the problem
Set up your account to connect via Proxy (SOCKS5, localhost, 9050)
## Expected behavior
Gajim starts and is connecting using TOR
## Actual behavior
Gajim fails to connect (changing localhost to 127.0.0.1 doesn't make any difference)
```
26.10.2017 19:34:41 (I) nbxmpp.proxy_connectors: Authentification successfull. Jabber server contacted.
26.10.2017 19:34:41 (I) nbxmpp.transports_nb: Plugging fd 18, W:True, R:True
26.10.2017 19:34:41 (I) nbxmpp.transports_nb: pollout called, state == PROXY_CONNECTING
26.10.2017 19:34:41 (I) nbxmpp.transports_nb: Plugging fd 18, W:False, R:True
26.10.2017 19:34:41 (E) nbxmpp.transports_nb: _do_send:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 584, in _do_send
sent_data = decode_py2(sent_data, 'utf-8')
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 91, in decode_py2
string = string.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8f in position 5: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 588, in _do_send
if ord(char) & 0xc0 == 0xc0:
TypeError: ord() expected string of length 1, but int found
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 584, in _do_send
sent_data = decode_py2(sent_data, 'utf-8')
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 91, in decode_py2
string = string.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8f in position 5: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 588, in _do_send
if ord(char) & 0xc0 == 0xc0:
TypeError: ord() expected string of length 1, but int found
26.10.2017 19:34:41 (I) nbxmpp.client_nb: Disconnecting NBClient:
26.10.2017 19:34:41 (I) nbxmpp.plugin: Plugging <nbxmpp.transports_nb.NonBlockingTCP object at 0x7f887be597f0> __OUT__ of <nbxmpp.client_nb.NonBlockingClient object at 0x7f888998f4a8>.
26.10.2017 19:34:41 (E) gajim.c.connection: Connection to proxy failed:
26.10.2017 19:34:41 (D) gajim.c.ged: our-show Args: (<gajim.common.connection_handlers_events.OurShowEvent object at 0x7f887be4eeb8>,)
26.10.2017 19:34:41 (D) gajim.plugin_system: ClientsIconsPlugin.connect_with_roster_draw_contact() <entered>
26.10.2017 19:34:41 (D) gajim.plugin_system: ClientsIconsPlugin.connect_with_roster_draw_contact() <left>
26.10.2017 19:34:41 (D) gajim.conversation_textview: Printed Line: 4, martin ist jetzt Abgemeldet, 1509039281.6551602, inserted after: None, stanza-id: None, correct-id: None
26.10.2017 19:34:41 (D) gajim.plugin_system: ClientsIconsPlugin.connect_with_roster_draw_contact() <entered>
26.10.2017 19:34:41 (D) gajim.plugin_system: ClientsIconsPlugin.connect_with_roster_draw_contact() <left>
26.10.2017 19:34:41 (D) gajim.c.ged: connection-lost Args: (<gajim.common.connection_handlers_events.ConnectionLostEvent object at 0x7f8889987f60>,)
```https://dev.gajim.org/gajim/gajim/-/issues/8775High CPU usage when connected to a domain with both AAAA and A record but no ...2019-06-28T07:32:34ZCedricHigh CPU usage when connected to a domain with both AAAA and A record but no IPv6 support## Versions
- OS: Mac OS 10.13.1
- Gajim version: Master branch commit 4c45c186c4bd41233a7cc9dcd5b53e760ac3ec26
- GTK version: 3.22.25
- Python-nbxmpp version: Master branch commit 3417ccbf921c7f5e68ce05e8108f4cf2fcc80860
## St...## Versions
- OS: Mac OS 10.13.1
- Gajim version: Master branch commit 4c45c186c4bd41233a7cc9dcd5b53e760ac3ec26
- GTK version: 3.22.25
- Python-nbxmpp version: Master branch commit 3417ccbf921c7f5e68ce05e8108f4cf2fcc80860
## Steps to reproduce the problem
I installed python3 master branch version like described in the wiki (https://dev.gajim.org/gajim/gajim/wikis/help/GajimMacOSX) and had no issues connecting to my server and to write other people.
## Actual behavior
The cpu usage of the python gajim process is always at 100%. And the log is spammed with this error:
`
...
03.11.2017 20:31:11 (E) nbxmpp.transports_nb _do_send:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/nbxmpp/transports_nb.py", line 573, in _do_send
send_count = self._send(self.sendbuff)
OSError: [Errno 9] Bad file descriptor
...
`
When I run gajim in a iPython console with profiling enabled I get the related message:
`03.11.2017 20:28:27 (W) nbxmpp.transports_nb calling send on empty buffer and queue`
I'm happy to provide additional info if needed. I would be great to have a xmpp client on Mac OS again.https://dev.gajim.org/gajim/gajim/-/issues/8876Fails to connect on startup2019-11-28T15:11:09ZCharlemagne LasseFails to connect on startupThe current gajim version (0.98.2) in Debian buster doesn't support kwallet anymore (see https://dev.gajim.org/gajim/gajim/issues/8875). This now prevents that I get automatically logged in when I start my laptop. Let me explain this in ...The current gajim version (0.98.2) in Debian buster doesn't support kwallet anymore (see https://dev.gajim.org/gajim/gajim/issues/8875). This now prevents that I get automatically logged in when I start my laptop. Let me explain this in detail:
1. logging into my account on the laptop
2. getting the kwallet login screen thingy to get access to WLAN
3. gajim starts up and prints a "cannot login message" (because the WLAN is still down)
4. I enter my credentials for the kwallet stuff
5. Laptop connects to the internet
6. gajim does.... nothinghttps://dev.gajim.org/gajim/gajim/-/issues/9095Can't connect via BOSH proxy2019-03-03T20:26:23ZSven KockschCan't connect via BOSH proxy## Versions
- OS: Windows 7 x64
- Gajim version: 1.0.1 x64
- GTK version: 3.22.28
- Python-nbxmpp version: 0.6.4
## Steps to reproduce the problem
1. enable BOSH proxy, url=https://domain.tld/http-bind/
2. enable HTTP prox...## Versions
- OS: Windows 7 x64
- Gajim version: 1.0.1 x64
- GTK version: 3.22.28
- Python-nbxmpp version: 0.6.4
## Steps to reproduce the problem
1. enable BOSH proxy, url=https://domain.tld/http-bind/
2. enable HTTP proxy
3. connect
## Expected behavior
can connect to server
## Actual behavior
Error message "object has no attribute '_owner'"
25.04.2018 08:02:28 (E) nbxmpp.tls_nb: PlugIn: while trying _startSSL():
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/tls_nb.py", line 287, in plugin
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/tls_nb.py", line 326, in _startSSL
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/tls_nb.py", line 459, in _startSSL_pyOpenSSL
AttributeError: 'NonBlockingHTTPBOSH' object has no attribute '_owner'
25.04.2018 08:02:28 (E) gajim.c.connection: Connection to proxy failed: Run out of hosts for name domain.tld:5223. Error for last IP: error while estabilishing TLS
Is this a regression? (see #5710)https://dev.gajim.org/gajim/gajim/-/issues/9121Crash after network reconnect: 'NoneType' object has no attribute 'setRaw'2018-07-31T17:13:31ZFelix MaurerCrash after network reconnect: 'NoneType' object has no attribute 'setRaw'## Versions
- OS: Arch Linux
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.4
- Gajim Version: 1.0.1
## Traceback
```
Traceback (most recent call last):
File "/home/maufl/.local/lib/python3.6/site-pac...## Versions
- OS: Arch Linux
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.4
- Gajim Version: 1.0.1
## Traceback
```
Traceback (most recent call last):
File "/home/maufl/.local/lib/python3.6/site-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/home/maufl/.local/lib/python3.6/site-packages/gajim/common/connection_handlers.py", line 1536, in _IqCB
roster.setRaw(roster_data)
AttributeError: 'NoneType' object has no attribute 'setRaw'
```
## Steps to reproduce the problem
Not sure. I opened my laptop, it woke from standby and then when it reconnected to the network, Gajim reported this error.https://dev.gajim.org/gajim/gajim/-/issues/9173Gajim doesn't properly restore server connections after internet connection loss2020-03-12T22:37:41ZAndrey GurskyGajim doesn't properly restore server connections after internet connection lossGajim master (04.06.2018)
Modem lost connection for couple of hours. Gajim changed status to offline and kept trying to reconnect. After modem connection has been restored. Gajim seemed to reconnect to 3 servers and tray icon changed to...Gajim master (04.06.2018)
Modem lost connection for couple of hours. Gajim changed status to offline and kept trying to reconnect. After modem connection has been restored. Gajim seemed to reconnect to 3 servers and tray icon changed to online. But all server icons are shown as "connecting" in roster and all MUCs are dead.
This has been working with 0.16.9. Though if session could not be resumed Gajim started with excessive vCard requests, which led to SSL connection has been terminated unexpectedly repeatedly. Thus my hope for 1.0.x.
[log.txt](/uploads/82089ed2a7ec115ab1de9f7cfefd1099/log.txt)1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9182[DNS resolver bug] Gajim won't connect if started without working network con...2020-03-12T22:40:01ZValdikSS[DNS resolver bug] Gajim won't connect if started without working network connectivityGajim won't connect to a server if it was started before the internet connectivity is available. When Gajim starts from the autorun before the Wi-Fi connection is established, changing status to "available" always fails with "unable to c...Gajim won't connect to a server if it was started before the internet connectivity is available. When Gajim starts from the autorun before the Wi-Fi connection is established, changing status to "available" always fails with "unable to connect" message.
From what I see in the debug log, Gajim caches DNS resolves to `_xmppconnect`, `_xmpp-client._tcp`, and `_xmpps-client._tcp` even if they had failed, and since they failed and no data is received, Gajim tries to connect to the server on a root domain, which is different in my case.
Debug log is attached.[gajim_dns_fail.txt](/uploads/a9126173186c9a1e3d2698ce2c671bd8/gajim_dns_fail.txt)
## Versions
- OS: Linux Fedora 28
- Gajim version: 1.0.3
- GTK version: 3.22.30
- Python-nbxmpp version: 0.6.6
## Steps to reproduce the problem
1. Disable network access (disconnect from wired or wireless network).
2. Start Gajim and try to go online.
3. Connect to the internet and try to go online in Gajim.
## Expected behavior
Gajim successfully connects to a server if the internet is available, even if it has been started before the internet was available.
## Actual behavior
Gajim can't connect to a server if the internet is available if it has been started before the internet was available.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9201Double exception during connection loss2019-02-22T19:00:07ZAndrey GurskyDouble exception during connection loss* Gajim git master 06.06.2018
* python-nbxmpp 0.6.6
It is already not the first time I saw this (but I don't remember such errors with Gajim 0.16.x).
```
06/17/2018 23:53:40 (I) nbxmpp.transports_nb _do_receive, caught SSL error, got No...* Gajim git master 06.06.2018
* python-nbxmpp 0.6.6
It is already not the first time I saw this (but I don't remember such errors with Gajim 0.16.x).
```
06/17/2018 23:53:40 (I) nbxmpp.transports_nb _do_receive, caught SSL error, got None:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/tls_nb.py", line 172, in recv
retval = self.sslobj.recv(bufsize)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1686, in recv
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1541, in _raise_ssl_error
raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 616, in _do_receive
received = self._recv(RECV_BUFSIZE)
File "/usr/lib/python3/dist-packages/nbxmpp/tls_nb.py", line 180, in recv
raise SSLWrapper.Error(self.sock or self.sslobj, e)
nbxmpp.tls_nb.SSLWrapper.Error: <class 'nbxmpp.tls_nb.SSLWrapper.Error'> for 146.255.57.229:5222: [Errno: -1] ((-1, 'Unexpected EOF')), Caused by <class 'OpenSSL.SSL.SysCallError'>((-1, 'Unexpected EOF'))
06/17/2018 23:53:40 (I) nbxmpp.transports_nb Disconnected by remote server: #-1, (-1, 'Unexpected EOF')
06/17/2018 23:53:40 (I) nbxmpp.client_nb Disconnecting NBClient:
06/17/2018 23:53:40 (D) nbxmpp.client_nb Client disconnected..
```https://dev.gajim.org/gajim/gajim/-/issues/9207Network disconnect throws TypeError: disconnect() got an unexpected keyword a...2021-01-06T11:21:07ZRoland HäderNetwork disconnect throws TypeError: disconnect() got an unexpected keyword argument 'err_message'## Versions
- OS: Windows 10
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.6
- Gajim Version: 1.0.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_...## Versions
- OS: Windows 10
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.6
- Gajim Version: 1.0.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/gajim/gui_interface.py", line 2397, in process_connections
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/idlequeue.py", line 526, in process
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/transports_nb.py", line 479, in pollend
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/transports_nb.py", line 218, in _on_connect_failure
TypeError: disconnect() got an unexpected keyword argument 'err_message'
```
## Steps to repduce
- Login to any XAMPP server
- Disconnect internet connection
...https://dev.gajim.org/gajim/gajim/-/issues/9209Message can be sent during reconnection2020-03-12T22:25:47ZAndrey GurskyMessage can be sent during reconnectionWhile sending a message I've received an error:
```
[22:10:44] Message text
[22:10:46] error while sending message ( service-unavailable )
```
Logs revealed, that Gajim was exchanging stanzas for reestablishing a connection but inserted...While sending a message I've received an error:
```
[22:10:44] Message text
[22:10:46] error while sending message ( service-unavailable )
```
Logs revealed, that Gajim was exchanging stanzas for reestablishing a connection but inserted already the message in-between:
```
06/22/2018 22:10:39 (I) nbxmpp.client_nb raising event from transport: :::::DATA SENT::::
_____________
<?xml version='1.0'?><stream:stream xmlns="jabber:client" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" to="trashserver.net" xml:lang="en" >
_____________
...
06/22/2018 22:10:44 (I) nbxmpp.client_nb raising event from transport: :::::DATA SENT::::
_____________
<message xmlns="jabber:client" to="
...
06/22/2018 22:10:45 (I) nbxmpp.client_nb raising event from transport: :::::DATA RECEIVED::::
_____________
<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' from='trashserver.net'
...
06/22/2018 22:10:45 (I) nbxmpp.client_nb raising event from transport: :::::DATA SENT::::
_____________
<resume xmlns="urn:xmpp:sm:3" h="385" previd="........." />
_____________
...
06/22/2018 22:10:46 (I) nbxmpp.client_nb raising event from transport: :::::DATA RECEIVED::::
_____________
<message id='7ae91331-636d-46d7-b7a2-fc19c0ccc901' type='error' from='......' <error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></message><failed xmlns='urn:xmpp:sm:3'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></failed>
...
06/22/2018 22:10:47 (I) nbxmpp.client_nb raising event from transport: :::::DATA SENT::::
_____________
<iq type="set" id="af7e7d14-3ae6-4b33-9f45-3f5553a4cc37"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>gajim.MYRESOURCE</resource></bind></iq>
_____________
Traceback (most recent call last):
File "/home/andrey/progs/gajim.git/gajim/chat_control_base.py", line 1259, in _on_edge_reached
elif self.session and self.session.remove_events(types_list):
AttributeError: 'ChatControlSession' object has no attribute 'remove_events'
Traceback (most recent call last):
File "/home/andrey/progs/gajim.git/gajim/chat_control_base.py", line 1259, in _on_edge_reached
elif self.session and self.session.remove_events(types_list):
AttributeError: 'ChatControlSession' object has no attribute 'remove_events'
[...and repeating about 20 times...]
06/22/2018 22:10:51 (I) nbxmpp.client_nb raising event from transport: :::::DATA RECEIVED::::
_____________
<iq id='af7e7d14-3ae6-4b33-9f45-3f5553a4cc37' type='result'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>MYJID@trashserver.net/gajim.MYRESOURCE</jid></bind></iq>
_____________
...
06/22/2018 22:10:51 (D) nbxmpp.smacks Clearing smacks uqueue
06/22/2018 22:10:51 (I) nbxmpp.transports_nb Plugging fd 31, W:False, R:True
06/22/2018 22:10:51 (I) nbxmpp.client_nb raising event from transport: :::::DATA SENT::::
_____________
<enable xmlns="urn:xmpp:sm:3" resume="true" />
_____________
06/22/2018 22:10:51 (I) nbxmpp.transports_nb Plugging fd 31, W:True, R:True
06/22/2018 22:10:51 (I) gajim.c.connection Bound JID: MYJID@trashserver.net/gajim.MYRESOURCE
06/22/2018 22:10:52 (I) nbxmpp.client_nb raising event from transport: :::::DATA RECEIVED::::
_____________
<enabled id='51bfb24b-852d-4f4e-8511-a941000d4acc' resume='true' xmlns='urn:xmpp:sm:3'/>
_____________
06/22/2018 22:10:52 (I) nbxmpp.smacks Session resumption: true
```
The server icon is still displayed as "connecting". The contact I've sent the message to has not been displayed as available despite of Gajim received a delivered receipt after I've sent another one message.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9213Use different socks user name per account (Tor)2020-03-12T22:43:25ZHulaHoopWhonixUse different socks user name per account (Tor)Hi Whonix dev here. We are working hard to integrate your chat client in our anonymity distro and we discussed some topics about it before. We make heavy use of Tor's stream isolation feature to disassociate different applications' traff...Hi Whonix dev here. We are working hard to integrate your chat client in our anonymity distro and we discussed some topics about it before. We make heavy use of Tor's stream isolation feature to disassociate different applications' traffic from each other. One way to go about this depends on how program in question interacts with the socks interface.
Does gajim automatically sets a socks user/password if using Tor?https://dev.gajim.org/gajim/gajim/-/issues/9226Add graceful quit without closing stream for fast consecutive start2018-07-04T16:54:43ZAndrey GurskyAdd graceful quit without closing stream for fast consecutive startI suppose Gajim is being closed for (at least) following reasons:
* PC power off
* PC restart
* Graphical session restart
* Gajim update
* Gajim crash
All cases except the first one, last only for some seconds or minutes. This means the...I suppose Gajim is being closed for (at least) following reasons:
* PC power off
* PC restart
* Graphical session restart
* Gajim update
* Gajim crash
All cases except the first one, last only for some seconds or minutes. This means there is actually no need to close the stream, so that Gajim can start much faster thanks to the stream resumption.
So once the stream has been established, the corresponding ID could be saved for the particular account. If someone choose to normally quit Gajim (e.g. for power off), the ID will be removed, otherwise ID will be left. So even if Gajim crashes the ID survives. When Gajim starts, it checks, whether stream ID exists, and if yes, tries to perform stream resumption.https://dev.gajim.org/gajim/gajim/-/issues/9261Error after some idle time: _connect_to_next_host KeyError: 'type'2020-03-11T18:43:10ZTom BattyError after some idle time: _connect_to_next_host KeyError: 'type'## Versions
- OS: Windows 10
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.6
- Gajim Version: 1.0.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_...## Versions
- OS: Windows 10
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.6
- Gajim Version: 1.0.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/gajim/gui_interface.py", line 2397, in process_connections
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/idlequeue.py", line 518, in process
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/transports_nb.py", line 451, in pollin
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/transports_nb.py", line 676, in _do_receive
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/transports_nb.py", line 690, in _on_receive
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/client_nb.py", line 337, in <lambda>
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/client_nb.py", line 390, in _xmpp_connect_machine
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/client_nb.py", line 393, in _xmpp_connect_machine
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/client_nb.py", line 429, in _on_stream_start
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/nbxmpp/client_nb.py", line 466, in _on_connect
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/gajim/common/connection.py", line 1321, in _connect_success
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.6/site-packages/gajim/common/connection.py", line 1207, in _connect_to_next_host
KeyError: 'type'
```
## Steps to reproduce the problem
...1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9294Error in in _connect_to_next_host after some days of uptime2020-03-11T18:43:25ZJuri GrabowskiError in in _connect_to_next_host after some days of uptime## Versions
- OS: Debian GNU/Linux buster/sid
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.6
- Gajim Version: 1.0.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-pa...## Versions
- OS: Debian GNU/Linux buster/sid
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.2
- python-nbxmpp Version: 0.6.6
- Gajim Version: 1.0.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 2397, in process_connections
app.idlequeue.process()
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 583, in process
self._check_time_events()
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 339, in _check_time_events
self.queue[fd].read_timeout()
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 505, in read_timeout
(self.server, self.port))
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 218, in _on_connect_failure
self.on_connect_failure(err_message=err_message)
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 285, in _try_next_ip
self.disconnect(msg)
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 134, in disconnect
self.on_connect_failure()
File "/usr/lib/python3/dist-packages/gajim/common/connection.py", line 1206, in _connect_to_next_host
if host['type'] not in connection_types:
KeyError: 'type'
```
## Steps to reproduce the problem
after ~3 days of uptime
Maybe this issue can be closed, but maybe it can help? Used jabber Server is ejabberd(16.09-4~bpo8+1) from jessie-backports. I cannot really reproduce the problem, but if some technical information is needed, than just ask it.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9364Gajim doesn't get missing messages after reconnect2018-10-13T20:09:25ZAndrey GurskyGajim doesn't get missing messages after reconnectGajim git master 4858bb46f2d2.
Internet connection was lost for some time. Session could not be restored anymore, Gajim successfully reconnected and joined MUCs but it hasn't got messages that were sent during being offline.
E.g. G...Gajim git master 4858bb46f2d2.
Internet connection was lost for some time. Session could not be restored anymore, Gajim successfully reconnected and joined MUCs but it hasn't got messages that were sent during being offline.
E.g. Gajim MUC:
```
[GMT+2]
[11:57:43] marmistrz: thanks
[12:06:25] hannibal has left (Kicked: recipient unavailable)
[connection lost...................... reconnected]
[21:04:36] cuc has joined the group chat
[21:04:38] hannibal has joined the group chat
[21:04:38] TheFelin has joined the group chat
[21:04:38] targ has joined the group chat
[21:04:38] nirwahna has joined the group chat
[21:04:39] maniac has joined the group chat (online)
[21:04:40] ** Affiliation of lovetox has been set to admin
[21:04:40] ** Role of lovetox has been set to moderator
[21:04:40] blabla has joined the group chat
[21:04:40] tuco has joined the group chat
[21:04:41] Stefan Spühler has joined the group chat
[21:04:42] UsL has joined the group chat
[21:04:43] guybrush88 has joined the group chat
[21:04:43] nifker has joined the group chat
[21:04:44] lovetox has set the subject to Gajim - Welcome to the official room. Gajim 1.1.0-beta1 is now ready! Try it!
Language is English. If you have something to ask, just ask. Don't circle around with questions like "Has anyone used Gajim on Windows?"...
New bugs at https://dev.gajim.org/gajim/gajim/issues
New bugs about a plugin at https://dev.gajim.org/gajim/gajim-plugins/issues
Paste in https://paste.gajim.org
shots in http://picpaste.com
room logs in https://conference.gajim.org:5281/muc_log/gajim/
Spread Gajim! https://dev.gajim.org/gajim/gajim/wikis/community/SpreadJabberAndGajim
[21:05:44] chili has left (Kicked: recipient unavailable)
[21:06:33] alacer has left (Stream closed by us: Timed out waiting for stream resumption (connection-timeout))
[21:10:18] deavmi has joined the group chat
[21:11:39] blabla has left (Kicked: recipient unavailable)
[21:11:43] blabla has joined the group chat
[21:18:22] hannibal has left
[21:21:23] Maël has left
```
According to https://conference.gajim.org:5281/muc_log/gajim/2018-10-01 there were messages in MUC:
```
09:57:44
marmistrz "thanks"
10:20:57
bot "Matthew Bell updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/333 >:
gajim/logind_listener.py rectification"
10:34:42
bot "Matthew Bell updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/333 >:
gajim/logind_listener.py rectification"
10:35:54
bot "Matthew Bell closed a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/333 >:
gajim/logind_listener.py rectification"
10:45:37
bot "Matthew Bell merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/333 >:
gajim/logind_listener.py rectification"
11:01:46
marmistrz "More precisely: How can I query the version of irc.jabberfr.org (if I don't have an account there)?"
11:08:31
lovetox "over the xml console maybe"
11:08:42
lovetox "look up the version query in the xep"
11:08:46
lovetox "and draft a query yourself"
11:09:13
lovetox "my guess would be though that it will not answer"
11:09:26
lovetox "you want a version of a component of the server"
11:09:41
lovetox "maybe someone implemented this, but maybe not"
11:09:48
lovetox "either way best thing is to try with xml console"
14:04:06
bot "ArnaudJ created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9363 >:
#9363: < Programming error when I click on the envelope in the notification bar >"
14:20:40
bot "Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9363 >:
#9363: < Programming error when I click on the envelope in the notification bar >"
```1.1.0https://dev.gajim.org/gajim/gajim/-/issues/9459Missing server pings after session resumed2018-12-04T18:29:33ZAndrey GurskyMissing server pings after session resumedGajim git master e70ea74f
* connected to server
* joining MUCs
* SSL error
* auto reconnected
* session resumed
* all joined
* internet connection lost
* no ping packets ==> Gajim doesn't notice broken connection and doesn't reconnectGajim git master e70ea74f
* connected to server
* joining MUCs
* SSL error
* auto reconnected
* session resumed
* all joined
* internet connection lost
* no ping packets ==> Gajim doesn't notice broken connection and doesn't reconnecthttps://dev.gajim.org/gajim/gajim/-/issues/9461Error when configuring a Tor proxy2018-11-29T14:51:02ZDebbieError when configuring a Tor proxyI am running Debian GNU/Linux 9.5 (stretch).
I have installed gajim 1.1.0 using:
`sudo apt-get -t stretch-backports install gajim`
I have also opened the firewall:
`sudo iptables -I OUTPUT 2 -p tcp -m tcp --dport 5222 -j ACC...I am running Debian GNU/Linux 9.5 (stretch).
I have installed gajim 1.1.0 using:
`sudo apt-get -t stretch-backports install gajim`
I have also opened the firewall:
`sudo iptables -I OUTPUT 2 -p tcp -m tcp --dport 5222 -j ACCEPT`
but when I run gajim, I get (note: server1,server2,server3,server4 names were changed for privacy):
<span style=color:"green">
>>>
No translations found
Dirs searched: [PosixPath('/usr/share/gnome'), PosixPath('/usr/local/share'), PosixPath('/usr/share')]
25/11/2018 10:32:25 (E) gajim.plugin_system.omemo Error loading css: invalid file: PosixPath('/usr/lib/python3/dist-packages/gajim/data/plugins/omemo/gtk/style.css')
25/11/2018 10:32:25 (W) gajim.c.resolver Could not resolve host: Temporarily unable to resolve '_xmppconnect.server1.onion'
25/11/2018 10:32:25 (W) gajim.c.resolver Could not resolve host: Temporarily unable to resolve '_xmppconnect.server2.dk'
25/11/2018 10:32:25 (W) gajim.c.resolver Could not resolve host: Temporarily unable to resolve '_xmppconnect.server3.fr'
25/11/2018 10:32:25 (W) gajim.c.resolver Could not resolve host: Temporarily unable to resolve '_xmppconnect.server4.it'
25/11/2018 10:32:25 (E) nbxmpp.proxy_connectors Invalid proxy reply
25/11/2018 10:32:25 (E) gajim.c.connection Connection to proxy failed: Run out of hosts for name server1.onion:5222. Error for last IP: Invalid proxy reply
>>>
>25/11/2018 10:32:25 (E) nbxmpp.proxy_connectors Invalid proxy reply
>25/11/2018 10:32:25 (E) gajim.c.connection Connection to proxy failed: Run out of hosts for name server2.dk:5222. Error for last IP: Invalid proxy reply
>25/11/2018 10:32:25 (E) nbxmpp.proxy_connectors Invalid proxy reply
>25/11/2018 10:32:25 (E) gajim.c.connection Connection to proxy failed: Run out of hosts for name server3.fr:5222. Error for last IP: Invalid proxy reply
>25/11/2018 10:32:25 (E) nbxmpp.proxy_connectors Invalid proxy reply
>25/11/2018 10:32:25 (E) gajim.c.connection Connection to proxy failed: Run out of hosts for name server4.it:5223. Error for last IP: Invalid proxy reply https://dev.gajim.org/gajim/gajim/-/issues/9487No reconnect after some connection error2020-03-12T22:39:16ZAndrey GurskyNo reconnect after some connection error- Gajim git master 31417ffbc72c
- python-nbxmpp git master 0aed44470
For some reason (no logs atm, presumably connection loss) the account has not been auto-reconnected.- Gajim git master 31417ffbc72c
- python-nbxmpp git master 0aed44470
For some reason (no logs atm, presumably connection loss) the account has not been auto-reconnected.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9488After reconnect some messages from MUC appear in a private chat from this MUC2019-11-10T14:19:10ZAndrey GurskyAfter reconnect some messages from MUC appear in a private chat from this MUC- Gajim git master 31417ffbc72c
- python-nbxmpp git master 0aed44470
How to reproduce:
- start a private chat with romeo from a MUC
- exchange messages
- disconnect account
- be long enough offline to ensure some messages get posted in ...- Gajim git master 31417ffbc72c
- python-nbxmpp git master 0aed44470
How to reproduce:
- start a private chat with romeo from a MUC
- exchange messages
- disconnect account
- be long enough offline to ensure some messages get posted in that MUC
- reconnect
- messages from all except romeo appear in the MUC, the ones from romeo only in the private chat.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9490Gajim in endless loop trying to reconnect if networking has been stopped and ...2018-12-17T11:54:50ZAndrey GurskyGajim in endless loop trying to reconnect if networking has been stopped and then started manually- Gajim git master d129f5559a8
- python-nbxmpp git master c58e9751d77
How to reproduce:
- stop network (```/etc/init.d/networking stop```)
- Gajim starts timeout (if start network until it expires, it is all OK)
- Gajim tries to reconne...- Gajim git master d129f5559a8
- python-nbxmpp git master c58e9751d77
How to reproduce:
- stop network (```/etc/init.d/networking stop```)
- Gajim starts timeout (if start network until it expires, it is all OK)
- Gajim tries to reconnect and fails
- Gajim tries to reconnect and fails for the second time
- start network (```/etc/init.d/networking start```)
- Gajim goes into endless loop
Log: [BUG-gajim-manually-stop-start-networking-for-upload.txt](/uploads/b3affb9e8766969826b5bf8a4360aaef/BUG-gajim-manually-stop-start-networking-for-upload.txt)https://dev.gajim.org/gajim/gajim/-/issues/9495No connection to server if session resumption fails (no new session initiation)2018-12-14T20:15:34ZAndrey GurskyNo connection to server if session resumption fails (no new session initiation)- Gajim git master be420d44fca2
- python-nbxmpp git master f2a2033878
Server gone:
```
12/13/2018 23:55:57 (W) nbxmpp.dispatcher_nb: Unknown stanza: <error xmlns="http://etherx.jabber.org/streams"><system-shutdown xmlns="urn:ietf:params...- Gajim git master be420d44fca2
- python-nbxmpp git master f2a2033878
Server gone:
```
12/13/2018 23:55:57 (W) nbxmpp.dispatcher_nb: Unknown stanza: <error xmlns="http://etherx.jabber.org/streams"><system-shutdown xmlns="urn:ietf:params:xml:ns:xmpp-streams" /><text xmlns="urn:ietf:params:xml:ns:xmpp-streams">Received SIGTERM</text></error>
12/13/2018 23:55:58 (D) nbxmpp.smacks: IN, error
12/13/2018 23:55:58 (I) nbxmpp.client_nb: Disconnecting NBClient: system-shutdown
12/13/2018 23:55:58 (D) nbxmpp.client_nb: Client disconnected..
12/13/2018 23:55:58 (D) nbxmpp.client_nb: Calling disconnect handler <bound method Connection._on_disconnect of <gajim.common.connection.Connection object at 0x7f749dcd8c18>>
```
Gajim reconnects:
```
<failed xmlns='urn:xmpp:sm:3'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></failed>
_____________
(E) nbxmpp.smacks: StreamManagement negotiation failed
(I) nbxmpp.smacks: Session timed out, last server h: None
(E) nbxmpp.smacks: Server did not send h attribute
(I) gajim.c.connection: Resume failed
```
And nothing more. 30 minutes later Gajim reconnects once again, tries to restore the same non-existent session and so on in a loop.https://dev.gajim.org/gajim/gajim/-/issues/9502Gajim busy with receiving and sending discos until connection breaks2018-12-20T23:58:23ZAndrey GurskyGajim busy with receiving and sending discos until connection breaks- Gajim git master 1f975df8a46
- python-nbxmpp git master c51e9a85223
Updated Gajim, it started receiving very many requests like:
```
<iq xml:lang='de' to='MYNICK@MYSERVER/gajim.MYRESOURCE' from='MUC@SERVER/NICK' type='get' id='...'><q...- Gajim git master 1f975df8a46
- python-nbxmpp git master c51e9a85223
Updated Gajim, it started receiving very many requests like:
```
<iq xml:lang='de' to='MYNICK@MYSERVER/gajim.MYRESOURCE' from='MUC@SERVER/NICK' type='get' id='...'><query xmlns='http://jabber.org/protocol/disco#info' node='http://gajim.org#...'/></iq></body><origin-id xmlns="urn:xmpp:sid:0" id="..." /><delay xmlns="urn:xmpp:delay" stamp="2018-12-20T22:00:42Z" />
```
and sending many corresponding replies that connection breaks very soon. After successful session resumption, it continues until connection is broken again. And so on. Perhaps there are so many stanzas scheduled on the server that the maximum allowed is reached.
Unusually high values for queue (before I had max approx. 86).
```
12/20/2018 22:46:57 (D) nbxmpp.smacks: Validate ack, our h: 732, server h: 111, queue: 622
```
Now looking for commits for Gajim and python-nbxmpp to downgrade in order to be able to use Gajim again.
Candidates (one before):
- 99cfb8f6291b6acabe65c60863ae93208b264212
- 7286f4286fa06db7a45cc2fe475400a3b8528409
Or/and something has been just added in the most popular client (Conversations?) and it increases the issue for low bandwidth connections?https://dev.gajim.org/gajim/gajim/-/issues/9509Account remains disconnected if during reconnect timeout the event "No reply ...2020-03-12T22:27:04ZAndrey GurskyAccount remains disconnected if during reconnect timeout the event "No reply received for keepalive ping" occured- Gajim git master b548b90a6c7e
- python-nbxmpp git master 8a87c2be8016
Log:
```
12/23/2018 14:45:14 (I) nbxmpp.transports_nb: read_timeout called, state == CONNECTED
12/23/2018 14:45:14 (I) nbxmpp.transports_nb: Plugging fd 40, W:True,...- Gajim git master b548b90a6c7e
- python-nbxmpp git master 8a87c2be8016
Log:
```
12/23/2018 14:45:14 (I) nbxmpp.transports_nb: read_timeout called, state == CONNECTED
12/23/2018 14:45:14 (I) nbxmpp.transports_nb: Plugging fd 40, W:True, R:True
12/23/2018 14:45:14 (I) nbxmpp.idlequeue: read timeout set for fd 40 on 175 seconds
12/23/2018 14:45:14 (I) nbxmpp.idlequeue: read timeout removed for fd 40
12/23/2018 14:45:14 (I) nbxmpp.transports_nb: pollout called, state == CONNECTED
12/23/2018 14:45:14 (I) nbxmpp.transports_nb: Plugging fd 40, W:False, R:True
12/23/2018 14:45:14 (I) nbxmpp.client_nb: raising event from transport: :::::DATA SENT::::
_____________
_____________
12/23/2018 14:45:19 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
12/23/2018 14:45:19 (I) nbxmpp.transports_nb: _do_receive, caught SSL error, got None:
Traceback (most recent call last):
File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/tls_nb.py", line 167, in recv
retval = self.sslobj.recv(bufsize)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1783, in recv
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1632, in _raise_ssl_error
raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/transports_nb.py", line 613, in _do_receive
received = self._recv(RECV_BUFSIZE)
File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/tls_nb.py", line 175, in recv
raise SSLWrapper.Error(self.sock or self.sslobj, e)
nbxmpp.tls_nb.SSLWrapper.Error: <class 'nbxmpp.tls_nb.SSLWrapper.Error'> for 5.1.76.122:5222: [Errno: -1] ((-1, 'Unexpected EOF')), Caused by <class 'OpenSSL.SSL.SysCallError'>((-1, 'Unexpected EOF'))
12/23/2018 14:45:19 (I) nbxmpp.transports_nb: Disconnected by remote server: #-1, (-1, 'Unexpected EOF')
12/23/2018 14:45:19 (I) nbxmpp.client_nb: Disconnecting NBClient:
12/23/2018 14:45:19 (D) nbxmpp.client_nb: Client disconnected..
12/23/2018 14:45:19 (D) nbxmpp.client_nb: Calling disconnect handler <bound method Connection._on_disconnect of <gajim.common.connection.Connection object at 0x7f8f3b8ce860>>
12/23/2018 14:45:19 (I) gajim.c.connection: Disconnect trashserver.net, reconnect: True
12/23/2018 14:45:19 (I) gajim.c.connection: Set state disconnected
12/23/2018 14:45:19 (I) gajim.c.connection: Reconnect to trashserver.net in 15s
12/23/2018 14:45:20 (I) nbxmpp.idlequeue: read timeout removed for fd 40
12/23/2018 14:45:21 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
12/23/2018 14:45:21 (I) nbxmpp.idlequeue: read timeout removed for fd 39
12/23/2018 14:45:21 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 175 seconds
12/23/2018 14:45:21 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 180 seconds with function <bound method NonBlockingTransport.read_timeout2 of <nbxmpp.transports_nb.NonBlockingTCP object at 0x7f8f29462b00>>
12/23/2018 14:45:21 (I) nbxmpp.client_nb: raising event from transport: :::::DATA RECEIVED::::
_____________
<message to='MYJID@jabber.ccc.de/gajim.P0UTV5AE' from='prosody@conference.prosody.im/Corin' type='groupchat'><active xmlns='http://jabber.org/protocol/chatstates'/><no-store xmlns='urn:xmpp:hints'/><no-permanent-store xmlns='urn:xmpp:hints'/></message>
_____________
12/23/2018 14:45:21 (D) nbxmpp.smacks: IN, message
12/23/2018 14:45:21 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
12/23/2018 14:45:21 (I) nbxmpp.idlequeue: read timeout removed for fd 39
12/23/2018 14:45:21 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 175 seconds
12/23/2018 14:45:21 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 180 seconds with function <bound method NonBlockingTransport.read_timeout2 of <nbxmpp.transports_nb.NonBlockingTCP object at 0x7f8f29462b00>>
12/23/2018 14:45:21 (I) nbxmpp.client_nb: raising event from transport: :::::DATA RECEIVED::::
_____________
<r xmlns='urn:xmpp:sm:3'/>
_____________
12/23/2018 14:45:21 (D) nbxmpp.smacks: Send ack, h: 11580
12/23/2018 14:45:21 (I) nbxmpp.transports_nb: Plugging fd 39, W:False, R:True
12/23/2018 14:45:21 (I) nbxmpp.client_nb: raising event from transport: :::::DATA SENT::::
_____________
<a xmlns="urn:xmpp:sm:3" h="11580" />
_____________
12/23/2018 14:45:21 (I) nbxmpp.transports_nb: Plugging fd 39, W:True, R:True
12/23/2018 14:45:21 (I) nbxmpp.transports_nb: pollout called, state == CONNECTED
12/23/2018 14:45:21 (W) nbxmpp.transports_nb: calling send on empty buffer and queue
12/23/2018 14:45:21 (I) nbxmpp.transports_nb: Plugging fd 39, W:False, R:True
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout removed for fd 39
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 175 seconds
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 180 seconds with function <bound method NonBlockingTransport.read_timeout2 of <nbxmpp.transports_nb.NonBlockingTCP object at 0x7f8f29462b00>>
12/23/2018 14:45:24 (I) nbxmpp.client_nb: raising event from transport: :::::DATA RECEIVED::::
_____________
<presence xml:lang='en' to='MYJID@jabber.ccc.de/gajim.P0UTV5AE' from='chatsecure@conference.magicbroccoli.de/zak'><c xmlns='http://jabber.org/protocol/caps' ver='/xego4vdht8Z+u1EXSJRZWP9v2g=' node='http://conversations.im' hash='sha-1'/><x xmlns='vcard-temp:x:update'><photo/></x><x xmlns='http://jabber.org/protocol/muc#user'><item role='participant' affiliation='none'/></x></presence>
_____________
12/23/2018 14:45:24 (D) nbxmpp.smacks: IN, presence
12/23/2018 14:45:24 (D) gajim.avatar: Draw Groupchat Avatar: zak None
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout removed for fd 39
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 175 seconds
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 180 seconds with function <bound method NonBlockingTransport.read_timeout2 of <nbxmpp.transports_nb.NonBlockingTCP object at 0x7f8f29462b00>>
12/23/2018 14:45:24 (I) nbxmpp.client_nb: raising event from transport: :::::DATA RECEIVED::::
_____________
<r xmlns='urn:xmpp:sm:3'/>
_____________
12/23/2018 14:45:24 (D) nbxmpp.smacks: Send ack, h: 11581
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: Plugging fd 39, W:False, R:True
12/23/2018 14:45:24 (I) nbxmpp.client_nb: raising event from transport: :::::DATA SENT::::
_____________
<a xmlns="urn:xmpp:sm:3" h="11581" />
_____________
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: Plugging fd 39, W:True, R:True
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: pollout called, state == CONNECTED
12/23/2018 14:45:24 (W) nbxmpp.transports_nb: calling send on empty buffer and queue
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: Plugging fd 39, W:False, R:True
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout removed for fd 39
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 175 seconds
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 180 seconds with function <bound method NonBlockingTransport.read_timeout2 of <nbxmpp.transports_nb.NonBlockingTCP object at 0x7f8f29462b00>>
12/23/2018 14:45:24 (I) nbxmpp.client_nb: raising event from transport: :::::DATA RECEIVED::::
_____________
<message to='MYJID@jabber.ccc.de/gajim.P0UTV5AE' from='prosody@conference.prosody.im/Corin' type='groupchat'><composing xmlns='http://jabber.org/protocol/chatstates'/><no-store xmlns='urn:xmpp:hints'/><no-permanent-store xmlns='urn:xmpp:hints'/></message>
_____________
12/23/2018 14:45:24 (D) nbxmpp.smacks: IN, message
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout removed for fd 39
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 175 seconds
12/23/2018 14:45:24 (I) nbxmpp.idlequeue: read timeout set for fd 39 on 180 seconds with function <bound method NonBlockingTransport.read_timeout2 of <nbxmpp.transports_nb.NonBlockingTCP object at 0x7f8f29462b00>>
12/23/2018 14:45:24 (I) nbxmpp.client_nb: raising event from transport: :::::DATA RECEIVED::::
_____________
<r xmlns='urn:xmpp:sm:3'/>
_____________
12/23/2018 14:45:24 (D) nbxmpp.smacks: Send ack, h: 11582
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: Plugging fd 39, W:False, R:True
12/23/2018 14:45:24 (I) nbxmpp.client_nb: raising event from transport: :::::DATA SENT::::
_____________
<a xmlns="urn:xmpp:sm:3" h="11582" />
_____________
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: Plugging fd 39, W:True, R:True
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: pollout called, state == CONNECTED
12/23/2018 14:45:24 (W) nbxmpp.transports_nb: calling send on empty buffer and queue
12/23/2018 14:45:24 (I) nbxmpp.transports_nb: Plugging fd 39, W:False, R:True
12/23/2018 14:45:24 (W) gajim.c.m.ping: No reply received for keepalive ping. Reconnecting...
12/23/2018 14:45:24 (I) gajim.c.connection: Set state disconnected
[ no fd 40 and no trashserver.net anymore ]
```1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9534No network connection notification has unnecessary buttons on XFCE2019-12-05T13:42:06ZblippNo network connection notification has unnecessary buttons on XFCE## Versions
- OS: Arch Linux
- Gajim version: 1.1.0
- GTK version: 3.24.2
- Python-nbxmpp version: 0.6.8
I checked that the changelog of 1.1.1 didn't contain something that suggests that this has already been fixed in 1.1.1 sin...## Versions
- OS: Arch Linux
- Gajim version: 1.1.0
- GTK version: 3.24.2
- Python-nbxmpp version: 0.6.8
I checked that the changelog of 1.1.1 didn't contain something that suggests that this has already been fixed in 1.1.1 since 1.1.0.
## Steps to reproduce the problem
1. Start Gajim with internet connection not yet ready.
1. Get the dialog box in the screenshot, saying “Could not connect to …. Check your connection or try again later”. Actually for every account that is configured in Gajim.
## Expected behavior
A dialog box with clear choices. Probably one single “OK” button could be enough.
## Actual behavior
The three choices offered by the dialog box are not self-explanatory, i.e. it is not clear what happens for all of the three buttons “Open”, “Cancel”, “OK”.
![2019-01-09-11-46-34_1920x1200](/uploads/39274316b92c7138d24bd39ffe2501e0/2019-01-09-11-46-34_1920x1200.png)https://dev.gajim.org/gajim/gajim/-/issues/9565Network disconnect throws TypeError: disconnect() got an unexpected keyword a...2019-06-21T14:20:37ZMark TetrodeNetwork disconnect throws TypeError: disconnect() got an unexpected keyword argument 'err_message'## Versions
- OS: Linux
- GTK+ Version: 3.22.30
- PyGObject Version: 3.26.1
- python-nbxmpp Version: 0.6.4
- Gajim Version: 1.0.1
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GL...## Versions
- OS: Linux
- GTK+ Version: 3.22.30
- PyGObject Version: 3.26.1
- python-nbxmpp Version: 0.6.4
- Gajim Version: 1.0.1
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 747, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 563, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 422, in _process_events
obj.pollend()
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 476, in pollend
(self.server, self.port))
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 218, in _on_connect_failure
self.on_connect_failure(err_message=err_message)
TypeError: disconnect() got an unexpected keyword argument 'err_message'
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim/-/issues/9573Connecting to an onion service leaks DNS requests to clearnet2019-03-16T15:19:53ZGhost UserConnecting to an onion service leaks DNS requests to clearnetUpon connecting to any .onion account/server the client performs a DNS lookup for _xmppconnect.[...].onion which leaks the requested onion service to the users DNS resolver and its upstreams.
You can watch this happen by running `sudo t...Upon connecting to any .onion account/server the client performs a DNS lookup for _xmppconnect.[...].onion which leaks the requested onion service to the users DNS resolver and its upstreams.
You can watch this happen by running `sudo tcpdump udp port 53 -vv -X` in any terminal window and then connecting to any (valid or not) .onion.
I don't python, but a patch like the following should fix the issue
```patch
diff --git a/gajim/common/connection.py b/gajim/common/connection.py
index 571e00d30..90b0bafd0 100644
--- a/gajim/common/connection.py
+++ b/gajim/common/connection.py
@@ -1078,12 +1078,16 @@ class Connection(CommonConnection, ConnectionHandlers):
h = hostname
p = 5222
ssl_p = 5223
+ use_txt = True
if use_custom:
h = custom_h
p = custom_p
ssl_p = custom_p
if not self.redirected:
use_srv = False
+ if h.endswith('.onion'):
+ use_srv = False
+ use_txt = False
self.redirected = None
# SRV resolver
@@ -1095,7 +1099,7 @@ class Connection(CommonConnection, ConnectionHandlers):
]
self._hostname = hostname
- if h:
+ if h and use_txt:
app.resolver.resolve('_xmppconnect.' + helpers.idn_to_ascii(h),
self._on_resolve_txt, type_='txt')
```https://dev.gajim.org/gajim/gajim/-/issues/9607Connection Manager didn't respond within 30 + 3 seconds --> forcing disconnect2020-03-11T19:47:34ZThomas McWorkConnection Manager didn't respond within 30 + 3 seconds --> forcing disconnect**Please first check if another issue has been opened for your problem:** ✓
## Versions
- OS: Xubuntu 18.04.2
- Gajim version: 1.1.0
- GTK version: 3.22.30
- Python-nbxmpp version: 0.6.10
- Server: Prosody 0.10.2 on Debian 8
...**Please first check if another issue has been opened for your problem:** ✓
## Versions
- OS: Xubuntu 18.04.2
- Gajim version: 1.1.0
- GTK version: 3.22.30
- Python-nbxmpp version: 0.6.10
- Server: Prosody 0.10.2 on Debian 8
## Steps to reproduce the problem
1. Have an account with BOSH connection
1. Send system in suspend mode (aka sleep mode / suspend to RAM)
1. Wake up and wait for the account to reconnect
## Expected behavior
The connection being established as it is on a fresh start of gajim.
## Actual behavior
The connection cannot be established. The log says:
01.03.2019 13:58:07 (E) nbxmpp.bosh Connection Manager didn't respond within 30 + 3 seconds --> forcing disconnect
I' happy to provide more details if required.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9614Bosh not working2019-03-10T08:03:24ZTyler JamesBosh not working## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.9
- Gajim Version: 1.1.2
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_r...## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.9
- Gajim Version: 1.1.2
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/gui_interface.py", line 2231, in autoconnect
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/roster_window.py", line 2309, in get_status_message
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/gui_interface.py", line 2228, in on_message
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/roster_window.py", line 2122, in send_status
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/roster_window.py", line 2171, in send_status_continue
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 465, in change_status
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 1442, in connect_and_init
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 1437, in connect_and_auth
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 922, in connect
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 1019, in _connect_to_next_host
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 1019, in _connect_to_next_host
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 1057, in _connect_to_next_host
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/gajim/common/connection.py", line 1071, in on_client_cert_passphrase
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/nbxmpp/client_nb.py", line 227, in connect
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/nbxmpp/plugin.py", line 97, in get_instance
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw32/lib/python3.7/site-packages/nbxmpp/bosh.py", line 47, in __init__
AttributeError: 'NonBlockingBOSH' object has no attribute '_owner'
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim/-/issues/9631Wifi went away, Gajim raised AttributeError: 'NoneType' object has no attribu...2020-03-11T17:44:05ZDaniel BrötzmannWifi went away, Gajim raised AttributeError: 'NoneType' object has no attribute 'set_send_timeout'## Versions
- OS: Manjaro Linux
- GTK+ Version: 3.24.5
- PyGObject Version: 3.30.4
- GLib Version : 2.58.2
- python-nbxmpp Version: 0.9.91
- Gajim Version: 1.1.92
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/pyth...## Versions
- OS: Manjaro Linux
- GTK+ Version: 3.24.5
- PyGObject Version: 3.30.4
- GLib Version : 2.58.2
- python-nbxmpp Version: 0.9.91
- Gajim Version: 1.1.92
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/nbxmpp-0.9.91-py3.7.egg/nbxmpp/dispatcher.py", line 623, in dispatch
handler['func'](session, stanza)
File "/usr/lib/python3.7/site-packages/nbxmpp-0.9.91-py3.7.egg/nbxmpp/smacks.py", line 201, in _on_resumed
self._owner.Dispatcher.Event(Realm.CONNECTING, Event.RESUME_SUCCESSFUL)
File "/usr/lib/python3.7/site-packages/nbxmpp-0.9.91-py3.7.egg/nbxmpp/dispatcher.py", line 483, in Event
self._eventHandler(realm, event, data)
File "/usr/lib/python3.7/site-packages/gajim/common/connection.py", line 738, in _event_dispatcher
self._on_resume_successful()
File "/usr/lib/python3.7/site-packages/gajim/common/connection.py", line 1394, in _on_resume_successful
self._set_send_timeouts()
File "/usr/lib/python3.7/site-packages/gajim/common/connection.py", line 1426, in _set_send_timeouts
self.connection.set_send_timeout(keep_alive_seconds,
AttributeError: 'NoneType' object has no attribute 'set_send_timeout'
```
## Steps to reproduce the problem
Wifi connection lost connectivity (maybe twice during reconnecting).https://dev.gajim.org/gajim/gajim/-/issues/9731Error when resume from sleep2020-03-12T22:55:14ZandyError when resume from sleep## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.32.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_...## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.32.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/nbxmpp/dispatcher_nb.py", line 502, in dispatch
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/modules/presence.py", line 62, in _presence_received
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/nec.py", line 74, in push_incoming_event
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/nec.py", line 96, in _generate_events_based_on_incoming_event
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/connection_handlers_events.py", line 269, in generate
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/nec.py", line 72, in push_incoming_event
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/connection_handlers_events.py", line 318, in generate
AttributeError: 'PresenceReceivedEvent' object has no attribute 'resource'
```
## Steps to reproduce the problem
...1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9788SMACKS resume fails and MAM query fails, too2020-03-18T09:54:01ZThilo MolitorSMACKS resume fails and MAM query fails, too**Please first check if another issue has been opened for your problem**
## Versions
- OS: Linux
- Gajim version: 1.1.3+b63dd2ed8
- GTK version: GTK+ Version: 3.22.11
- Python-nbxmpp version: 0.6.10
## Steps to reproduce the p...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Linux
- Gajim version: 1.1.3+b63dd2ed8
- GTK version: GTK+ Version: 3.22.11
- Python-nbxmpp version: 0.6.10
## Steps to reproduce the problem
1. Use gajim normally
2. Put laptop in suspend to ram state
3. Wake it up later without network
4. Restore networking 1-2 minutes later
## Expected behavior
Resume active smacks session (but this is never tried).
If not smacks resuming or the resume failed: retrieve messages since last received one from mam:2
## Actual behavior
No smacks resume and mam requests only for muc (one request per muc), but not for single chat.
I could not reproduce the issue by blocking network access, don't know what caused smack resume to not being tried (maybe it connected but network went away in between while authenticating and that's why it didn't try to resume later).
But I could reproduce the mam behaviour by blocking gajim's network access, closing the c2s stream on the server, sending some messages to the contact and then releasing gajim's network blocking again.
Nothing gets retrieved via mam.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9793UnboundLocalError: local variable 'use_srv' referenced before assignment2022-12-16T11:21:14ZsnakedyeUnboundLocalError: local variable 'use_srv' referenced before assignment## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.32.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_...## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.32.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/gui_interface.py", line 2251, in process_connections
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/nbxmpp/idlequeue.py", line 505, in process
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/nbxmpp/idlequeue.py", line 348, in _check_time_events
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/connection.py", line 1894, in _reconnect_alarm
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/connection.py", line 621, in reconnect
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/connection.py", line 1441, in connect_and_init
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/connection.py", line 1436, in connect_and_auth
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/gajim/common/connection.py", line 908, in connect
UnboundLocalError: local variable 'use_srv' referenced before assignment
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim/-/issues/9813Proxy SOCKS5 fail to connect2019-11-28T14:53:56ZЕвгений ДомбровскийProxy SOCKS5 fail to connect## Versions
- OS:Windows 7 x64
- Gajim version: 1.1.3
- GTK version: 3.24.1
- Python-nbxmpp version: 0.6.10
## Steps to reproduce the problem
1. install socks5 proxy (Dante)
2. in connections setup proxy type socks5 (ip/p...## Versions
- OS:Windows 7 x64
- Gajim version: 1.1.3
- GTK version: 3.24.1
- Python-nbxmpp version: 0.6.10
## Steps to reproduce the problem
1. install socks5 proxy (Dante)
2. in connections setup proxy type socks5 (ip/port) no auth
3. try to connect to server
## Expected behavior
Successful connection (Pidgin does)
## Actual behavior
Client are closing tcp session to proxy server[socks5.pcap](/uploads/e872bf16dfefbb2662b9dae8ad5f70d3/socks5.pcap)[debug.txt](/uploads/53275f12ac5559629614e365606be295/debug.txt)https://dev.gajim.org/gajim/gajim/-/issues/9824Add auto reconnect setting2020-03-12T22:41:52ZMichaelAdd auto reconnect settingGajim - latest stable on windows
Prosody - latest stable
Mobile laptop user here - frequently connecting/disconnecting/switching-networks/etc (which is more common these days). Furthermore, connecting to my prosody server requires a VP...Gajim - latest stable on windows
Prosody - latest stable
Mobile laptop user here - frequently connecting/disconnecting/switching-networks/etc (which is more common these days). Furthermore, connecting to my prosody server requires a VPN connection or a port knock (i.e. not accessible by default)
It would RULE if there was an option in gajim, which could default to off, whereby when disconnected, it would just keep trying every N seconds. In other words, no need to be smart about it (which I appreciate is the default) if this option is enabled - just plain old dumb keep trying until successful.
It is also worth pointing out that google.com lists "gajim reconnect" and "gajim auto reconnect" as search phrase auto-completions - potentially indicating that I am not the only one who would appreciate this feature.1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9828Nightly does not go online on startup 50% of time (ubuntu with cinnamon)2019-09-14T11:52:38ZEugene CrosserNightly does not go online on startup 50% of time (ubuntu with cinnamon)## Versions
- OS: ubuntu eoan (also happened with previous releases), cinnamon desktop 3.8.2
- Gajim version: nightly dev build
- GTK version: 2.24.32
- Python-nbxmpp version: nightly
## Steps to reproduce the problem
Happen...## Versions
- OS: ubuntu eoan (also happened with previous releases), cinnamon desktop 3.8.2
- Gajim version: nightly dev build
- GTK version: 2.24.32
- Python-nbxmpp version: nightly
## Steps to reproduce the problem
Happens often but not every time on login to cinnamon session
## Expected behavior
gajim should always go online (when the server(s) is reachable)
## Actual behavior
half of the time, after start account(s) are in "Offline" status after login into desktop.
Account will *always* become online after:
- manually setting "Available" status
- stopping and starting Gajim
Gajim is autostarted in the session via "standard" way: there exists the file `.config/autostart/org.gajim.Gajim.desktop` in the home directory.
I am not observing this behaviour with the version that comes with the distro on ubuntu disco (1.1.3?). And this did not happen when I initially switched to gajim nightly, but rather some time after. Unfortunately I cannot tell when exactly.
Tell me if I can collect more data for diagnosis.https://dev.gajim.org/gajim/gajim/-/issues/9841UnicodeDecodeError with Zeroconf: 'utf-8' codec can't decode byte 0xff in pos...2022-01-21T08:54:56ZdaltekUnicodeDecodeError with Zeroconf: 'utf-8' codec can't decode byte 0xff in position 28: invalid start byte## Versions
- OS: Debian GNU/Linux 10 (buster)
- GTK+ Version: 3.24.5
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.2
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-p...## Versions
- OS: Debian GNU/Linux 10 (buster)
- GTK+ Version: 3.24.5
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.2
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 662, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 563, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 411, in _process_events
obj.pollin()
File "/usr/lib/python3/dist-packages/gajim/common/zeroconf/client_zeroconf.py", line 537, in pollin
received = received.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 28: invalid start byte
```
## Steps to reproduce the problem
...
I was running nmap on my local network (as well as having too many tabs open as usual).
I had 2 xmpp accounts logged in (quite usual), had chatted a little, but had been idle for an hour or 2 when the problem occurred shortly after starting nmap.
Hope this helps, and __thanks to you all__ for a great client.1.4.0https://dev.gajim.org/gajim/gajim/-/issues/9873KeyError: 'type' in _connect_to_next_host2019-11-09T20:03:33ZbodqhrohroKeyError: 'type' in _connect_to_next_host## Versions
- OS: Debian GNU/Linux bullseye/sid
- GTK+ Version: 3.24.12
- PyGObject Version: 3.34.0
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist...## Versions
- OS: Debian GNU/Linux bullseye/sid
- GTK+ Version: 3.24.12
- PyGObject Version: 3.34.0
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 664, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 563, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 411, in _process_events
obj.pollin()
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 451, in pollin
self._do_receive()
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 640, in _do_receive
self.disconnect()
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 497, in disconnect
NonBlockingTransport.disconnect(self, do_callback)
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 229, in disconnect
self.on_disconnect()
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 145, in disconnect
self.on_connect_failure()
File "/usr/lib/python3/dist-packages/gajim/common/connection.py", line 1015, in _connect_to_next_host
if host['type'] not in connection_types:
KeyError: 'type'
```
## Steps to reproduce the problem
Don't know, it just popped up occasionally while Gajim was running. Several minutes before that I sent a message.https://dev.gajim.org/gajim/gajim/-/issues/9880Error when connect on network with captive portal2019-11-04T14:35:18ZtuxayoError when connect on network with captive portal## Versions
- OS: Antergos Linux
- GTK+ Version: 3.24.12
- PyGObject Version: 3.34.0
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3.7/site-pa...## Versions
- OS: Antergos Linux
- GTK+ Version: 3.24.12
- PyGObject Version: 3.34.0
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 661, in _do_receive
received = decode_py2(received, 'utf-8')
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 91, in decode_py2
string = string.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xad in position 454: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/gi/overrides/GLib.py", line 664, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
File "/usr/lib/python3.7/site-packages/nbxmpp/idlequeue.py", line 563, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python3.7/site-packages/nbxmpp/idlequeue.py", line 411, in _process_events
obj.pollin()
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 451, in pollin
self._do_receive()
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 671, in _do_receive
received = decode_py2(received, 'utf-8')
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 91, in decode_py2
string = string.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xad in position 454: invalid start byte
```
## Steps to reproduce the problem
I didn't retried but here is what happened:
- everything okay
- suspend system
- wake up system in a place without network
- (actually the error might be here, I'm not sure)
- connect to a network that has a captive portal
- get this error
https://dev.gajim.org/gajim/gajim/-/issues/9902Gajim fails to reconnect after network pause if proxy settings are configured2020-03-12T22:45:08ZJacob MurmonGajim fails to reconnect after network pause if proxy settings are configured**Please first check if another issue has been opened for your problem**
## Versions
- OS: Debian Buster
- Gajim version: 1.1.2
- GTK version: 3.24.5
- Python-nbxmpp version: 0.6.10
## Steps to reproduce the problem
1. Conf...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Debian Buster
- Gajim version: 1.1.2
- GTK version: 3.24.5
- Python-nbxmpp version: 0.6.10
## Steps to reproduce the problem
1. Configure proxy settings in Gajim to use tor network (you can use preconfigured tor settings)
2. Connect to your jabber server
3. Unplug internet from your computer
4. After several failed attempts to reconnect plug internet back in.
## Expected behavior
Gajim successfully reconnects to the xmpp account
## Actual behavior
There are no attempts to reconnect again to the server1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9909AttributeError: 'NonBlockingClient' object has no attribute 'start_disconnect'2020-03-11T17:41:59ZpitchumAttributeError: 'NonBlockingClient' object has no attribute 'start_disconnect'## Versions
- OS: Arch Linux
- GTK Version: 3.24.12
- PyGObject Version: 3.34.0
- GLib Version : 2.62.2
- python-nbxmpp Version: 0.9.93
- Gajim Version: 1.1.92
## Steps to reproduce the problem
1. Add an account on a server using an i...## Versions
- OS: Arch Linux
- GTK Version: 3.24.12
- PyGObject Version: 3.34.0
- GLib Version : 2.62.2
- python-nbxmpp Version: 0.9.93
- Gajim Version: 1.1.92
## Steps to reproduce the problem
1. Add an account on a server using an invalid certificate.
1. You should see a warning popup.
![screenshot_gajim_certificate_error](/uploads/4d72955bc65e315b5d28e6549e73a5ad/screenshot_gajim_certificate_error.png)
1. Click "Abort".
## Expected behavior
The popup should be closed.
## Actual behavior
The popup is still there and the above Exception is raised.https://dev.gajim.org/gajim/gajim/-/issues/9917AttributeError: 'NoneType' object has no attribute 'send'2020-03-14T09:07:41ZWaspAttributeError: 'NoneType' object has no attribute 'send'## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.32.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_...## Versions
- OS: Windows 10
- GTK+ Version: 3.24.1
- PyGObject Version: 3.32.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/nbxmpp/dispatcher_nb.py", line 502, in dispatch
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.7/site-packages/nbxmpp/smacks.py", line 113, in send_ack
AttributeError: 'NoneType' object has no attribute 'send'
```
## Steps to reproduce the problem
Getting laptop up from hibernation (S4 I guess) where *Gajim* was running before already.
Maybe also from interest: since a while, after hibernation, I noticed the Problem that contacts appear online while *Gajim* claims to be offline. Despite the confusion and inconvenience that you cannot recover fromt this state without a restart of *Gajim* noticed no further problems from it so far -- but maybe now..1.2.0https://dev.gajim.org/gajim/gajim/-/issues/9930Error while Reconnection to Server2020-01-18T11:45:16ZCitrodataError while Reconnection to ServerHi, I use Gajim Version 1.1.3 and when the Server restarts Gajim gives me the Error that in the function connect in the file gajim/common/connection.py the variable use_srv is missing in line.
I looked at the code for the connect functio...Hi, I use Gajim Version 1.1.3 and when the Server restarts Gajim gives me the Error that in the function connect in the file gajim/common/connection.py the variable use_srv is missing in line.
I looked at the code for the connect function and I saw that the if statement "if self.sm.resuming and self.sm.location:" is missing the use_srv definition.
Only add to the "if self.sm.resuming and self.sm.location:" statement and the error is removed.https://dev.gajim.org/gajim/gajim/-/issues/9987Roadmap Connection -> Client migration2020-10-12T22:27:25ZPhilipp Höristphilipp@hoerist.comRoadmap Connection -> Client migrationWith new nbxmpp.Client, the Connection class is rewritten from scratch, following things have to be fixed or rewritten
- [x] Fix IBR (Account Wizard)
- [x] Honor SOCKS5 Proxy setting
- [x] Fix ServerInfo Dialog UI
- [ ] ~~Test Zeroc...With new nbxmpp.Client, the Connection class is rewritten from scratch, following things have to be fixed or rewritten
- [x] Fix IBR (Account Wizard)
- [x] Honor SOCKS5 Proxy setting
- [x] Fix ServerInfo Dialog UI
- [ ] ~~Test Zeroconf, seems to not work for some reason~~ #10138
- [ ] ~~Fix Client Cert (needs implementing in nbxmpp)~~ #10139
- [ ] ~~Reimplement POSH~~ #10038
- [x] Accounts: Custom Host needs UI for setting type
- [x] Write method to close all account windows on disconnect
- [x] Remove USE_HTTP_ENV var UI (Not needed anymore)
- [x] Correctly shut Gajim down (It tries to send stanzas after we are already disconnected)
- [x] Adapt proxy window (Remove BOSH)
- [x] Accounts: Rework relogin after setting change
- [x] Check Plain Connection Dialog event
- [ ] ~~Make LoginD dbus module listen for shutdown instead of sleep~~ #10040
- [x] Fix removing account from server
- [x] Fix setting correct resource1.2.0https://dev.gajim.org/gajim/gajim/-/issues/10022AttributeError: 'NoneType' object has no attribute 'get_output_stream'2020-07-06T08:09:58ZAlexandria P.AttributeError: 'NoneType' object has no attribute 'get_output_stream'## Versions
- OS: Arch Linux
- GTK Version: 3.24.14
- PyGObject Version: 3.36.0
- GLib Version : 2.64.0
- python-nbxmpp Version: 0.9.94
- Gajim Version: 1.1.94
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3...## Versions
- OS: Arch Linux
- GTK Version: 3.24.14
- PyGObject Version: 3.36.0
- GLib Version : 2.64.0
- python-nbxmpp Version: 0.9.94
- Gajim Version: 1.1.94
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/nbxmpp/client.py", line 740, in _ping
self.send_stanza(iq, timeout=10, callback=self._on_pong)
File "/usr/lib/python3.8/site-packages/nbxmpp/client.py", line 504, in send_stanza
self._con.send(stanza, now)
File "/usr/lib/python3.8/site-packages/nbxmpp/tcp.py", line 302, in send
if not self._con.get_output_stream().has_pending():
AttributeError: 'NoneType' object has no attribute 'get_output_stream'
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim/-/issues/10249StatusIcon: Show connection lost icon when at least one account is not connected2021-12-13T22:15:45Zklbb3StatusIcon: Show connection lost icon when at least one account is not connected## Versions
- OS: Debian (Testing)
- Gajim version: 1.2.1
- GTK version: 3.24.22-1
- Python-nbxmpp version: 1.0.1-1
## Steps to reproduce the problem
1. Go online, see your contacts being online in your roster.
1. Lose the...## Versions
- OS: Debian (Testing)
- Gajim version: 1.2.1
- GTK version: 3.24.22-1
- Python-nbxmpp version: 1.0.1-1
## Steps to reproduce the problem
1. Go online, see your contacts being online in your roster.
1. Lose the connection to your server (because of some server-side issue).
## Expected behavior
When your account is offline, your contacts should not be listed as online in your roster.
It worked like this in versions older than 1.2.
## Actual behavior
While your account is offline (or trying to reconnect), your contacts are listed as online in your roster.
The only indication that you’ve lost the connection is your account line in your roster. With many accounts and many contacts, it’s easy to miss this. Seeing all the contacts being online let’s you assume that everything is fine.1.4.0https://dev.gajim.org/gajim/gajim/-/issues/10328Error after loss of internet connectivity2020-11-07T13:02:13ZEugene CrosserError after loss of internet connectivity## Versions
- OS: Ubuntu 20.10
- GTK Version: 3.24.23
- PyGObject Version: 3.38.0
- GLib Version : 2.66.0
- python-nbxmpp Version: 1.91.0
- Gajim Version: 1.2.91+784829645
## Traceback
```
Traceback (most recent call last):
File "/usr...## Versions
- OS: Ubuntu 20.10
- GTK Version: 3.24.23
- PyGObject Version: 3.38.0
- GLib Version : 2.66.0
- python-nbxmpp Version: 1.91.0
- Gajim Version: 1.2.91+784829645
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher.py", line 498, in _timeout_check
func(self._client, None, **user_data)
File "/usr/lib/python3/dist-packages/nbxmpp/task.py", line 313, in _async_finished
self._set_finished()
File "/usr/lib/python3/dist-packages/nbxmpp/task.py", line 214, in _set_finished
self._finalize()
File "/usr/lib/python3/dist-packages/nbxmpp/task.py", line 320, in _finalize
self._client._dispatcher.remove_iq_callback(self._iq_id)
AttributeError: 'NoneType' object has no attribute '_dispatcher'
```
## Steps to reproduce the problem
- Have gajim running
- Get the host disconnected from the Internet
- Wait
After a few minutes after loss of uplink connectivity, automated "send error report" window appears, and here is this report. After connectivity was restored, gajim continued to function normally, the incident did not break anything.https://dev.gajim.org/gajim/gajim/-/issues/10382Gajim react strangely on VPN state changes2022-10-04T15:14:35ZMartinGajim react strangely on VPN state changes## Versions
- OS: Debian 11 (testing, bullseye)
- Gajim version: `1.3.0~beta1-1`
- GTK version: `3.24.24-1`
- Python-nbxmpp version: `2.0.0-1`
## Steps to reproduce the problem
1. Start Gajim and connect to your account
1....## Versions
- OS: Debian 11 (testing, bullseye)
- Gajim version: `1.3.0~beta1-1`
- GTK version: `3.24.24-1`
- Python-nbxmpp version: `2.0.0-1`
## Steps to reproduce the problem
1. Start Gajim and connect to your account
1. Start a VPN, all traffic is routed via the VPN
## Expected behavior
Account still works, somehow.
## Actual behavior
Account is in a strange state, even disconnecting works only forcefully.
## Assumption
Gajim should react on starting and stopping a VPN.
## Example code
```python
#!/usr/bin/python3
import dbus
import dbus.mainloop.glib
import gi.repository.GLib
NM_ACTIVE_CONNECTION_STATE_ACTIVATING = 1
NM_ACTIVE_CONNECTION_STATE_ACTIVATED = 2
NM_ACTIVE_CONNECTION_STATE_DEACTIVATING = 3
NM_ACTIVE_CONNECTION_STATE_DEACTIVATED = 4
def vpn_connection_propertychanged_handler(properties):
state = properties.get("State")
if not state:
return
if state in [
NM_ACTIVE_CONNECTION_STATE_ACTIVATING,
NM_ACTIVE_CONNECTION_STATE_DEACTIVATING,
]:
print("disconnect")
elif state in [
NM_ACTIVE_CONNECTION_STATE_ACTIVATED,
NM_ACTIVE_CONNECTION_STATE_DEACTIVATED,
]:
print("reconnect")
if __name__ == "__main__":
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus()
bus.add_signal_receiver(
vpn_connection_propertychanged_handler,
dbus_interface="org.freedesktop.NetworkManager.VPN.Connection",
signal_name="PropertiesChanged",
)
loop = gi.repository.GLib.MainLoop()
loop.run()
```https://dev.gajim.org/gajim/gajim/-/issues/10444Gajim 1.3.0~beta2-1: Sends `<aborted/>` after receiving SASL mechanisms2021-02-14T15:15:02ZIvan VučicaGajim 1.3.0~beta2-1: Sends `<aborted/>` after receiving SASL mechanisms**Please first check if another issue has been opened for your problem**
## Versions
- OS: Debian testing (sort of)
- Gajim version: 1.3.0~beta2-1
- GTK version: 3.24.24-1+build1
- Python-nbxmpp version: 2.0.0-1
(all Debian pa...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Debian testing (sort of)
- Gajim version: 1.3.0~beta2-1
- GTK version: 3.24.24-1+build1
- Python-nbxmpp version: 2.0.0-1
(all Debian package versions)
## Steps to reproduce the problem
1. Have an account configured on 1.2.2 or earlier; upgrade
1. Attempt to connect while XML console is open
1. Observe Gajim sends back `<aborted/>` in response to receiving SASL mechanisms (`GSSAPI` + `PLAIN`)
See the log: https://gist.github.com/ivucica/4d5212f0c3e6503f685c1592012970d9
## Expected behavior
Gajim connects as it did with 1.2.2 and nbxmpp 1.0.2-1
## Actual behavior
Gajim does not connect and shows no proper UI.
It also shows a dbus notification with text _"malformed request"_.1.3.1https://dev.gajim.org/gajim/gajim/-/issues/10453Crash upon changing proxy2021-04-26T10:27:51ZRaghav Gururajanrg@raghavgururajan.nameCrash upon changing proxy## Platform
- OS: Guix
- Userspace: GNU
- Kernel: Linux-Libre
## Versions
- Gajim version: 1.3.0
- GTK version: 3.24.24
- GLib version: 2.62.6
- PyGObject version: 3.34.0
- Python-nbxmpp version: 2.0.1
## Steps to rep...## Platform
- OS: Guix
- Userspace: GNU
- Kernel: Linux-Libre
## Versions
- Gajim version: 1.3.0
- GTK version: 3.24.24
- GLib version: 2.62.6
- PyGObject version: 3.34.0
- Python-nbxmpp version: 2.0.1
## Steps to reproduce the problem
1. Start Gajim
2. Go to Accounts --> Modify Account
3. Go to Account Name --> Connection
4. Change Proxy between Tor and System
5. Press 'Esc' key until going back to roster
## Expected behavior
Successful re-connection.
## Actual behavior
Crash.
## Logs
Debug logging stops here after **every** crash:
```
(I) gajim.c.settings | Set account settings: raghavgururajan.name
(I) gajim.c.settings | Signal: proxy changed
(I) gajim.c.settings | Commit
```https://dev.gajim.org/gajim/gajim/-/issues/10541Unable to set a custom port in connection settings2021-09-14T14:21:00ZJohn SmithUnable to set a custom port in connection settings## Versions
- OS: Fedora 33 (Workstation Edition)
- GTK Version: 3.24.28
- PyGObject Version: 3.38.0
- GLib Version : 2.66.1
- python-nbxmpp Version: 3.0.0-dev1
- Gajim Version: 1.4.0-dev1
## Traceback
```
Traceback (most recent call la...## Versions
- OS: Fedora 33 (Workstation Edition)
- GTK Version: 3.24.28
- PyGObject Version: 3.38.0
- GLib Version : 2.66.1
- python-nbxmpp Version: 3.0.0-dev1
- Gajim Version: 1.4.0-dev1
## Traceback
```
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/gajim/gtk/settings.py", line 424, in on_text_change
self.set_value(text)
File "/usr/local/lib/python3.9/site-packages/gajim/gtk/settings.py", line 298, in set_value
app.settings.set_account_setting(self.account,
File "/usr/local/lib/python3.9/site-packages/gajim/common/settings.py", line 583, in set_account_setting
raise TypeError(f'Invalid type for {setting}: '
TypeError: Invalid type for custom_port: <class 'str'>
```
## Steps to reproduce the problem
1. Open account settings, open connection tab.
2. Open manual hostname & port setting window.
3. Try to enter a port.
...https://dev.gajim.org/gajim/gajim/-/issues/10562UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 100: inv...2022-05-03T15:33:48ZAvispaUnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 100: invalid start byte## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in p...## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 100: invalid start byte
```
## Steps to reproduce the problem
* Don't know, sit and wait?
* Computer was in a (soft?) sleep mode, came back after hours and there it was.1.4.0https://dev.gajim.org/gajim/gajim/-/issues/10563g_socket_client_enumerator_callback: assertion failed2021-10-11T20:59:32ZGeobert Quachg_socket_client_enumerator_callback: assertion failed
## Versions
- OS: Win 10
- Gajim version: 1.3.2 and nightly 18th May 2021
- GTK version: 3.24.29
- Python-nbxmpp version: 2.0.2
## Steps to reproduce the problem
1. Use Gajim to login proprietary XMPP server
## Expected ...
## Versions
- OS: Win 10
- Gajim version: 1.3.2 and nightly 18th May 2021
- GTK version: 3.24.29
- Python-nbxmpp version: 2.0.2
## Steps to reproduce the problem
1. Use Gajim to login proprietary XMPP server
## Expected behavior
No crash
## Actual behavior
Crash with:
```
18/05/2021 14:16:56 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.RESOLVED
18/05/2021 14:16:56 (I) nbxmpp.stream | (Account Wizard) Current address: ServerAddress(domain='my_company.com', service='xmpps-client', host=None, uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.DIRECT_TLS: 'DIRECT TLS'>, proxy=None)
18/05/2021 14:16:56 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.CONNECTING
18/05/2021 14:16:56 (I) nbxmpp.connection | (Account Wizard) Set Connection State: TCPState.CONNECTING
Bail out! GLib-GIO:ERROR:../glib-2.68.1/gio/gsocketclient.c:1938:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
```
I know there's an issue on our XMPP server still to be fixed (the <subject> thing in #10147) but Gajim didn't crash before. I was testing 1.3.2 by curiosity, and now it's crashinghttps://dev.gajim.org/gajim/gajim/-/issues/10574'utf-8' codec can't decode byte 0x92 in position 73: invalid start byte2021-05-27T17:30:46Zkouinkouin'utf-8' codec can't decode byte 0x92 in position 73: invalid start byte## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in p...## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 73: invalid start byte
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim/-/issues/10580Untrusted certificate from LetsEncrypt E12021-06-03T07:51:54ZCroax CroaxUntrusted certificate from LetsEncrypt E1## Versions
- OS: Windows 10
- Gajim version: 1.3.2
## Steps to reproduce the problem
1. Connect a server returning a LetsEncrypt certificate issued by "E1". Make sure to return fullchain.pem which contains three certificates i...## Versions
- OS: Windows 10
- Gajim version: 1.3.2
## Steps to reproduce the problem
1. Connect a server returning a LetsEncrypt certificate issued by "E1". Make sure to return fullchain.pem which contains three certificates issued by E1, X2, X1. So X1 is the anchor.
For further LE CA information https://letsencrypt.org/images/isrg-hierarchy.png
2. Connect your account
3. Notice apparition of certificate trust dialog
Remark: I can PM a test server with such a configuration.
## Expected behavior
Gajim should trust the certificate because the anchor (X1) is in the trust store (Local computer / Trusted Root Certification Authorities / Certificates / ISGR Root X1)
## Actual behavior
Gajim asks the user to manually enforce trust or reject.https://dev.gajim.org/gajim/gajim/-/issues/10604UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 49: inva...2023-11-26T22:01:13Zjescas85UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 49: invalid continuation byte## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in p...## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 49: invalid continuation byte
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim/-/issues/10766Exception when connecting to my movim.eu account2022-08-29T15:50:36ZMartinException when connecting to my movim.eu account## Versions
- OS: Debian GNU/Linux bookworm/sid
- GTK Version: 3.24.31-1
- PyGObject Version: 3.42.0-3
- GLib Version : 2.70.2-1
- python-nbxmpp Version: 3.0.0~dev1+20220201.ddfe6217-1
- Gajim Version: 1.4.0~dev1+20220201.4dd332d0-1
## ...## Versions
- OS: Debian GNU/Linux bookworm/sid
- GTK Version: 3.24.31-1
- PyGObject Version: 3.42.0-3
- GLib Version : 2.70.2-1
- python-nbxmpp Version: 3.0.0~dev1+20220201.ddfe6217-1
- Gajim Version: 1.4.0~dev1+20220201.4dd332d0-1
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/tcp.py", line 198, in _on_read_async_finish
data = stream.read_bytes_finish(result)
gi.repository.GLib.GError: g-tls-error-quark: Error reading data from TLS socket: Error decoding the received TLS packet. (1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/tcp.py", line 226, in _on_read_async_finish
self._finalize('disconnected')
File "/usr/lib/python3/dist-packages/nbxmpp/tcp.py", line 384, in _finalize
self.notify(signal_name)
File "/usr/lib/python3/dist-packages/nbxmpp/util.py", line 427, in notify
func(self, signal_name, *args, **kwargs)
File "/usr/lib/python3/dist-packages/nbxmpp/client.py", line 469, in _on_disconnected
self.notify('disconnected')
File "/usr/lib/python3/dist-packages/nbxmpp/util.py", line 427, in notify
func(self, signal_name, *args, **kwargs)
File "/usr/lib/python3/dist-packages/gajim/common/client.py", line 301, in _on_disconnected
self.notify('state-changed', SimpleClientState.RESUME_IN_PROGRESS)
File "/usr/lib/python3/dist-packages/gajim/common/helpers.py", line 1234, in notify
func(self, signal_name, *args, **kwargs)
File "/usr/lib/python3/dist-packages/gajim/gtk/status_selector.py", line 85, in _on_client_state_changed
self.update()
File "/usr/lib/python3/dist-packages/gajim/gtk/status_selector.py", line 139, in update
show = get_client_status(self._account)
File "/usr/lib/python3/dist-packages/gajim/common/helpers.py", line 501, in get_client_status
client = app.get_client(account)
File "/usr/lib/python3/dist-packages/gajim/common/app.py", line 145, in get_client
return connections[account]
KeyError: 'otherdomain.com'
```
## Steps to reproduce the problem
Try to connect my account on `movim.eu`
Exception window opens. Unfortunately every some seconds a new one, so that it was difficult to disable the account.
After disabling the account, the exceptions stopped.
(Note, that I have many IRC channels activated on that account.)https://dev.gajim.org/gajim/gajim/-/issues/10792SSL Certificate Error with clients v1.3.3 and nightly builds2022-03-24T09:44:44Zsando38SSL Certificate Error with clients v1.3.3 and nightly buildsDear team,
I updated my TLS certificates for ejabberd xmpp server. Users trying to connect to the server having following error message:
![image_2022-03-07_21-32-49](/uploads/b6a84930cafb17a4a687eb4a40b515ca/image_2022-03-07_21-32-49.pn...Dear team,
I updated my TLS certificates for ejabberd xmpp server. Users trying to connect to the server having following error message:
![image_2022-03-07_21-32-49](/uploads/b6a84930cafb17a4a687eb4a40b515ca/image_2022-03-07_21-32-49.png)
The odd thing is, when I downgrade to gajim v1.3.2, it works fine. But v1.3.3 and nightly builds it does not work. According to the [IM Observatory Test](https://www.xmpp.net/result.php?domain=rm3811.net&type=client), certificate does not have any issues. Also other clients like BeagleIM, SiskinIM, Converations, McCabber show no signs/ errors.
If you need anything else from me for investigations, please let me know. I can also provide you a test account to the xmpp server.
Thanks already in advance and wish you a great day!https://dev.gajim.org/gajim/gajim/-/issues/10797Can't accept self-signed certificate (You click add then connect, it still re...2022-03-21T23:05:08ZJean-Francois PerreaultCan't accept self-signed certificate (You click add then connect, it still refuses)![image](/uploads/d19df844efd448ca40ce592e3d700a2e/image.png)
As per the above screenshot
connecting to ejabberd with self-signed certificate
During connection there is "The signing certificate authority is not known" error
I click "...![image](/uploads/d19df844efd448ca40ce592e3d700a2e/image.png)
As per the above screenshot
connecting to ejabberd with self-signed certificate
During connection there is "The signing certificate authority is not known" error
I click "Add this certificate to the list of trusted certificates"
Then connect becomes available
Then it asks again !https://dev.gajim.org/gajim/gajim/-/issues/10941Could not connect to the server via SOCKS5 proxy2022-08-23T11:42:30Zbgrprtr bgrprtrCould not connect to the server via SOCKS5 proxy## Versions
- OS: Linux
- Gajim version: 1.4.3
- GTK version: 3.24.34
- Python-nbxmpp version: 3.0.2
## Steps to reproduce the problem
1. Gajim -> Preferences -> Advenced -> Global Proxy -> My SOCKS5 proxy
1. Offline
1. ...## Versions
- OS: Linux
- Gajim version: 1.4.3
- GTK version: 3.24.34
- Python-nbxmpp version: 3.0.2
## Steps to reproduce the problem
1. Gajim -> Preferences -> Advenced -> Global Proxy -> My SOCKS5 proxy
1. Offline
1. Online
## Expected behavior
The gajim connects to the XMPP server via SOCKS5 proxy.
## Actual behavior
The gajim is trying to connect forever, the debug log looks like:
06/03/2022 01:34:08 (I) nbxmpp.addresses | Signal: resolved
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Domain resolved
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) ServerAddress(domain='xmpp.server', service='xmpps-client', host=None, uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.DIRECT_TLS: 'DIRECT TLS'>, proxy=None)
ServerAddress(domain='xmpp.server', service='xmpp-client', host=None, uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.START_TLS: 'START TLS'>, proxy=None)
ServerAddress(domain='xmpp.server', service='xmpp-client', host=None, uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.PLAIN: 'PLAIN'>, proxy=None)
ServerAddress(domain='xmpp.server', service=None, host='xmpp.server:5222', uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.START_TLS: 'START TLS'>, proxy=None)
ServerAddress(domain='xmpp.server', service=None, host='xmpp.server:5222', uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.PLAIN: 'PLAIN'>, proxy=None)
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Set state: StreamState.RESOLVED
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Current address: ServerAddress(domain='xmpp.server', service=None, host='xmpp.server:5222', uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.START_TLS: 'START TLS'>, proxy=ProxyData(type='socks5', host='proxy:8000', username=None, password=None))
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Set state: StreamState.CONNECTING
06/03/2022 01:34:08 (I) nbxmpp.connection | (xmpp.server) Set Connection State: TCPState.CONNECTING
06/03/2022 01:34:08 (I) nbxmpp.connection | (xmpp.server) Connecting to proxy (proxy:8000)
06/03/2022 01:34:08 (I) nbxmpp.connection | (xmpp.server) Connect Error: g-io-error-quark: Connection to SOCKSv5 proxy server lost (44)
06/03/2022 01:34:08 (I) nbxmpp.connection | (xmpp.server) Set Connection State: TCPState.DISCONNECTED
06/03/2022 01:34:08 (I) nbxmpp.connection | (xmpp.server) Signal: connection-failed
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Set state: StreamState.DISCONNECTED
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Set state: StreamState.DISCONNECTED
06/03/2022 01:34:08 (E) nbxmpp.stream | (xmpp.server) Unable to connect to xmpp.server
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Set error: StreamError.CONNECTION_FAILED, connection-failed, Unable to connect to xmpp.server
06/03/2022 01:34:08 (I) nbxmpp.stream | (xmpp.server) Signal: connection-failed
06/03/2022 01:34:08 (I) gajim.client | State: ClientState.RECONNECT_SCHEDULED
06/03/2022 01:34:08 (I) gajim.client | Reconnect to xmpp.server in 3s
06/03/2022 01:34:08 (I) gajim.c.settings | Commit
The XMPP server and proxy address were changed.https://dev.gajim.org/gajim/gajim/-/issues/11219gajim fails to trust ubuntu prosody SSL certificate2022-10-17T21:21:33Zdiode24gajim fails to trust ubuntu prosody SSL certificate- OS version: ubuntu 22.04
- gajim version: gajim-default-nightly 20221014-1
- GTK Version: 3.24.33
- GLib Version: 2.71.3
- Pango Version: 1.50.6
- PyGObject Version: 3.42.1
- cairo Version: 1.16.0
- pycairo Version: 1.20.1
- python-nbx...- OS version: ubuntu 22.04
- gajim version: gajim-default-nightly 20221014-1
- GTK Version: 3.24.33
- GLib Version: 2.71.3
- Pango Version: 1.50.6
- PyGObject Version: 3.42.1
- cairo Version: 1.16.0
- pycairo Version: 1.20.1
- python-nbxmpp Version: 3.2.4
# Steps to reproduce
1. `apt install prosody prosody-modules`
2. `prosodyctl adduser user1@localhost`
3. in gajim: accounts > add account
4. enter login details for "user1@localhost" and click login
5. warning appears "Certificate Verification Failed"
6. check box "Add to Trusted Certificates"
7. click "Log In" button
8. window shows "Account has been added successfully"
9. in this window, set account name and click on "connect"
10. window pops up "SSL Certificate Verification Error", "identified error: the signing certificate authority is not known"
11. check box "add this certificate to the list of trusted certificates"
12. click connect button
13. the same last SSL error window appears again, checking the box "add this certificate to the list of trusted certificates" has no effect, error repeats
The default certs included with the prosody package are links:
- /etc/prosody/certs/localhost.crt -> /etc/ssl/certs/ssl-cert-snakeoil.pem
- /etc/prosody/certs/localhost.key -> /etc/ssl/private/ssl-cert-snakeoil.key
![gajim-ssl-error-first](/uploads/73516793580995d5c6261559b0961615/gajim-ssl-error-first.png)
![gajim-ssl-error-second](/uploads/4a1aceac670ad4259c3da97ea34551be/gajim-ssl-error-second.png)1.5.3https://dev.gajim.org/gajim/gajim/-/issues/11220fails to trust self-signed cert on first try2022-10-17T21:21:27Zdiode24fails to trust self-signed cert on first try- OS version: ubuntu 22.04
- gajim version: gajim-default-nightly 20221014-1
- GTK Version: 3.24.33
- GLib Version: 2.71.3
- Pango Version: 1.50.6
- PyGObject Version: 3.42.1
- cairo Version: 1.16.0
- pycairo Version: 1.20.1
- python-nbx...- OS version: ubuntu 22.04
- gajim version: gajim-default-nightly 20221014-1
- GTK Version: 3.24.33
- GLib Version: 2.71.3
- Pango Version: 1.50.6
- PyGObject Version: 3.42.1
- cairo Version: 1.16.0
- pycairo Version: 1.20.1
- python-nbxmpp Version: 3.2.4
# Steps to reproduce
1. `apt install prosody prosody-modules`
2. `prosodyctl adduser user1@localhost`
3. `prosodyctl cert generate localhost`
4. `cp /var/lib/prosody/localhost.* /etc/prosody/certs`
5. `chmod 640 /etc/prosody/certs/localhost.*`
5. `chown root:prosody /etc/prosody/certs/localhost.*`
6. `systemctl restart prosody`
7. in gajim: accounts > add account
8. enter login details for "user1@localhost" and click login
9. warning appears "Certificate Verification Failed"
10. DO NOT click check box "Add to Trusted Certificates"
11. click "Log In" button
12. window shows "Account has been added successfully"
13. in this window, set account name and click on "connect"
14. window pops up "SSL Certificate Verification Error", "identified error: the signing certificate authority is not known"
15. click check box "add this certificate to the list of trusted certificates"
16. second time window pops up "SSL Certificate Verification Error", "identified error: the signing certificate authority is not known"
17. again, click check box "add this certificate to the list of trusted certificates"
18. process complete
# Expected behavior
I expect to only choose to accept the SSL certificate once.
# Actual behavior
After choosing to accept the certificate the first time, gajim saves the cert in `~/.local/share/gajim/cert_store`. After choosing to accept the second time it also saves a new file in the same directory.1.5.3https://dev.gajim.org/gajim/gajim/-/issues/11231gajim crashed when trying to access details of a disconnected muc2023-06-02T14:35:31ZPirate Praveen Arimbrathodiyilgajim crashed when trying to access details of a disconnected muc## Versions:
- OS: Debian GNU/Linux bookworm/sid n/a (bookworm)
- GTK Version: 3.24.34
- PyGObject Version: 3.42.2
- GLib Version : 2.74.0
- python-nbxmpp Version: 3.2.4
- Gajim Version: 1.5.2
## Traceback
```
Traceback (most recent cal...## Versions:
- OS: Debian GNU/Linux bookworm/sid n/a (bookworm)
- GTK Version: 3.24.34
- PyGObject Version: 3.42.2
- GLib Version : 2.74.0
- python-nbxmpp Version: 3.2.4
- Gajim Version: 1.5.2
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/chat_stack.py", line 577, in _on_action
open_window('GroupchatDetails', contact=contact)
File "/usr/lib/python3/dist-packages/gajim/gtk/util.py", line 700, in open_window
window = window_cls(**kwargs)
File "/usr/lib/python3/dist-packages/gajim/gtk/groupchat_details.py", line 74, in __init__
self._add_groupchat_manage()
File "/usr/lib/python3/dist-packages/gajim/gtk/groupchat_details.py", line 136, in _add_groupchat_manage
self._groupchat_manage = GroupchatManage(self.account,
File "/usr/lib/python3/dist-packages/gajim/gtk/groupchat_manage.py", line 64, in __init__
self._prepare_manage()
File "/usr/lib/python3/dist-packages/gajim/gtk/groupchat_manage.py", line 134, in _prepare_manage
assert self_contact
AssertionError
```
## Steps to reproduce the problem
In an MUC with a status "You left this group chat Join" status trying access details gave a crash. This group was not left manually but probably due to bad connection this was in this state. This could be another bug, where mucs with disconnected state should be highlighted and offered to rejoin.1.8.1https://dev.gajim.org/gajim/gajim/-/issues/11452AccountWizard: Proxy setting not honored2023-05-05T20:53:34ZkalikoAccountWizard: Proxy setting not honored## Versions
- OS: windows (Portable install)
- Gajim version: 1.7.2
- GTK version:
- Python-nbxmpp version:
## Steps to reproduce the problem
1. Set a global HTTP proxy (no auth)
1. Select the proxy
1. Register a new a...## Versions
- OS: windows (Portable install)
- Gajim version: 1.7.2
- GTK version:
- Python-nbxmpp version:
## Steps to reproduce the problem
1. Set a global HTTP proxy (no auth)
1. Select the proxy
1. Register a new account on a server with xep-0156 HTTP Lookup Method
## Expected behavior
Connect with xep-0156 HTTP Lookup Method using a proxy.
## Actual behavior
From the log (cf. attached) I can see nbxmpp.http is creating requests for two http resources (`updates.json` and `package_index.json`), these requests succeed.
Then I add my account and the request on the `.well-known/host-meta` clearly fails on a timeout.
I can confirm that going through the proxy to fetch this resource is working fine outside gajim.
I had to set a proxy explicitly because I think gajim is not grabbing system exposed proxy (env. var.).
At least, when I set the proxy in gajim I can see some http requests going through (updates and package_index).
[gajim.log](/uploads/a87c305b371a36cb96e2768211a47147/gajim.log)1.8.0https://dev.gajim.org/gajim/gajim/-/issues/11515“The Certificate does not match the expected identity of the Site”2023-05-09T10:59:31Zcocker cc“The Certificate does not match the expected identity of the Site”## Versions
- OS: `Fedora 38`
- Gajim version: `1.7.3`
- GTK version: `gtk3.x86_64 3.24.37-1.fc38`, `gtk4.x86_64 4.10.3-2.fc38`
- Python-nbxmpp version: `python3-nbxmpp.noarch 4.2.2-1.fc38`
## Steps to reproduce the problem
...## Versions
- OS: `Fedora 38`
- Gajim version: `1.7.3`
- GTK version: `gtk3.x86_64 3.24.37-1.fc38`, `gtk4.x86_64 4.10.3-2.fc38`
- Python-nbxmpp version: `python3-nbxmpp.noarch 4.2.2-1.fc38`
## Steps to reproduce the problem
1. have a pure Chat-Server `xmpp.example.com` (Prosody here), with “pure” I mean: the Webserver for the Domain `example.com` points to a different IP-Address
1. have Cert from Letsencrypt, containing only `xmpp.example.com`, because `example.com` is not reachable for `certbot`
1. have DNS-Entries
`_xmpp-client._tcp.example.com. 3600 IN SRV 0 5 5222 xmpp.example.com.`
`_xmpps-client._tcp.example.com. 3600 IN SRV 0 5 5223 xmpp.example.com.`
1. have a JID `test123@example.com` (not `test123@xmpp.example.com`)
## Expected behavior
1. Gajim should pick up the `SRV`-Entries and connect to `xmpp.example.com`, which it does 👍. I can recognize the Cert's Serial in the Pop-Up
1. Gajim should accept the Cert for `xmpp.example.com`, without having to tick `Connection/Hostname` and to specify `xmpp.example.com`, as this is redundant with the `SRV`-Entry.
1. Gajim should accept the Cert for `xmpp.example.com` at all
## Actual behavior
Gajim complains:
“SSL-Certificate-Verification-Error
There was an Error while attempting to verify the SSL-Certificate of your XMPP-Server (example.com)
Identified Error
The Certificate does not match the expected identity of the Site”
Of course `example.com` is not in the Certificate. It cannot be there. My Understanding was, that this is the whole Point of the `SRV`-Entries.
Two additional Notes:
1. “Conversations” works for me, even if I also have to specify the exact Servername. But at least it accepts the Cert then. ([Issue there](https://codeberg.org/iNPUTmice/Conversations/issues/50))
2. Server2Server-Communication behaves exactly as it should. A Message from `test456@jabber.de` directed to `test123@example.com` knows which Server to contact, according to the `SRV`-Entries