MrPancakes39/xopp-merger-app

HTTP 5xx When trying to merge files

Opened this issue · 8 comments

Hi,
I'm unable to get the webapp to work. I'm trying to merge ~7 .xopp files - and every time I hit merge the server returns a HTTP 5xx error. Usually it's an HTTP 503, although I've seen 502 and 520 as well. Response server is cloudflare.

Sample response/request headers:
image

Sorry for the rather uninformative post, I unfortunately don't have the time to investigate much further but wanted to at least let you know that there's an issue.

I'll be sure to fix the issue asap

@EthanGraber how big are your files? I believe I put a limit on file sizes like you can probably send max 35MB worth of files currently I think but I can always increase it.

And if you could send those notebooks for testing that would be great! (Assuming they aren't filled with sensitive data).

HTTP 5xx error.

Hmm those are server errors. Maybe the server I am hosting on got down or something? Not sure.

@EthanGraber I am just curious does an Error popup appear and says "Unexpected Error occured" or something similar?

@EthanGraber how big are your files? I believe I put a limit on file sizes like you can probably send max 35MB worth of files currently I think but I can always increase it.

And if you could send those notebooks for testing that would be great! (Assuming they aren't filled with sensitive data).

I think they're a couple of kilobytes maximum - I'll double check and share them later today, it's just some class notes.

@EthanGraber I am just curious does an Error popup appear and says "Unexpected Error occured" or something similar?

Yep, unexpected error occured and then the body of the popup is just a number (which matches the http response code)

HTTP 5xx error.

Hmm those are server errors. Maybe the server I am hosting on got down or something? Not sure.

I'll try again later today and see if it was a transient server issue

couple of kilobytes

That's great!

Yep, unexpected error occured

Thanks for the feedback ❤️

I'll try again later

Thank you!

Alright, I gave it another try today. Still getting HTTP 503 errors when I try to merge. I tried merging a subset of the files just to see if that would work, and that gave me an HTTP 507 (Insufficient Storage) response. Odd that it didn't respond with that the first few times.

The files are ~8.1MB combined, well under the 35MB limit you mentioned. I also don't think they're actually being transferred to the server - I monitored the network tab while I was testing and my client only ended up transmitting a grand total of 1.3 kB.

If you're still interested in having the files themselves, I can send them over, I was able to combine them manually on my end with no problem though / I think this is a server related issue more than a file-specific issue.

That's bad to hear.

If you're still interested in having the files themselves, I can send them over

Yes that would be great for testing, thanks!

I think this is a server related issue more than a file-specific issue.

I'll look into it asap though currently I have exams going so I might not be able to check it this week