-
Notifications
You must be signed in to change notification settings - Fork 173
HTTP File Download failing #579
Comments
What do you mean by this? |
From my initial comment
To elaborate, after I click the Download button, the browser starts downloading a file that ends in .tar but immediately fails with the error |
Sorry, didn't see it. @jvacek was the torrent deleted locally? |
Flood and rtorrent are both running on the same remote server. I am accessing this server via HTTPS running through an nginx reverse proxy which is shown below.
I am starting up flood by running a Not sure what you mean by the torrent being deleted, but the files I'm trying to download are still on my server, rtorrent can check them and seed them, and they are located in my (non-root) user folder. Hope this gives some further insight. |
Try adding |
@dcousens still fails with both edits in the nginx config |
Well wait up, thats a |
> JSON.stringify({error: 'Torrent not found.'}).length
30 Matches your |
Let me know if I can do some more debugging for you. Do keep in mind I'm having some node/npm version issues and am currently running the #549 PR |
Note about @jvacek feature request (zip or rar instead of tar): tar is designed for archive without compression and keep a trace of linux permissions, rar is proprietary the code for unraring is open-source and can be used by multiple software but code for creating a rar archive in closed source and not available the only exception is winrar so flood won't be able to rar, zip is designed to be used with compression (that take a lot of cpu both for compressing or uncompressing) and mayebe a lot of lib won't allow you to change the compression algorithm or ratio (to put it to none/0% in order to have the same behavior that we have with tar). Finally tar can be easily extracted on windows with 7z or variosu tool so I don't see the need of supporting zip (and rar can't). Even if a zip support is adding we should need to add a config option to switch from one to the other and not to replace tar by zip. |
@noraj1337 thanks for this background info. I see, makes a lot more sense now. |
@jvacek I took the liberty to modify your issue for more clarity:
|
Can anyone else reproduce this bug? It's working as expected for me. |
After trying this out on the latest version on master, I can only so far reproduce this in firefox, but there is nothing at all in the log. But it works in Chrome for me now. |
I can download via Chromium, but can't via Firefox. No errors, just nothing happens. |
Fixing this:
Will also fix TAR archives w/ extended headers have limited Windows compatibility #606 |
On Flood v1.0.0-281-gebc8bb7, I still cannot download files at all using Firefox (58.0). Chrome (64.0.3282.119) works just fine though. |
The same than CRY3rn. Can't download files only on Firefox >58+ |
Hello, same error here with the latest github commit to date {"error":"File not found."} I'd be glad to give more info in order to see this issue resolved |
I'm surprised this did not get more attention. (Too many devs using Chrome?) This is a frontend issue. It appears that newer versions of Firefox ignore the Therefore, the element must be appended first to the DOM before it is triggered with the |
The element is set to `display: none` before being appended to the document.
This is true of developers for sure, but also of most users. Firefox usage is pretty low these days, and unfortunately I've done a terrible job of testing in Firefox. |
@jfurrow What you just said is absolutely wrong 😄 It's true that the most used browser is unfortunately Google Chrome (even with evident privacy issues) but Mozilla Firefox is still 12% of web browser market use. (see 1 or 2). Before Firefox usage was about 30%, I think this increase in market share for Chrome is artificially high due to mobile progress and the Android dominance. Because every android smartphones have Chrome by default so users won't install Firefox. Anyway Since Firefox 59 (Quantum), Firefox is the faster web browser for desktop and Firefox Developer edition is a great tool. So if we take a look only at desktop market share for people who are IT aware we are maybe about 50% of market share. And that's the point because Flood is a UI for rtorrent that is even not that easy to install, so the target audience is not the worldwide people but IT aware people that are torrenting and will manually install this stuff on their server, so we don't care about global market share but want to know the market share of the target audience of Flood. And in this case Firefox usage is NOT pretty low. PS : I use only Firefox and I'm blaming you lol 😆 once upon a time web developers were testings their apps on Chrome, Firefox, Safari and IE. Now they are testing only for Chrome and that's a very bad practice. For example you just can't neglect IE because in many enterprise (small and very big ones too) all intranet apps are dev AND actually works only with IE so people in these enterprises are forced to use IE every day and if you develop a website and say "don't care about IE" people at work may have a bad experience browsing your website (but this is not really the problem of Flood but just to give an example). |
@jfurrow For me it's not a low importance nice to have problem but a high importance must have problem. It's like saying we provide support only for windows because it has the highest market shares and f**k other OS. |
@noraj I don't think that IE and Edge support Flood; they are both missing support for the EventSource API. |
@SanPilot That's what I said, Flood don't have to care about IE/Edge because it's not the targeted audience. |
@noraj Totally agree that Flood should work in all modern browsers. Honestly Edge support is probably pretty easy too, we can polyfill |
Bug: When attempting to download files through the webui, both single and multiple, browser reports no file found and download files.
Feature request: Furthermore, not sure tar is the best way to package files for Windows users, zip or rar might be preferable.
Expected Behavior
Bug: Files should download in a
tar
when selected for download from the te Torrent Details menuFeature request: I suggest to support
zip
orrar
or7z
in addition oftar
.Current Behavior
Download starts, and immediately ends like this http://prntscr.com/hk13fe
Possible Solution
???
Steps to Reproduce (for bugs)
Context
I'm just tryting to get my files :(
Your Environment
git --no-pager tag
v 1.0.0
git --no-pager log -1
Chrome 62.0.3202.94 (Official Build) (64-bit)
node --version = v7.10.1
npm --version = 3.5.2
Ubuntu 16.04.3
Note
You may try to follow the update procedure described in the README and try again before opening this issue.
Update by noraj to separate the bug from the feature request.
The text was updated successfully, but these errors were encountered: