Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploads fail sporadically with 200 OK #13

Open
mnutt opened this issue May 21, 2016 · 3 comments
Open

Uploads fail sporadically with 200 OK #13

mnutt opened this issue May 21, 2016 · 3 comments

Comments

@mnutt
Copy link

mnutt commented May 21, 2016

On a certain batch of photos (5-6MB each) I'm trying to upload ~120 of them and after the first ten, maybe 1 in 5 fails. The javascript console shows the following error:

description: "Upload failed. Server returned the status code 200!"
response: "Error: Failed to write photo to disk!"

The actual network response is a 200, although it returns a string with the error message rather than 1. Retrying usually fixes them, although with the same 1 in 5 failure rate. There is nothing at all in the grain log or the sandstorm log.

I checked out the filesystem and everything seems fine, and this happens both on my EC2 instance sandstorm as well as oasis. I'm happy to send a link to the files I'm uploading if that will help. (they're not secret or anything, but I'd rather not post them publicly)

@jkonecny12
Copy link

I have the same issue it is unusable this way.

@jparyani
Copy link
Owner

jparyani commented Aug 5, 2016

I am unable to reproduce this. Can you shoot me an email with an example set of images that cause this for you (my email is available publicly in my github profile).

@jannic
Copy link

jannic commented Aug 20, 2016

I got the impression that this issue is related to upload speed: First, I had the same error message when uploading a batch of images. (~25 images of ~7MB each).
I noticed that the error messages started after a few images were uploaded in short succession, and the already uploaded images where still in state 'processing'. To prevent this situation, I limited the upload speed to 20MBit, which fixed the issue.
@mnut, @jkonecny12, are you using internet connections with unusually fast upload speeds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants