Document-service error in PROD env
28 errors in PROD for the last 3 days 0 errors in other envs for the last 12 days
[2021-04-15T08:15:17.421Z] | prozorro_sale.document_service.utils | ERROR - Storage connect error - Response payload is not completed | X-Request-ID: ead09fb6017cbba4534c5d825b3810ac
Traceback (most recent call last):
File "/document_service/prozorro_sale/document_service/utils.py", line 24, in excepts_errors_middleware
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/auth/__init__.py", line 107, in context_middleware
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/logging.py", line 66, in request_id_middleware
response = await handler(request)
File "/document_service/prozorro_sale/document_service/api.py", line 64, in get_document
return await request.app.storage.get(doc_id, scope, request)
File "/document_service/prozorro_sale/document_service/storages/swift_storage.py", line 199, in get
while chunk := await response.content.read(BUFF_SIZE):
File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 344, in read
raise self._exception
aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed
Seems to be a network error on the uploader's side. Need to change severity from "error" to "warning"