#1
|
|||
|
|||
[FileJoker.net] Files marked offline in download list
Files are sometimes being marked offline in the download list when a download is attempted, even though they are online. I'm using a few proxies if that matters.
26.03.23 16.33.03 <--> 26.03.23 16.39.37 jdlog://1334311370661/ |
#2
|
||||
|
||||
Hi,
I'm sorry but this is clearly a user-mistake. Some of your used proxys are broken and return the following HTML code instead of the expected one: Code:
<html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0</center> </body> </html> Solution: Use working proxys / check them on your own in beforehand. I strongly advise against using free proxy lists as that can cause a lot of other troubles.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
I am not using free proxy lists; I'm using a paid VPN and using a docker container as a proxy. Below log is for every connection disabled except for one proxy. At first it returns 404, and when I check in a browser using that proxy it is also a 404. When I force the docker container to get a new IP, it finally connects on the 3rd try. I think FileJoker is blacklisting some IPs and returning 404s? So there's nothing jDownloader can do for this, but thank you for giving me the idea to check this way.
27.03.23 19.56.00 <--> 27.03.23 19.59.49 jdlog://1634311370661/ EDIT: After checking in the browser, I did notice that for these blacklisted IPs, even the homepage "**External links are only visible to Support Staff** returns a 404. Maybe jDownloader can check for that if it gets a 404 for the download link, and if so it can mark the link with a connection error and try a different proxy instead of marking the link as offline? Last edited by mjolnir870; 28.03.2023 at 04:09. |
#4
|
||||
|
||||
Quote:
In this case filejoker is not using 404 for offline files so I will be adding itv to the normale errorhandling as errormessage "VPN blocked". You can then use EventScripter scripts to trigger a VPN-switch on that error. Please check if it works in a better way for you after the release of our next set of CORE-updates. Quote:
JDownloader source code: https://support.jdownloader.org/Know...up-ide-eclipse For all code changes mentioned in this post, the following information applies: Bitte auf das nächste CORE-Update warten! Please wait for the next CORE-Update! Wartest du auf einen angekündigten Bugfix oder ein neues Feature? Updates werden nicht immer sofort bereitgestellt! Bitte lies unser Update FAQ! | Please read our Update FAQ! --- Are you waiting for recently announced changes to get released? Updates to not necessarily get released immediately! Bitte lies unser Update FAQ! | Please read our Update FAQ! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download Last edited by pspzockerscene; 28.03.2023 at 14:03. Reason: Added information about EventScripter |
#5
|
|||
|
|||
I ended up adding a check for this on the vpn docker container.
|
#6
|
|||
|
|||
@mjolnir870: maybe wanna share some details about this check?
|
#7
|
|||
|
|||
I'm using a gluetun docker container and a docker-compose file. I added the below to the gluetun config:
Code:
labels: - "deunhealth.restart.on.unhealthy=true" healthcheck: test: wget -q --spider filejoker.net start_period: 25s Code:
deunhealth: image: qmcgaw/deunhealth:latest container_name: deunhealth restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock |
#8
|
|||
|
|||
@mjolnir870: Thanks for the feedback and sharing your solution! I guess test fails because wget returns error for 404 site nice and simple solution
just out of interest, is it possible to define multiple tests? |
#9
|
|||
|
|||
you can write the test line like this:
Code:
test: wget -q --spider filejoker.net && OTHER COMMAND HERE If you just want to test multiple sites then you can pass multiple domains to wget like this and it will return a failure if any of them are unreachable: Code:
test: wget -q --spider filejoker.net google.com wikipedia.org |
#10
|
||||
|
||||
CORE-Updates have been released!
All announced bugfixes and features are live! Please update your JDownloader and report any issues you find asap. If this thread gets marked as "[Solved]" by our forum staff you can still post in it and we will read- and reply to it! CORE-Updates wurden released! Alle angekündigten Bugfixes/Features sind nun verfügbar! Bitte JDownloader updaten und eventuelle Bugs schnellstmöglich an uns melden. Falls dieser Thread vom Team als "[Erledigt]" markiert wird, kannst du weiterhin darin antworten und wir lesen/beantworten auch solche Threads! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#11
|
|||
|
|||
@mjolnir870: Thanks for the explanation how to test multiple sites
|
Thread Tools | |
Display Modes | |
|
|