Image not upload on cloudinary

harshkain
harshkain Member Posts: 1
edited August 12 in Developer APIs

Hey guys,

I use cloudinary to upload the images. But when i try to uplaod the image on cloudinary it return a error something related to request timeout {
error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' }
}

for upload the image i use nodeJS.

can anyone face the same issue. And if the issue resolve then please help me how can i fix this

Comments

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 103

    Hi @harshkain,

    The error message "TimeoutError" with error code 499 isn't a Cloudinary-specific error. This error typically occurs when the client closes the request while the server is still processing it. Essentially, it indicates that the client has terminated the connection prematurely, which is categorized as a client-based error.

    To address this issue, I suggest increasing the timeout duration for the request. The exact method to do this will depend on the framework you are using.

    Additionally, please ensure that your network connection is stable and has sufficient bandwidth. Unstable connections can often lead to timeouts and other connectivity issues.

    Another factor to consider is the file size you are attempting to upload. It might be too large for the limits set on your Cloudinary account.

    Could you please provide more details about the file size you're trying to upload? This information will help us determine if the file size is within your account's upload limits.

    Best Regards,

    Wissam

  • Prabhat_kumar
    Prabhat_kumar Member Posts: 2

    @Wissam I am facing same issue meanwhile my internet connection is stable and file size is 55kb. I have tried with other file size still gives same error. Also i tried increasing my request timeout by 10000ms on postman. Tried Thunderbolt also for testing and gets same error. Key point is that same code is working fine on my friends system with same configuration but not working on my system.

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 103

    Hi @Prabhat_kumar ,

    You're welcome to raise a support ticket with us directly if you'd like us to use examples from your own cloud. To do so, you can fill out the form at this link.

    Best Regards,

    Wissam