JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.02.2024, 21:03
tommik128 tommik128 is offline
Junior Loader
 
Join Date: Feb 2024
Posts: 11
Default webshare.cz change the action on error file temporarily unavailable

Hi,

Is it possible to limit the number of attempts when link generates "file temporarily unavailable"? Because now, the Jdownloader loops endlessly every 5 minutes and does not turn the PC off because of that. I would prefer if it tried a few times every hour (or so - not 5 minutes) and then stopped trying and turned PC off (I have usually more links that are long finished and I prefer the Jdownloader not to carry on with the "unavailable" one but just shut itself down).

Thank you for your feedback.
Reply With Quote
  #2  
Old 02.02.2024, 13:11
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

Hi,
this is plugin-specific.

Please provide example URLs and a log.

Please post your log-ID here
If your bugreport 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.

Bitte poste deine Log-ID hier.
Falls dein gemeldetes 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.

-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 22.02.2024, 22:21
tommik128 tommik128 is offline
Junior Loader
 
Join Date: Feb 2024
Posts: 11
Default

link:

Code:
**External links are only visible to Support Staff**

log:

Code:
--ID:105TS:1708636237803-22/02/2024, 21:10:37 -  [jd.http.Browser(loadConnection)] -> 
BrowserID:2|RequestID:1|URL:**External links are only visible to Support Staff**
----------------Request Content-------------
<?xml version="1.0" encoding="UTF-8"?>
<response><status>OK</status><name>ZBNCXLAJHRJDKSHBOW121.7z.004</name><description></description><size>581534226</size><type>004</type><adult>0</adult><queued>0</queued><positive_votes>0</positive_votes><negative_votes>0</negative_votes><available>1</available><password>0</password><removed>0</removed><removed_at></removed_at><removal_reason></removal_reason><app_version>30</app_version></response>


--ID:105TS:1708636237807-22/02/2024, 21:10:37 -  [jd.plugins.hoster.WebShareCz(login)] -> Attempting cookie login
--ID:105TS:1708636238134-22/02/2024, 21:10:38 -  [jd.http.Browser(openRequestConnection)] -> 
Caller: jd.plugins.hoster.WebShareCz.handlePremium(WebShareCz.java:322)
jd.plugins.PluginForHost.handle(PluginForHost.java:1308)
jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:436)
jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:618)
BrowserID:2|BrowserParentID:-1|RequestID:2|URL:**External links are only visible to Support Staff**
----------------Request Information-------------
URL: **External links are only visible to Support Staff**
SSLCipher: JVM|Protocol:TLSv1.2|CipherSuite:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
ConnectIP: webshare.cz/185.201.232.19:443
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
POST /api/file_link/ HTTP/1.1
Host: webshare.cz
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:76.0) Gecko/20100101 Firefox/76.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Cache-Control: no-cache
Referer: **External links are only visible to Support Staff**
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 37
Cookie: wst=tfWvczgiDucSi808

ident=k2GtYcej8M&wst=tfWvczgiDucSi808
----------------Response Information------------
Connection-Time: 40ms
Request-Time: 119ms
----------------Response------------------------
HTTP/1.1 200 OK
Date: Thu, 22 Feb 2024 21:10:38 GMT
Server: Microsoft-IIS/7.5
Access-Control-Allow-Origin: *
Vary: Accept-Encoding
Content-Encoding: gzip
X-AspNet-Version: 1.1.4322
X-Powered-By: Visual Basic 6
Content-Length: 163
Connection: close
Content-Type: text/xml; charset=UTF-8
------------------------------------------------


--ID:105TS:1708636238137-22/02/2024, 21:10:38 -  [jd.http.Browser(loadConnection)] -> 
BrowserID:2|RequestID:2|URL:**External links are only visible to Support Staff**
----------------Request Content-------------
<?xml version="1.0" encoding="UTF-8"?>
<response><status>FATAL</status><code>FILE_LINK_FATAL_4</code><message>File temporarily unavailable.</message><app_version>30</app_version></response>


--ID:105TS:1708636238142-22/02/2024, 21:10:38 -  [] -> Exception thrown at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:441):
jd.plugins.PluginException: File temporarily unavailable.->ERROR_TEMPORARILY_UNAVAILABLE|Value:300000
	at jd.plugins.hoster.WebShareCz.checkErrorsAPI(WebShareCz.java:187)
	at jd.plugins.hoster.WebShareCz.handlePremium(WebShareCz.java:325)
	at jd.plugins.PluginForHost.handle(PluginForHost.java:1308)
	at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:436)
	at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:618)

------------------------Thread: 101:webshare.cz_jd.plugins.hoster.WebShareCz-----------------------
--ID:101TS:1708636238156-22/02/2024, 21:10:38 -  [jd.controlling.downloadcontroller.DownloadWatchDog$27(execute)] -> Rename after Download?
--ID:101TS:1708636238156-22/02/2024, 21:10:38 -  [jd.controlling.downloadcontroller.DownloadWatchDog$27(execute)] -> Desired Path: C:\Users\60fps\Downloads\ZBNCXLAJHRJDKSHBOW121.7z.004
--ID:101TS:1708636238156-22/02/2024, 21:10:38 -  [jd.controlling.downloadcontroller.DownloadWatchDog$27(execute)] -> Actually Used path: C:\Users\60fps\Downloads\ZBNCXLAJHRJDKSHBOW121.7z.004
------------------------Thread: 107:webshare.cz_jd.plugins.hoster.WebShareCz-----------------------
--ID:107TS:1708636238450-22/02/2024, 21:10:38 -  [jd.controlling.downloadcontroller.SingleDownloadController(run)] -> StartDownloadMarker:1708636238450
--ID:107TS:1708636238450-22/02/2024, 21:10:38 -  [jd.controlling.downloadcontroller.SingleDownloadController(run)] -> Start Download of:**External links are only visible to Support Staff**
--ID:107TS:1708636238451-22/02/2024, 21:10:38 -  [jd.controlling.downloadcontroller.SingleDownloadController(download)] -> DownloadCandidate: DownloadCandidate:ZBNCXLAJHRJDKSHBOW121.7z.004@webshare.cz|Host webshare.cz|Account:Plugin:webshare.cz|Version:47783|Type:NONE|Account:null|Proxy:{
 "proxy"   : {
              "filter"                 : null,
              "proxy"                  : {
                                          "address"                    : null,
                                          "password"                   : null,
                                          "port"                       : 80,
                                          "type"                       : "NONE",
                                          "username"                   : null,
                                          "connectMethodPrefered"      : false,
                                          "preferNativeImplementation" : false,
                                          "resolveHostName"            : false
                                         },
              "enabled"                : true,
              "pac"                    : false,
              "rangeRequestsSupported" : true,
              "reconnectSupported"     : true
             },
 "banlist" : "[]",
 "class"   : "jd.controlling.proxy.NoProxySelector"
}
Reply With Quote
  #4  
Old 22.02.2024, 22:24
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

If you want, I can add a setting for you which enables you to customize the behavior on this error.

Did you already think about contacting the webshare.cz support to let them fix this serverside issue?
__________________
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 22.02.2024, 22:32
tommik128 tommik128 is offline
Junior Loader
 
Join Date: Feb 2024
Posts: 11
Default

Yes, please. Custom setting would be welcome. Something like: attemp 10 times once per 20 minutes etc.

They tend to have these issues quite a lot. Sometimes the links start working sometimes not. I contacted them once and they deleted the file saying it was broken. Only they know what happens under the hood.
Reply With Quote
  #6  
Old 22.02.2024, 22:35
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

I will look into this tomorrow or next week.
__________________
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
  #7  
Old 22.02.2024, 22:56
tommik128 tommik128 is offline
Junior Loader
 
Join Date: Feb 2024
Posts: 11
Default

Thank you.
Reply With Quote
  #8  
Old 23.02.2024, 13:06
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

The change will take time until we can release our next set of CORE-updates for which I'm unable to provide any ETA.
In the meantime I recommend using an EventScripter script which will ework more basic e.g. stop downloads if download more is active && nothing has been downloaded for X time.

EventScripter forum thread:
https://board.jdownloader.org/showthread.php?t=70525
EventScripter help article:
https://support.jdownloader.org/Know...event-scripter

Important notice:
Our ticket system & knowledgebase are currently under maintenance.
If this is still the case while you are reading my posts and you can't access help articles linked by our staff, use the Internet archive/wayback machine to be able to view those articles:
archive.org/web/
Enter the URL -> Click on "Browse history" -> Select one of the latest dates available
If the date you selected does not lead you to the support article try the next oldest one.
__________________
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
  #9  
Old 28.03.2024, 13:42
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

Next plugin-update will include your requested feature.

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?
Reply With Quote
  #10  
Old 03.04.2024, 15:25
tommik128 tommik128 is offline
Junior Loader
 
Join Date: Feb 2024
Posts: 11
Default

Thank you. There is no waiting time setting (it retries after 5 minutes) but it is sufficient. I set it to 40 times that should quit trying after some 3+ hours.
Reply With Quote
  #11  
Old 03.04.2024, 15:26
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

Exactly - you can simply set it to your desired number of retries which will result in a specific max retry time.

Happy downloading.
EDIT

Addendum:
Keep this in mind:
Resetting a single link via Rightclick -> Reset will clear the number of saved retries so the internal counter will start from 0.
__________________
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; 03.04.2024 at 15:38. Reason: EDIT
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 03:22.
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.