ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
One customer had the effect that apparently the TCP connection to the server was interrupted or terminated without the API noticing this (possibly a timeout). The following request failed.
Subsequent requests went through normally again without a restart.
It would be better if in this particular error case the request is automatically re-executed without failure.
Traceback (most recent call last):
File "D:\dmsaddon\python\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 396, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "D:\dmsaddon\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "D:\dmsaddon\python\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "D:\dmsaddon\python\lib\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\dmsaddon\python\lib\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "D:\dmsaddon\python\lib\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "D:\dmsaddon\python\lib\site-packages\starlette\exceptions.py", line 82, in __call__
raise exc from None
File "D:\dmsaddon\python\lib\site-packages\starlette\exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "D:\dmsaddon\python\lib\site-packages\starlette\routing.py", line 566, in __call__
await route.handle(scope, receive, send)
File "D:\dmsaddon\python\lib\site-packages\starlette\routing.py", line 227, in handle
await self.app(scope, receive, send)
File "D:\dmsaddon\python\lib\site-packages\starlette\routing.py", line 41, in app
response = await func(request)
File "D:\dmsaddon\python\lib\site-packages\fastapi\routing.py", line 201, in app
raw_response = await run_endpoint_function(
File "D:\dmsaddon\python\lib\site-packages\fastapi\routing.py", line 148, in run_endpoint_function
return await dependant.call(**values)
File "D:\dmsappl\service\connector.py", line 105, in post
cabinet_result = client.xml_import(cabinet_name, cabinet_search_fields, cabinet_fields, action0=ImportActions.INSERT, action1=ImportActions.NONE, actionM=ImportActions.ERROR)
File "D:\dmsaddon\python\lib\site-packages\ecmind_blue_client\client.py", line 143, in xml_import
return self.execute(job)
File "D:\dmsaddon\python\lib\site-packages\ecmind_blue_client\tcp_pool_client.py", line 53, in execute
raise ex
File "D:\dmsaddon\python\lib\site-packages\ecmind_blue_client\tcp_pool_client.py", line 46, in execute
result = job_caller.execute(job)
File "D:\dmsaddon\python\lib\site-packages\ecmind_blue_client\tcp_client_classes\job_caller.py", line 106, in execute
self.socket.send(request_header_binary)
File "ssl.py", line 1173, in send
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine