You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Joining rooms is failing with the following error.
Failed to join room
Failed to send_join via any server
synapse.federation.federation_client: [POST-352731] Failed to send_join via matrix.org
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/synapse/federation/federation_client.py", line 589, in _try_destination_list
return await callback(destination)
File "/usr/lib/python3.6/site-packages/synapse/federation/federation_client.py", line 768, in send_request
response = await self._do_send_join(room_version, destination, pdu)
File "/usr/lib/python3.6/site-packages/synapse/federation/federation_client.py", line 911, in _do_send_join
content=pdu.get_pdu_json(time_now),
File "/usr/lib/python3.6/site-packages/synapse/federation/transport/client.py", line 314, in send_join_v2
parser=SendJoinParser(room_version, v1_api=False),
File "/usr/lib/python3.6/site-packages/synapse/federation/transport/client.py", line 1313, in __init__
use_float=True,
File "/usr/lib64/python3.6/site-packages/ijson/common.py", line 251, in items_coro
*_items_pipeline(backend, prefix, map_type, config)
File "/usr/lib64/python3.6/site-packages/ijson/utils.py", line 29, in chain
f = coro_func(f, *coro_args, **coro_kwargs)
File "/usr/lib64/python3.6/site-packages/ijson/utils.py", line 13, in wrapper
g = func(*args, **kwargs)
File "/usr/lib64/python3.6/site-packages/ijson/backends/yajl2_c.py", line 17, in basic_parse_basecoro
return _yajl2.basic_parse_basecoro(target.send, **kwargs)
TypeError: 'use_float' is an invalid keyword argument for this function
Steps to reproduce
join existing room or follow invite
Element shows th following error message
Failed to join room
Failed to send_join via any server
Solution
Updating python-ijson to version 3.1.4
Version information
Version: 1.47.1
Install method: custom self packaged
The text was updated successfully, but these errors were encountered:
Since e81fa92, Synapse depends on
the use_float flag which has been introduced in ijson 3.1 and
is not available in 3.0. This is known to cause runtime errors
with send_join.
Signed-off-by: Daniel Molkentin <[email protected]>
Since e81fa92, Synapse depends on
the use_float flag which has been introduced in ijson 3.1 and
is not available in 3.0. This is known to cause runtime errors
with send_join.
Signed-off-by: Daniel Molkentin <[email protected]>
Co-authored-by: Daniel Molkentin <[email protected]>
Description
Usage of
use_float
in ijson introduced in e81fa92 needs a minimum version of 3.1Set version
"ijson>=3.0"
in https://github.com/matrix-org/synapse/blob/develop/synapse/python_dependencies.py is to low.use_float
is introduced in ijson 3.1Joining rooms is failing with the following error.
Steps to reproduce
Solution
Updating python-ijson to version 3.1.4
Version information
Version: 1.47.1
Install method: custom self packaged
The text was updated successfully, but these errors were encountered: