JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.11.2024, 23:08
sdi's Avatar
sdi sdi is offline
Ultra Loader
 
Join Date: Nov 2010
Posts: 49
Default k2s.cc and tezfiles.com plugin error when multiple captchas are requested in parallel

When adding multiple files of k2s.cc and/or tezfiles.com JDownloader step by step requests captchas for them. Sometimes captchas for more than one file at the same time is requested. Answering these captchas then causes an plugin error when the download should start (except the first).

Code:
--ID:69828TS:1730926164720-06.11.24, 21:49:24 -  [jd.plugins.hoster.K2SApi(readConnection)] -> 
{"status":"success","code":200,"message":"Captcha accepted, please wait","free_download_key":"edc9a78666be9","time_wait":3542}
--ID:69828TS:1730926164720-06.11.24, 21:49:24 -  [] -> Exception thrown at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:444):
jd.plugins.PluginException: ERROR_PLUGIN_DEFECT|Value:-1
        at jd.plugins.hoster.K2SApi.handleDownload(K2SApi.java:839)
        at jd.plugins.hoster.K2SApi.handleFree(K2SApi.java:683)
        at jd.plugins.PluginForHost.handle(PluginForHost.java:1304)
        at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:439)
        at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:639)
Either this download failure should be downgraded to "retry later" or for these hosters captcha request should not be started in parallel.Only request next captcha after all other downloads are running.

Many files can be found here: **External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #2  
Old 07.11.2024, 12:07
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

Hi sdi,

1. With "Sometimes captchas for more than one file at the same time is requested", do you mean multiple captchas for the same website (e.g. k2s.cc) or k2s.cc and their sister-sites (e.g. fboom.me) mixed?
I'am asking because by default, JD allows max 1 simultan download for k2s.cc so maybe you've changed that in the k2s plugin settings?
Regardless of that: The error you are getting shouldn't happen.
2. Please provide a full log.

Please post your log-ID here
If your report is about a specific website which JD supports via plugin, please also provide example URLs which can be used to reproduce the issue you are having.
If your report is related to a login specific problem with a plugin supported website, enable debug mode before creating logs, see previously linked instructions.

Bitte poste deine Log-ID hier.
Falls dein Problem ein Problem mit einer Webseite ist, die per Plugin unterstützt wird, stelle bitte zusätzlich Testlinks zur Verfügung, mit denen sich dein Problem nachstellen lässt.
Geht es um einen nicht funktionierenden Account-Login, aktiviere vor dem Erstellen deines Logs den debug Modus (siehe zuvor verlinkte Anleitung).

-psp-
__________________
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
  #3  
Old 07.11.2024, 12:23
sdi's Avatar
sdi sdi is offline
Ultra Loader
 
Join Date: Nov 2010
Posts: 49
Default

Quote:
Originally Posted by pspzockerscene View Post
Hi sdi,

1. With "Sometimes captchas for more than one file at the same time is requested", do you mean multiple captchas for the same website (e.g. k2s.cc) or k2s.cc and their sister-sites (e.g. fboom.me) mixed?
I'am asking because by default, JD allows max 1 simultan download for k2s.cc so maybe you've changed that in the k2s plugin settings?
Regardless of that: The error you are getting shouldn't happen.
Yes multiple captchas for the same site. I.e. 3 times k2s.cc, maybe a race condition or captchas accumulating when I didn't answer them? Not so easy to find as usually I only see the result :-)

Can't say if mix is necessary or not. The said site always has both links, and thus I always add both and let the software decide which to download. I think it's independent from the mix, but can't be sure. I didn't change settings for these plugins.

I'll add a log as soon as this happens again.
Reply With Quote
  #4  
Old 07.11.2024, 12:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

Please also provide a screenshot of: Settings -> Plugins -> k2s.cc
__________________
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
  #5  
Old 07.11.2024, 14:35
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

Addendum:
I've just taken a quick look into this problem:
While I see from your log-snippet that it can happen, even if you allow multiple simultaneous free downloads in the k2s plugin, it is supposed to start sequentially so you shouldn't even be able to solve two captchas without one download starting in between.

Did you possible add a [free] k2s account to JDownloader?

Quote:
Originally Posted by sdi View Post
Many files can be found here:
Please provide a list of k2s links.
Extracting them from said website is tasking unnecessary time.
You may as well just create a DLC container from the k2s links in your downloadlist and provide this to me.
__________________
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
  #6  
Old 07.11.2024, 16:01
sdi's Avatar
sdi sdi is offline
Ultra Loader
 
Join Date: Nov 2010
Posts: 49
Default

I'll setup a test which also should give more details what's necessary to reproduce. Give me some time :-)
Reply With Quote
  #7  
Old 14.11.2024, 11:40
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

I've found a comment in the plugins' code that already tells me that the situation you've described can happen:

Code:
                     * 2020-02-18: Add X extra seconds else this might happen after sending captcha answer:
                     * {"status":"success","code":200,"message"
                     * :"Captcha accepted, please wait","free_download_key":"CENSORED","time_wait":1}
                     */
For this reason, I've implemented this:
If a small wait is followed by another small wait [multiple times], JDownloader will wait that time.
If a big wait (like in your case) happens in between, it will be treated as IP limit.
I've also removed those extra seconds which were needed according to the comment as they are indeed not needed so there you go: Two seconds less pre download wait time


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
Spoiler:

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

Last edited by pspzockerscene; 14.11.2024 at 11:45.
Reply With Quote
  #8  
Old 15.11.2024, 16:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

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
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 18:58.
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.