-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Infinite loop on startup due to jsonschema 4.5.0 #12649
Comments
Interesting. Wasn't reproducible (from the snippet) for me locally (jsonschema 4.4.0, on a377a43. |
...but is reproducible on 4.5.0 (which is two hours old as I write this). https://github.com/python-jsonschema/jsonschema/releases/tag/v4.5.0 doesn't have anything that looks obviously suspicious though. |
indeed, downgrading to 4.4.0 fixes the loop for me. Should I report it to jsonschema, then? |
I think Patrick's found the right issue in jsonschema. I'll see if I can minimise the example you've found and add it to that issue. (I hope the latestdeps job finds this tomorrow morning!) We could temporarily pin to version <=4.5.0 in the meantime I suppose? |
We hit the same issue in the Cloudron package. On startup, the server just hangs. Using synapse 1.58.1 . |
jsonschema v4.5.1 has been released a few hours ago, which looks to mitigate this issue, at least in local testing. To upgrade to it, run We can still exclude |
Description
Steps to reproduce
pip3 install matrix-synapse
(also work on currentdevelop
branch)python3 -m synapse.app.homeserver --config-path ...
)This causes Synapse to enter an infinite loop before binding any port. Terminating the process produces this traceback:
I managed to reproduce the issue with this code:
which reproduces the infinite loop
Version information
Homeserver: local
Version:
1.58.1
or currentdevelop
Install method:
pip3 install matrix-synapse
orpip3 install -e .
Platform: Debian 11 (Python 3.9)
The text was updated successfully, but these errors were encountered: