2023-12-06T13:42:40 ERROR resana_secure.app - Exception on request POST /recovery/export
Traceback (most recent call last):
File "parsec\core\backend_connection\transport.py", line 79, in _connect
File "trio\_highlevel_open_tcp_stream.py", line 259, in open_tcp_stream
File "trio\_socket.py", line 184, in getaddrinfo
File "trio\_threads.py", line 227, in to_thread_run_sync
File "trio\_core\_traps.py", line 172, in wait_task_rescheduled
File "outcome\_impl.py", line 138, in unwrap
File "trio\_threads.py", line 168, in do_release_then_return_result
File "outcome\_impl.py", line 138, in unwrap
File "trio\_threads.py", line 185, in worker_fn
File "socket.py", line 954, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "parsec\core\backend_connection\expose_cmds.py", line 41, in wrapper
File "contextlib.py", line 181, in __aenter__
File "parsec\core\backend_connection\authenticated.py", line 645, in _acquire_transport
File "parsec\core\backend_connection\authenticated.py", line 627, in _init_transport
File "parsec\core\backend_connection\transport.py", line 64, in connect_as_authenticated
File "parsec\core\backend_connection\transport.py", line 88, in _connect
_parsec.BackendNotAvailable: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "parsec\core\backend_connection\transport.py", line 79, in _connect
File "trio\_highlevel_open_tcp_stream.py", line 259, in open_tcp_stream
File "trio\_socket.py", line 184, in getaddrinfo
File "trio\_threads.py", line 227, in to_thread_run_sync
File "trio\_core\_traps.py", line 172, in wait_task_rescheduled
File "outcome\_impl.py", line 138, in unwrap
File "trio\_threads.py", line 168, in do_release_then_return_result
File "outcome\_impl.py", line 138, in unwrap
File "trio\_threads.py", line 185, in worker_fn
File "socket.py", line 954, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "quart_trio\app.py", line 133, in handle_request
File "quart_trio\app.py", line 161, in full_dispatch_request
File "quart_trio\app.py", line 176, in handle_user_exception
File "quart\app.py", line 1107, in handle_user_exception
File "quart_trio\app.py", line 159, in full_dispatch_request
File "quart\app.py", line 1718, in dispatch_request
File "resana_secure\utils.py", line 100, in wrapper
File "resana_secure\routes\recovery.py", line 83, in export_device
File "parsec\core\recovery.py", line 79, in generate_recovery_device
File "parsec\core\recovery.py", line 56, in _create_new_device_for_self
File "parsec\core\backend_connection\expose_cmds.py", line 45, in wrapper
File "contextlib.py", line 181, in __aenter__
File "parsec\core\backend_connection\authenticated.py", line 645, in _acquire_transport
File "parsec\core\backend_connection\authenticated.py", line 627, in _init_transport
File "parsec\core\backend_connection\transport.py", line 64, in connect_as_authenticated
File "parsec\core\backend_connection\transport.py", line 88, in _connect
_parsec.BackendNotAvailable: [Errno 11001] getaddrinfo failed
Should be a 503 error
{ "error": "offline" }