skyjake/lagrange Issue #523: Possible Titan Bug

Repo Home
Issues

2022-07-09 20:25:45 ghost

If the Titan server errors out (for example, because the file size is too big, or wrong mimetype, or no certificate or token) while a relatively big file (e.g. 5MB) upload is still uploading, instead of showing the error message sent by the server, this message is shown:

<img width="640" alt="image" src="https://user-images.githubusercontent.com/4098042/178121471-5574a29d-0a8d-437e-a5bb-a95bb180ce94.png">

There's a chance this could just be a problem with my own server, but I'm not entirely sure.

Comments (2)

2022-07-16 11:32:54 skyjake

The error could be incorrectly presented to the user here. The "Incomplete Header" message is only supposed to be shown if the server responds with some nonsense or nothing at all.

2022-08-23 08:41:25 Alumniminium

Version 1.13.6

I'm uploading a file that's too big for the server, the server returns `50 File too big\r\n`

Lagrange's upload byte counter keeps increasing once or twice and then the application becomes unresponsive - the close button on the upload dialog still works however

EDIT: Same behavior on the url OP posted.

EIDT: Only happens at a certain filesize - small files get rejected correctly. files ~100mb+ cause the bug