mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.
https://docs.mainsail.xyz
GNU General Public License v3.0
1.68k stars 349 forks source link

Unable to download log files #1819

Closed sochartgit closed 6 months ago

sochartgit commented 6 months ago

Mainsail Version:

v2.10.0

Browser:

Other (Please tell us below)

Device:

Desktop PC

Operating System:

Windows

What happened?

Tried on Chromium and Firefox and Firefox ESR

As small files are opening straight in the web page, large ones are intended to be downloaded but it does not work. Download starts and fails immediately. Using WGET, I do have number of retries and 206 errors 2024-03-15 20:45:59 (11,5 MB/s) - Connection closed at byte 1911046. Retrying.

--2024-03-15 20:46:09-- (try:17) https://3d.XXXXXX.XXXX/server/files/logs/telegram.log Connecting to 3d.caxa.ca (3d.XXXXXX.XXXX)|192.168.13.242|:443... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 22794240 (22M), 20883194 (20M) remaining [text/plain] Saving to: 'telegram.log.1'

What did you expect to happen instead?

I do expect that the file downloads properly onto my machine

How to reproduce this bug?

Go to the machine config option and try to download a log file over 50kB

Additional information:

No response

github-actions[bot] commented 6 months ago

Ahoi!

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response.

We use the Github Issue-Tracker only for development related topics, like feature requests, bug reports etc. To get help, please join our Discord-Server or ask in Github Discussions:

This ticket will be automatically closed.

Fair wind and a following sea! ~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.

sochartgit commented 6 months ago

Wow, This is no help request at all. This is a bug. Thanks for closing this ticket without even trying to understand.

From: github-actions[bot] @.> Sent: Saturday, March 16, 2024 3:17 AM To: mainsail-crew/mainsail @.> Cc: sochartgit @.>; Author @.> Subject: Re: [mainsail-crew/mainsail] Unable to download log files (Issue #1819)

Ahoi!

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response.

We use the Github Issue-Tracker only for development related topics, like feature requests, bug reports etc. To get help, please join our Discord-Server or ask in Github Discussions:

This ticket will be automatically closed.

Fair wind and a following sea! ~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.

— Reply to this email directly, view it on GitHubhttps://github.com/mainsail-crew/mainsail/issues/1819#issuecomment-2001886706, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT2UUS54U7H7HMKBH4ONOV3YYPWWFAVCNFSM6AAAAABEY3QETKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHA4DMNZQGY. You are receiving this because you authored the thread.Message ID: @.**@.>>

meteyou commented 6 months ago

@sochartgit Mainsail itself only provide the URL to download the logfile. This URL looks be right, when your browser can start downloading it. The download itself, will only handled by your browser itself. So it couldn't be a bug of Mainsail... For me, it looks like wrong settings on your nginx instance (or your reverse proxy).