-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Timeout APIConnectionError during Large File Upload (200MB) - ECONNRESET #31148
Comments
Hi @SuMyatHlaing30 Thanks for opening this report! I am not able to repro this issue using API version 2024-08-01-preview and a resource in the Sweden Central region. Could you please share details about the resource and the API version you're using. I would also encourage you to open a support ticket. To open a support ticket, please refer to the guide here. In the meantime, please feel free to reach out if you have any other questions! |
Hi @SuMyatHlaing30. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
Hi @deyaaeldeen
When I upload file in Azure Openai Studio, showing file size should be less than 200 MB. |
@SuMyatHlaing30 I am not entirely sure what did you mean by "US Region". Please checkout the availability table in https://learn.microsoft.com/azure/ai-services/openai/concepts/models#assistants-preview for more information on what regions to use with what models. |
Hi @SuMyatHlaing30. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
East US region. |
are there any updates? |
Describe the bug
When attempting to upload a large file (200MB) to the Azure OpenAI API using the OpenAI Node.js SDK, the request fails with an ECONNRESET error. The error seems to occur when the upload exceeds a certain size, as smaller files upload without issue.
https://platform.openai.com/docs/api-reference/files/create
To Reproduce
Expected behavior
The file should upload successfully without a connection reset error because there is a description in api documentation like - Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
Additional context
Additional Info:
The issue only occurs with larger files (200MB+).
Smaller files upload successfully.
Node.js version: 20
OpenAI SDK version: V2
The text was updated successfully, but these errors were encountered: