Intermittent Upload Image PROTOCOL_ERROR

For Workers & Pages, what is the name of the domain?

What is the error number?

0x1

What is the error message?

Stream reset by SERVER with error code PROTOCOL_ERROR (0x1)

What is the issue or error you’re encountering

We are using one time upload urls to allow our users in a mobile app to upload images. This fails inconsistently with the message above.

What steps have you taken to resolve the issue?

We’ve run tests in cURL like this:

curl -v -X POST
-H ‘Content-Type: multipart/form-data’
–form file=@/Users/jason/Downloads/oak.jpg
https://upload.imagedelivery.net/PDeBRbq8D5VIDVDkLmuTIA/91bd1f71-9d0f-4387-c255-907d8ceb2900

And we were sure to add a Content-Length header which improved the situation for one developer but not another.

What are the steps to reproduce the issue?

Upload an image from an iOS app. I know this is hard to reproduce but maybe knowing this is from mobile will help.

Screenshot of the error

1 Like

This topic was automatically closed after 15 days. New replies are no longer allowed.