JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 22.12.2018, 10:25
TomArrow TomArrow is offline
Super Loader
 
Join Date: Sep 2017
Posts: 27
Default Infuriating 30 minute Network problem timeout (antiDDoSForHost.cpp)

I get this when downloading a longer video from Facebook. The only workaround is to restart jDownloader2. No time-related setting in the advanced settings affects this in anyway.

It goes like this: Network problem: Caller: org.jdownloader.plugins.components.antiDDoSForHost.openAntiDDoSRequestConnection(antiDDo...

The rest I can't read because the window isnt big enough.

Honestly, what is this about? The download on this file is very very slow and with this, it will take me days to download because this error appears every few minutes.

Please, for the love of God, tell me how to work around this. Restarting jD fixes it, but that's not a solution. I'm not DDoSing anyone, I'm trying to download a video from Facebook.
Reply With Quote
  #2  
Old 22.12.2018, 16:56
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

Many hosts implement anti ddos (for any page request), so that component handle that anti ddos from host.

30 minutes wait time is hard coded in the plugin. If we have real network problem, 30 minutes wait make sense.
__________________
FAQ: How to upload a Log
Reply With Quote
  #3  
Old 22.12.2018, 23:42
TomArrow TomArrow is offline
Super Loader
 
Join Date: Sep 2017
Posts: 27
Default

I see. Agreed, for real network problems it might make sense. But can that be made a configurable option please? The host does not require this much wait time, because I was ultimately able to download it with a different download manager without this problem (it had disconnects, but only about 30s waittime, so it was tolerable).
Reply With Quote
  #4  
Old 23.12.2018, 10:54
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

If you upload the log, maybe I can change it.
__________________
FAQ: How to upload a Log
Reply With Quote
  #5  
Old 12.09.2022, 17:38
user75846 user75846 is offline
Baby Loader
 
Join Date: Jan 2021
Posts: 7
Default Change timeout for network problem (antiDDoSForHost)

I still get a 30 minute timeout when trying to download something with the message:

Network problem: Caller: org.jdownloader.plugins.components.antiDDoSForHost.openAntiDDoSRequestConnection(antiDDo...

in the status column, without there being an actual network problem or anti DDoS message from the host as far as I can tell. It seems others have experiences similar issues before, and as suggested here: https://board.jdownloader.org/showpo...85&postcount=3 I think the timeout length should at least be made configurable. Is there any progress being made on this?
Reply With Quote
  #6  
Old 12.09.2022, 17:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@user75846: Please provide a log, see https://support.jdownloader.org/Know...d-session-logs
and post logID here. then we can check what error is thrown and how it is handled/what timeout is applied. Last time we did not receive any log, see https://board.jdownloader.org/showpo...91&postcount=4
With a log we can check where this timeout is thrown and why and can most likely reduce it.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 13.09.2022, 12:56
user75846 user75846 is offline
Baby Loader
 
Join Date: Jan 2021
Posts: 7
Default

Quote:
Originally Posted by Jiaz View Post
@user75846: Please provide a log, see **External links are only visible to Support Staff**...
and post logID here. then we can check what error is thrown and how it is handled/what timeout is applied. Last time we did not receive any log, see **External links are only visible to Support Staff**...
With a log we can check where this timeout is thrown and why and can most likely reduce it.
Log id:
08.09.22 22.42.06 <--> 13.09.22 10.48.08 jdlog://6689211370661/

I suspect it may have been occuring when I shut my laptop lid and it therefore went to sleep whilst the download was occurring, and then the error appears when it wakes back up.
Reply With Quote
  #8  
Old 13.09.2022, 14:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Quote:
Originally Posted by user75846 View Post
I suspect it may have been occuring when I shut my laptop lid and it therefore went to sleep whilst the download was occurring, and then the error appears when it wakes back up.
That makes sense. shut the laptop will cause network to be shut down/killed and resulting in network errors. Same for open the laptop, network not yet there but JDownloader tries to download and fails because of no fully network connectivity
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 13.09.2022, 14:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 13.09.2022, 14:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@user75846: That's a special situation as JDownloader doesn't *know* that your whole network has issues/is offline and cannot differ between local or remote issues in that situation. It would make more sense to auto detect standby and let JDownloader wait till network is back.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 13.09.2022, 16:32
user75846 user75846 is offline
Baby Loader
 
Join Date: Jan 2021
Posts: 7
Default

A standby detector seems like a good idea. I'm now getting a different message when I put my laptop to sleep and wake it back up, 'Connection problems.' with what seems to be a 4 minutes 45 seconds timeout.

I do still recommend making the length of the timeout for stuff like this configurable as with other timeouts. Even to avoid DDoS issues, I don't suppose a timeout that long is necessary.
Reply With Quote
  #12  
Old 09.11.2022, 14:03
StefanM's Avatar
StefanM StefanM is offline
JD VIP
 
Join Date: Oct 2020
Posts: 485
Default

Quote:
Originally Posted by Jiaz View Post
I have the same problem. And it would be a great help, if the user would be able to edit those 30 minutes.

Because:
I want to download some 200 pictures. I am successful with some 50 of them. For the rest I get the message
Code:
Network Problem: Caller: org.jdownlaoder.plugins...
But after 3 minutes I reset all those 'problem'-links and again start the download. This results in another, e.g. 25 successful downloads.

I have to repeat this procedure again and again, to speed things up.

In most of my cases 3 or 5 minutes would be helpful instead or 30 minutes.
Reply With Quote
  #13  
Old 09.11.2022, 14:15
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

I don't see this coming in the near future.
Your current options are as follows:
  • Use an EventScripter script that resets/resumes downloads with such errors/wait-times
  • Obtain our source code and modify it according to your needs
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 00:14.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.