Help debugging cloudinary upload timeout (400)
Hi,
Passing this image link to `cloudinary.uploader` in a node client and consistently getting timeouts. Other links work fine.
I looked in the network calls in my browser when I load this url and I get a 200 response on this url for the first call and then 302's for subsequent calls where it is cached.
-
Hi Troy,
That error means that our requests to the specified URL timed out - as a recent specific example:
Fetching resource from https://www.jcrew.com/s7-img-facade/AZ799_BR0910?fmt=jpeg&qlt=90,0&resMode=sharp&op_usm=.1,0,0,0&crop=0,0,0,0&wid=850&hei=850 -- Request Timeout
It looks like this server is blocking due to a firewall, proxy or some other system in place which may be preventing us from receiving a fast response from the specified URL.
Please let us know if you have further questions.
Thanks,
Sree
0 -
Ok thanks Sree that makes sense.
Based on what I'm seeing in the network calls I think they're using Akamai. Is there any known workaround or setting I could enable to pass Akamai-hosted images from a URL like this?
Thanks again for your time,
Troy
0 -
Hi Troy,
Unfortunately no. It's often that services decide to add restrictions in order to ensure no bots, crawlers or other unwanted scripts/services access resources, but if you can reach the third-party service they may be able to whitelist the Cloudinary User-Agent as one they allow requests from.
An option in the meantime could be to request the image in the browser, download it and then upload it into your Cloudinary account. It won't be an automatic process and requires manual intervention, but if you need to deliver/transform those images from your account, that may be a workaround.
If you need anything from our side or if we can help in any way please let me know.
Thanks,
Sree
0
Post is closed for comments.
Comments
3 comments