-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
hi,
there might be situation where reading the extens from the client takes longer than 60 Seconds:
https://github.com/oVirt/ovirt-imageio/blob/master/ovirt_imageio/_internal/backends/http.py#L53
This leads to the client receiving the extents to run into following exception:
Error: Unhandled exception occurred [The read operation timed out]
Traceback (most recent call last):
File "xx", line 432, in main
File "xx", line 2350, in sbc_pre
File "xx", line 2211, in imageio_backup
File "site-packages/ovirt_imageio/client/_api.py", line 289, in extents
File "site-packages/ovirt_imageio/_internal/backends/http.py", line 306, in extents
File "site-packages/ovirt_imageio/_internal/backends/http.py", line 502, in _get_extents
File "lib/python3.11/http/client.py", line 1378, in getresponse
File "lib/python3.11/http/client.py", line 318, in begin
File "lib/python3.11/http/client.py", line 279, in _read_status
File "/lib/python3.11/socket.py", line 706, in readinto
File "lib/python3.11/ssl.py", line 1278, in recv_into
File "lib/python3.11/ssl.py", line 1134, in read
TimeoutError: The read operation timed out
is there any way for the client to change this timeout?
Metadata
Metadata
Assignees
Labels
No labels