Can't connect to cloudinary api

Options
Brian
Brian Member Posts: 2
edited January 22 in Developer APIs

I'm getting timeout errors when trying to connect to cloudinary api to upload images. This is one of the errors:

Error: connect ETIMEDOUT 34.200.85.232:443

at createConnectionError (node:net:1634:14)

at Timeout.internalConnectMultipleTimeout (node:net:1685:38)

at listOnTimeout (node:internal/timers:575:11)

at processTimers (node:internal/timers:514:7) {

errno: -110,

code: 'ETIMEDOUT',

syscall: 'connect',

address: '34.200.85.232',

port: 443

},

Tagged:

Best Answer

  • Brian
    Brian Member Posts: 2
    Answer ✓
    Options

    ✅Solved: The issue was node version. I was using v20. I downgraded to v18 and everything works well now.

Answers

  • SreeCloudinary
    SreeCloudinary Member, Cloudinary Staff Posts: 26
    Options

    Hi @Brian ,

    Thanks for contacting us.

    This can sometimes happen when files are especially large and the upload call can't be completed before a timeout occurs (most often with videos, but sometimes with images), or when the bandwidth is low between the remote and source location.

    Since I do not have your cloud name to check futher, I would request that you create a support ticket at support.cloudinary.com with required details such as Cloud name, sample code etc.

    Thanks

    Sree