|
#1
|
|||
|
|||
![]()
Hi,
Is it possible to tell JD2 that it can retry a socks5 proxy again? For example: If the file/proxy gets into a status of "download limit has been reached", it looks like the proxy is not (immediately?) retried even if the external/outbound IP of the proxy has changed. For now, when I want to force JD2 to retry, what I do is change the port # of the proxy, and then add a new entry for it in JD2. I was hoping there's something like a simple way to just force JD2 to retry the current one. Thanks! |
#2
|
||||
|
||||
![]()
what happens if you add a series of entries to connection manager, with different ports?
I believe JD will do a IP check to confirm each entry's outward bound IP raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
![]()
Hi,
Yes, that's kind of what I'm currently doing: I change the port # on the proxy server, then I add a new entry in the Connection Manager with the new port to make JD2 think I have a new proxy server. It immediately retries when I do that. |
#4
|
||||
|
||||
![]()
are you inferring that the WAN IP on the proxy is actually the same?
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
||||
|
||||
![]()
Is the proxy your only Connection in Connection Manager. There is no proper "reconnect" detection for proxies yet, because normally proxies don't change their outgoing ip's
![]() Can you provide more information about the setup?
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
![]()
raztoki:
The proxy's WAN IP changes (I can force it to change), and is different from my usual WAN IP. Jiaz: I use "no proxy" and socks5 proxy. The socks5 proxy is basically just a computer/VM running a simple socks5 proxy called 3proxy. The WAN IP for the "no proxy" and proxy are different. The "no proxy" doesn't change WAN IP, but the proxy does. Screenshot of JD2's Connection Manager and gateway status... The multiple 192.168.27.138 with different ports are my attempts to force a retry. The retry doesn't have to be automatic. I would be happy with something like a right-click "retry this proxy" in Connection Manager. Thanks guys! |
#7
|
||||
|
||||
![]()
Why not simply enable all of them and Let JDownloader handle it. Then it does not reconnect but i can use the different outgoing ip's at the same time, till all have reached their waiting time limits.
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
![]()
Sorry, maybe I'm reading your reply incorrectly... I actually only have 1 proxy with 1 extra WAN IP address (randomly assigned).
I guess I could just leave entries with many different ports enabled in JD2, and just change the port in the proxy. It just seems wrong to have all of it probing and waiting at nothing in the background. |
#9
|
||||
|
||||
![]()
So why add it several times in JDownloader? Just simply add the proxy once and wait till this feature is implemented
Will try to fix it as soon as possible
__________________
JD-Dev & Server-Admin |
#10
|
|||
|
|||
![]()
I'm doing exactly the same thing as tuktuk, but I'm using tinyproxy as an HTTP proxy. (in stealth mode, tinyproxy config option to not add proxy headers.) Does SOCKS work better for JD2 than an HTTP proxy? I prob. got the config wrong with my SOCKS proxy, because I tried that first without success.
I had to enable settings -> advanced -> use proxy for IP check, or else it will use direct for checking the IP of both connections. (When is that ever useful? HTTP proxies don't add a header to tell the server the original IP of the request, do they? If the server is going to check things based on the proxy's IP, JD2 needs to do IP checks through the connection that it's checking. I think JD2 still uses Direct for checking the IP of my Direct connection, so it's not like that option forces all IP checks to avoid the direct connection.) (See https://board.jdownloader.org/showth...230#post329230 for more about the poor IP checking.) When I get a new IP on my proxy (which I do manually), I've usually clicked "reset" on a link to get JD2 to try it again. At that point, it usually notices the IP of the proxy connection has changed, since it does an http request to ipcheck<number>.jdownloader.org. I tried using reconnect once, with method = script, and the script body Code:
true # unix command that just exits right away, with a successful exit status I think the nicest way to implement external reconnects would be to add a new reconnect method "External". Clicking reconnect would just trigger an IP check on all available connections. Either disallow the user from enabling auto-reconnects with external, or warn the user that it requires manual intervention, and pop up a dialog to tell them that JD2 is ready for a reconnect. It would be more tricky to allow the "don't start new downloads when one is waiting for a reconnect" to operate per-connection, right? From the behaviour of the GUI, I have the impression that not all of JD2 as designed for octopus-mode controlling multiple IPs. (e.g. reconnect waittime for one connection doesn't always show if the other is downloading.) Last edited by Llamatron; 01.04.2015 at 00:25. |
#11
|
||||
|
||||
![]()
Socks5 always work better because a socks proxy is "dumb"
![]() The current reconnect is implemented to reconnect the direct connection because normally you cannot reconnect proxies ![]() A reconnect in JDownloader stops all ongoing downloads.
__________________
JD-Dev & Server-Admin |
#12
|
|||
|
|||
![]()
It seems that it still does not work. After changing the IP in the proxy service, the IP is not recognized by JDownloader.
|
![]() |
Thread Tools | |
Display Modes | |
|
|