If the image size is large enough but still way under the size limit (occurs with images 3MB and up), the upload doesn’t happen fast enough it seems.
The response error seems to indicate that the connection might be timing out on the Cloudflare server:
"result": null,
"success": false,
"errors": [
{
"code": 5408,
"message": "The upload failed to send due to a slow connection. Check your internet connection and try again."
}
],
"messages": []
}
I am using XHR to track the progress of the upload which seems to complete at 100% but this final response from Cloudflare server indicates that the upload failed.
Any ideas what might be going on and how to fix? Thank you
The image is only 3MB. Upload via file data using the direct creator upload URL. But if I throttle bandwidth with dev tools and extend the upload time, any sized image, even 200k will cause the error.
I’ll look into collecting a tcpdump.
Most of the time the images upload fine, but if the upload process takes more than about 15 seconds, then the 5408 error happens.