-
Notifications
You must be signed in to change notification settings - Fork 367
Open
Description
Since Python 3.14, get_event_loop()
raises RuntimeError
if there's no loop active.
As a result the proxy fails to start:
root@2f4c17d358ba:/src# /usr/local/bin/pproxy --reuse -l tunnel://0.0.0.0:49185 -r tunnel://192.168.64.1:5432
Traceback (most recent call last):
File "/usr/local/bin/pproxy", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/local/lib/python3.14/site-packages/pproxy/server.py", line 951, in main
loop = asyncio.get_event_loop()
File "/usr/local/lib/python3.14/asyncio/events.py", line 718, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Metadata
Metadata
Assignees
Labels
No labels