Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCI multiple upload fails randomly #69

Closed
corradodebari opened this issue Dec 20, 2024 · 1 comment
Closed

OCI multiple upload fails randomly #69

corradodebari opened this issue Dec 20, 2024 · 1 comment
Assignees

Comments

@corradodebari
Copy link
Contributor

Uploading from OCI, I've got this errors that stuck the process:
2024-Dec-20 12:06:28 - WARNING - (oci._vendor.urllib3.connectionpool): Failed to parse headers (url=https://objectstorage.us-ashburn-1.oraclecloud.com:443/n/maacloud/b/docs4devs_23ai_pdf_t1_text_embedding_3_small_8191_1639_cosine/o/_enterprise-user-security-administrators-guide.json): [MissingHeaderBodySeparatorDefect()], unparsed data: 'HTTP/1.1 200 OK\r\netag: 61746e43-bad5-44b1-b0de-c359693a579d\r\nlast-modified: Fri, 20 Dec 2024 11:06:28 GMT\r\nopc-content-md5: Dq5h0x27fGV5SGbye3Fsww==\r\nversion-id: 0f1d9490-7edd-4f70-824d-8784688082d2\r\nContent-Length: 0\r\ndate: Fri, 20 Dec 2024 11:06:28 GMT\r\nopc-request-id: iad-1:4GaplvtlUD8tl3yj4soU6eeQPlQfI-iaagt82hOW91di7K7HpMyMvnTdhaWdrVRM\r\nx-api-id: native\r\nx-content-type-options: nosniff\r\nstrict-transport-security: max-age=31536000; includeSubDomains\r\naccess-control-allow-origin: *\r\naccess-control-allow-methods: POST,PUT,GET,HEAD,DELETE,OPTIONS\r\naccess-control-allow-credentials: true\r\naccess-control-expose-headers: access-control-allow-credentials,access-control-allow-methods,access-control-allow-origin,content-length,date,etag,last-modified,opc-client-info,opc-content-md5,opc-request-id,strict-transport-security,version-id,x-api-id,x-content-type-options\r\n\r\n' Traceback (most recent call last): File "/Users/cdebari/Documents/GitHub/oaim-sandbox/app/src/modules/utilities.py", line 636, in oci_put_object upload_manager.upload_file(namespace, bucket_name, file_name, file_path) File "/Users/cdebari/Documents/GitHub/oaim-sandbox/.venv/lib/python3.11/site-packages/oci/object_storage/transfer/upload_manager.py", line 254, in upload_file return self._upload_singlepart(namespace_name, bucket_name, object_name, file_path, **kwargs)
It seems similar to:
oracle/oci-python-sdk#622

@corradodebari corradodebari self-assigned this Dec 20, 2024
@corradodebari
Copy link
Contributor Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant