JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.05.2020, 22:57
nogaff nogaff is offline
I will play nice!
 
Join Date: Sep 2019
Posts: 1
Default Disconnected network interfaces make LinkGrabber/hoster plugins fail

I have the following connections in Connection Manager:



where eth1 is my direct LAN interface, and eth6 and eth24 are OpenVPN interfaces.

Most of the time I have eth24 disconnected and until very recently the LinkGrabber/hoster plugins would simply ignore it and move on to eth6.

Lately though, they just keep trying eth24 over and over and logging NetworkInterfaceExceptions, before eventually saying the link is "UNCHECKABLE" and halting without even trying eth6:

Spoiler:
------------------------Thread: 1349:mega.co.nz_jd.plugins.hoster.MegaConz-----------------------
--ID:1349TS:1588358880978-01/05/20 19:48:00 - [jd.controlling.linkchecker.LinkChecker(updateAvailableStatus)] -> Check FileInformation: **External links are only visible to Support Staff****External links are only visible to Support Staff**
--ID:1349TS:1588358881188-01/05/20 19:48:01 - [jd.http.Browser(openRequestConnection)] ->
Caller: jd.plugins.hoster.MegaConz.apiRequest(MegaConz.java:399)
jd.plugins.hoster.MegaConz.requestFileInformation(MegaConz.java:672)
jd.plugins.PluginForHost.checkLink(PluginForHost.java:1967)
jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:562)
jd.controlling.linkchecker.LinkChecker.access$200(LinkChecker.java:38)
jd.controlling.linkchecker.LinkChecker$1.run(LinkChecker.java:423)
BrowserID:65|BrowserParentID:-1|RequestID:1|URL:**External links are only visible to Support Staff****External links are only visible to Support Staff**
----------------Request Information-------------
URL: **External links are only visible to Support Staff****External links are only visible to Support Staff**
URL-Parameter:
id : 1588358880978
Host: g.api.mega.co.nz
Local: eth24
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
-------------Not Connected Yet!-----------------

[ {
"p" : "REDACTED",
"a" : "g"
} ]
----------------Response Information------------
-------------Not Connected Yet!------------------


--ID:1349TS:1588358881188-01/05/20 19:48:01 - [] -> Exception thrown at jd.http.Browser.openRequestConnection(Browser.java:1725):
org.appwork.utils.net.httpconnection.NetworkInterfaceException: network interface 'eth24' not connected!
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.getNetworkInterfaceInetAdress(HTTPConnection Impl.java:624)
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.getKeepAliveSocket(HTTPConnectionImpl.java:4 78)
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.connect(HTTPConnectionImpl.java:826)
at jd.http.requests.PostRequest.postRequest(PostRequest.java:221)
at jd.http.Request.connect(Request.java:333)
at jd.http.Request.connect(Request.java:321)
at jd.http.Browser.openRequestConnection(Browser.java:1689)
at jd.http.Browser.openRequestConnection(Browser.java:1545)
at jd.http.Browser.getPage(Browser.java:1276)
at jd.plugins.hoster.MegaConz.apiRequest(MegaConz.java:399)
at jd.plugins.hoster.MegaConz.requestFileInformation(MegaConz.java:672)
at jd.plugins.PluginForHost.checkLink(PluginForHost.java:1967)
at jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:562)
at jd.controlling.linkchecker.LinkChecker.access$200(LinkChecker.java:38)
at jd.controlling.linkchecker.LinkChecker$1.run(LinkChecker.java:423)

--ID:1349TS:1588358881188-01/05/20 19:48:01 - [] -> Exception thrown at jd.plugins.hoster.MegaConz.requestFileInformation(MegaConz.java:675):
jd.http.Browser$BrowserException: Caller: jd.plugins.hoster.MegaConz.apiRequest(MegaConz.java:399)
jd.plugins.hoster.MegaConz.requestFileInformation(MegaConz.java:672)
jd.plugins.PluginForHost.checkLink(PluginForHost.java:1967)
jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:562)
jd.controlling.linkchecker.LinkChecker.access$200(LinkChecker.java:38)
jd.controlling.linkchecker.LinkChecker$1.run(LinkChecker.java:423)
BrowserID:65|BrowserParentID:-1|RequestID:1|URL:**External links are only visible to Support Staff****External links are only visible to Support Staff**
----------------Request Information-------------
URL: **External links are only visible to Support Staff****External links are only visible to Support Staff**
URL-Parameter:
id : 1588358880978
Host: g.api.mega.co.nz
Local: eth24
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
-------------Not Connected Yet!-----------------

[ {
"p" : "REDACTED",
"a" : "g"
} ]
----------------Response Information------------
-------------Not Connected Yet!------------------


at jd.http.Browser.openRequestConnection(Browser.java:1736)
at jd.http.Browser.openRequestConnection(Browser.java:1545)
at jd.http.Browser.getPage(Browser.java:1276)
at jd.plugins.hoster.MegaConz.apiRequest(MegaConz.java:399)
at jd.plugins.hoster.MegaConz.requestFileInformation(MegaConz.java:672)
at jd.plugins.PluginForHost.checkLink(PluginForHost.java:1967)
at jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:562)
at jd.controlling.linkchecker.LinkChecker.access$200(LinkChecker.java:38)
at jd.controlling.linkchecker.LinkChecker$1.run(LinkChecker.java:423)
Caused by: org.appwork.utils.net.httpconnection.NetworkInterfaceException: network interface 'eth24' not connected!
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.getNetworkInterfaceInetAdress(HTTPConnection Impl.java:624)
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.getKeepAliveSocket(HTTPConnectionImpl.java:4 78)
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.connect(HTTPConnectionImpl.java:826)
at jd.http.requests.PostRequest.postRequest(PostRequest.java:221)
at jd.http.Request.connect(Request.java:333)
at jd.http.Request.connect(Request.java:321)
at jd.http.Browser.openRequestConnection(Browser.java:1689)
... 8 more

--ID:1349TS:1588358881188-01/05/20 19:48:01 - [] -> Exception thrown at jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:584):
jd.http.Browser$BrowserException: Caller: jd.plugins.hoster.MegaConz.apiRequest(MegaConz.java:399)
jd.plugins.hoster.MegaConz.requestFileInformation(MegaConz.java:672)
jd.plugins.PluginForHost.checkLink(PluginForHost.java:1967)
jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:562)
jd.controlling.linkchecker.LinkChecker.access$200(LinkChecker.java:38)
jd.controlling.linkchecker.LinkChecker$1.run(LinkChecker.java:423)
BrowserID:65|BrowserParentID:-1|RequestID:1|URL:**External links are only visible to Support Staff****External links are only visible to Support Staff**
----------------Request Information-------------
URL: **External links are only visible to Support Staff****External links are only visible to Support Staff**
URL-Parameter:
id : 1588358880978
Host: g.api.mega.co.nz
Local: eth24
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
-------------Not Connected Yet!-----------------

[ {
"p" : "REDACTED",
"a" : "g"
} ]
----------------Response Information------------
-------------Not Connected Yet!------------------


at jd.http.Browser.openRequestConnection(Browser.java:1736)
at jd.http.Browser.openRequestConnection(Browser.java:1545)
at jd.http.Browser.getPage(Browser.java:1276)
at jd.plugins.hoster.MegaConz.apiRequest(MegaConz.java:399)
at jd.plugins.hoster.MegaConz.requestFileInformation(MegaConz.java:672)
at jd.plugins.PluginForHost.checkLink(PluginForHost.java:1967)
at jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:562)
at jd.controlling.linkchecker.LinkChecker.access$200(LinkChecker.java:38)
at jd.controlling.linkchecker.LinkChecker$1.run(LinkChecker.java:423)
Caused by: org.appwork.utils.net.httpconnection.NetworkInterfaceException: network interface 'eth24' not connected!
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.getNetworkInterfaceInetAdress(HTTPConnection Impl.java:624)
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.getKeepAliveSocket(HTTPConnectionImpl.java:4 78)
at org.appwork.utils.net.httpconnection.HTTPConnectionImpl.connect(HTTPConnectionImpl.java:826)
at jd.http.requests.PostRequest.postRequest(PostRequest.java:221)
at jd.http.Request.connect(Request.java:333)
at jd.http.Request.connect(Request.java:321)
at jd.http.Browser.openRequestConnection(Browser.java:1689)
... 8 more

--ID:1349TS:1588358881191-01/05/20 19:48:01 - [jd.controlling.linkchecker.LinkChecker(updateAvailableStatus)] -> Link **External links are only visible to Support Staff****External links are only visible to Support Staff** is UNCHECKABLE


The links then appear as "Unknown" in the LinkGrabber and cannot be downloaded, so I've had to disable eth24 in Connection Manager for the LinkGrabber to work correctly.
Reply With Quote
  #2  
Old 02.05.2020, 10:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,298
Default

Thanks for the feedback. Leftover of unfinished code is causing this. Removed and update is on the way (about 5 mins)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 02.05.2020, 10:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,298
Default

In case it still doesn't work as expected, please report back
__________________
JD-Dev & Server-Admin
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:54.
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 - 2020, Jelsoft Enterprises Ltd.