python-nbxmpp issues
https://dev.gajim.org/gajim/python-nbxmpp/-/issues
2023-10-22T09:42:16Z
https://dev.gajim.org/gajim/python-nbxmpp/-/issues/152
AttributeError: 'TcpConnection' object has no attribute 'get_base_io_stream'
2023-10-22T09:42:16Z
Daniel Brötzmann
AttributeError: 'TcpConnection' object has no attribute 'get_base_io_stream'
# Error Details:
- Sentry event: https://sentry.io/gajim-aec982731/gajim/issues/4536174894
- First seen:
2023-10-09T15:57:19+00:00
- Last seen: 2023-10-09T15:57:19+00:00
- Event: 1
- Users: 0
# Error Details:
- Sentry event: https://sentry.io/gajim-aec982731/gajim/issues/4536174894
- First seen:
2023-10-09T15:57:19+00:00
- Last seen: 2023-10-09T15:57:19+00:00
- Event: 1
- Users: 0
https://dev.gajim.org/gajim/python-nbxmpp/-/issues/135
GError: g-tls-error-quark: TLS connection closed unexpectedly (6)
2024-03-16T09:34:53Z
Jorge Gomez
GError: g-tls-error-quark: TLS connection closed unexpectedly (6)
## Versions:
- OS: Linux 6.0.12
- GTK Version: 3.24.30
- PyGObject Version: 3.40.1
- GLib Version : 2.70.2
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.6
## Traceback
```
Traceback (most recent call last):
File "/gnu/store/lsfw...
## Versions:
- OS: Linux 6.0.12
- GTK Version: 3.24.30
- PyGObject Version: 3.40.1
- GLib Version : 2.70.2
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.6
## Traceback
```
Traceback (most recent call last):
File "/gnu/store/lsfwppir7mgkn4xacw7af19y0xwhsg84-python-nbxmpp-3.1.0/lib/python3.9/site-packages/nbxmpp/tcp.py", line 197, in _on_read_async_finish
data = stream.read_bytes_finish(result)
gi.repository.GLib.GError: g-tls-error-quark: TLS connection closed unexpectedly (6)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/gnu/store/lsfwppir7mgkn4xacw7af19y0xwhsg84-python-nbxmpp-3.1.0/lib/python3.9/site-packages/nbxmpp/tcp.py", line 213, in _on_read_async_finish
self._finalize('disconnected')
File "/gnu/store/lsfwppir7mgkn4xacw7af19y0xwhsg84-python-nbxmpp-3.1.0/lib/python3.9/site-packages/nbxmpp/tcp.py", line 383, in _finalize
self.notify(signal_name)
File "/gnu/store/lsfwppir7mgkn4xacw7af19y0xwhsg84-python-nbxmpp-3.1.0/lib/python3.9/site-packages/nbxmpp/util.py", line 428, in notify
func(self, signal_name, *args, **kwargs)
File "/gnu/store/lsfwppir7mgkn4xacw7af19y0xwhsg84-python-nbxmpp-3.1.0/lib/python3.9/site-packages/nbxmpp/client.py", line 472, in _on_disconnected
self.notify('disconnected')
File "/gnu/store/lsfwppir7mgkn4xacw7af19y0xwhsg84-python-nbxmpp-3.1.0/lib/python3.9/site-packages/nbxmpp/util.py", line 428, in notify
func(self, signal_name, *args, **kwargs)
File "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/client.py", line 300, in _on_disconnected
self.notify('state-changed', SimpleClientState.DISCONNECTED)
File "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/helpers.py", line 1268, in notify
func(self, signal_name, *args, **kwargs)
File "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/modules/muc.py", line 962, in _on_client_state_changed
self._reset_state()
File "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/modules/muc.py", line 219, in _reset_state
room.set_not_joined()
AttributeError: 'BareContact' object has no attribute 'set_not_joined'
```
## Steps to reproduce the problem
...
https://dev.gajim.org/gajim/python-nbxmpp/-/issues/128
RFC 9266: Channel Bindings for TLS 1.3 support
2023-11-14T20:10:22Z
Neustradamus
RFC 9266: Channel Bindings for TLS 1.3 support
Can you add the support of RFC 9266: Channel Bindings for TLS 1.3?
- https://datatracker.ietf.org/doc/html/rfc9266
Little details, to know easily:
- tls-unique for TLS =< 1.2
- tls-server-end-point
- tls-exporter for TLS = 1.3
Thanks i...
Can you add the support of RFC 9266: Channel Bindings for TLS 1.3?
- https://datatracker.ietf.org/doc/html/rfc9266
Little details, to know easily:
- tls-unique for TLS =< 1.2
- tls-server-end-point
- tls-exporter for TLS = 1.3
Thanks in advance.
Linked to:
- https://dev.gajim.org/search?group_id=6&project_id=11&scope=blobs&search=tls-unique
https://dev.gajim.org/gajim/python-nbxmpp/-/issues/103
Avoid unnecessary background activity
2020-06-11T17:20:48Z
Andrey Gursky
Avoid unnecessary background activity
## Versions
- OS: GNU/Linux Debian Bullseye testing
- Gajim version: b5924afddfe8cb
- GTK version: 3.24.13-1
- Python-nbxmpp version: 93e0a046cbc5
## Steps to reproduce the problem
1. Start Gajim.
1. Ensure there is almost...
## Versions
- OS: GNU/Linux Debian Bullseye testing
- Gajim version: b5924afddfe8cb
- GTK version: 3.24.13-1
- Python-nbxmpp version: 93e0a046cbc5
## Steps to reproduce the problem
1. Start Gajim.
1. Ensure there is almost no traffic.
## Expected behavior
No unnecessary background activity, no polling, no timeout callbacks except for keep-alive answer within ... seconds as configured (in my case 300 seconds).
## Actual behavior
Every 5 seconds:
```
03/24/2020 13:24:32 (I) nbxmpp.connection | (trashserver.net) Send keepalive
03/24/2020 13:24:37 (I) nbxmpp.connection | (trashserver.net) Send keepalive
03/24/2020 13:24:42 (I) nbxmpp.connection | (trashserver.net) Send keepalive
03/24/2020 13:24:47 (I) nbxmpp.connection | (trashserver.net) Send keepalive
03/24/2020 13:24:52 (I) nbxmpp.connection | (trashserver.net) Send keepalive
03/24/2020 13:24:57 (I) nbxmpp.connection | (trashserver.net) Send keepalive
```
It looks like it is hard-coded: https://dev.gajim.org/gajim/python-nbxmpp/-/blob/93e0a046cbc5e14e08b5ebe6a670fcbd5cddbbb3/nbxmpp/tcp.py#L151
https://dev.gajim.org/gajim/python-nbxmpp/-/issues/88
Error when connect on network with captive portal
2021-02-19T12:38:24Z
tuxayo
Error 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/python-nbxmpp/-/issues/72
KeyError in self.queue[fd].read_timeout()
2022-05-03T14:03:30Z
deafboy
KeyError in self.queue[fd].read_timeout()
## Versions
- OS: Linux
- GTK+ Version: 3.22.30
- PyGObject Version: 3.26.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.2+gajim@65dc8ed89254a8bec6e8eb0eb31ca0640575ff25
## Traceback
```
Traceback (most recent call last):
File...
## Versions
- OS: Linux
- GTK+ Version: 3.22.30
- PyGObject Version: 3.26.1
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.2+gajim@65dc8ed89254a8bec6e8eb0eb31ca0640575ff25
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 2251, 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()
KeyError: 23
```
## Steps to reproduce the problem
Unknown. Gajim in running in background as usual. The main window seems to be fully functional.