#1
|
|||
|
|||
IPv6 Downloads
What about enabling Downloads via IPv6?
1fichier.com and premiumize.me already have IPv6 enabled downloads. So it would be great if JDownloader could also support it. This is also a nice fall-back for routing issues. So if the connection via v4 fails, it normally still works via v6 and vice versa. I have no idea how excessively you are using IP addresses internally, but generally supporting v6 shouldn't be much of a problem in Java. |
#2
|
||||
|
||||
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Thank you.
However, one could add a note to the bugtracker, mentioning the two services which already have IPv6 (it seems, premiumize.me has only some download servers v6 enabled). Also, some big German ISP's assign v6 to every new customer (Deutsche Telekom, Unitymedia, Kabel BW, Kabel Deutschland). With Unitymedia, you don't get an IPv4 address any more, only IPv6. v4 connectivity is realized via Dual-Stack-Lite (which is painfully slow sometimes ...). So there should be some users with IPv6 out there and it would be great if JDownloader could add support for v6 soon. |
#4
|
||||
|
||||
Soon? probably not. If I'm completely honest, I don't see this happening within the next year. Well not unless someone outside of Appwork implements. As you can see the ticket properties: priority of: low && target of: far far away
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
So does anyone know what was the reason for doing this?
./trunk/src/org/jdownloader/startup/Main.java: Code:
// only use ipv4, because debian changed default stack to ipv6 /* * we have to make sure that this property gets set before any network stuff gets loaded!! */ System.setProperty("java.net.preferIPv4Stack", "true"); |
#6
|
||||
|
||||
comment is quite explanatory. I'd say the 'network stuff' requires ipv4 stack.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#7
|
|||
|
|||
Six years and still no IPv6 support is quite disappointing! My proxy only permits IPv6 connections so I cannot use it at all in the current state.
|
#8
|
||||
|
||||
IPv6 support is available since long time but must be enabled manually. Only on headless systems it's auto enabled at the moment. wait for next core update and I will enable it for all systems.
__________________
JD-Dev & Server-Admin |
#9
|
||||
|
||||
Update is live. You can change IP Preference in Settings-Advanced Settings- search for ipv
__________________
JD-Dev & Server-Admin |
#10
|
|||
|
|||
Quote:
For the avoidance of doubt, I can connect to the proxy using other programs, such as a web browser, and I can connect to the proxy with JD via IPv4, so I am quite sure the error lies with JDownloader's IPv6 support and I have updated to the latest version (Core #41267). Last edited by Retal; 17.09.2019 at 10:37. |
#11
|
||||
|
||||
With recent core update from yesterday IPv6 support is enabled. The IP Preference is just to tell JDownloader if you prefer *IPv4 over IPv6* or *IPv6 over IPv4* or *System Default*.
Just tested IPv6 and working fine here. If you want we can take a look together via Teamviewer or you'll provide a log, see https://support.jdownloader.org/Know...d-session-logs and post shown logID here
__________________
JD-Dev & Server-Admin |
#12
|
||||
|
||||
Is it a sock4/socks5/http/https proxy? You said your proxy only allows IPv6 connections but then I don't understand
Quote:
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
It's not that hard to understand. I operate the proxy and I used to use it with IPv4 but now it's locked down to IPv6 only (because my new ISP runs CGNAT over IPv4). Anyway, the proxy is restricted to my IPv6 identity only, so you can't borrow it, nor would I permit remote control of my machine. I will provide the log in due course.
|
#14
|
||||
|
||||
Yes, it's not hard to understand but as I cannot reproduce the issue, I need more information to either reproduce this myself or with help of some logs from you to see what is going on.
1.) what proxy software do you use, so I can setup my own test setup? danted/squid...? 2.) what proxy mode do you use? Socks4/Socks5/Http/Https? 3.) do you enter 3.1.) dns name with 3.1.1.) AAAA record or 3.1.2.) AAAA and A record? or 3.2.) IPv6 in full notation, with [] or without []? or 3.3.) IPv6 in short notation , with [] or without []? Thanks for your help and time with this issue
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
1. Squid Cache: Version 3.5.12
2. HTTP 3.1. AAAA only 3.2. Not sure what you mean by this, but if you're asking about the entry in JD then neither; I use the DNS host name which it has to resolve. In the DNS itself this isn't even a question is it? Thank you for your assistance so far, I appreciate it. |
#16
|
||||
|
||||
Thanks for your feedback. I was asking if you enter IPv6 literally or use dns which you have answered.
I will setup same and do some testing
__________________
JD-Dev & Server-Admin |
#17
|
||||
|
||||
Working fine here.
-setup a squid 3.5.12 -setup dns with AAAA only record -setup squid proxy in Settings-Connections -disable NoProxy in Settings-Connections (for testing, to make sure traffic is going through Proxy) ->all fine
__________________
JD-Dev & Server-Admin |
#18
|
||||
|
||||
Either you can provide logs or we can take a look at this together via Teamviewer, contact me via support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#19
|
|||
|
|||
There's 32 log files per directory. Which one contains proxy connection attempts?
|
#20
|
||||
|
||||
Please check if you have installed
RelevantKnowledge and PremierOpinion those seem to cause socket issues with Java,see https://board.jdownloader.org/showpo...22&postcount=7 For example try to add http://cdn8.appwork.org/speed.zip and then you'll have a logfile with directhttp in filename
__________________
JD-Dev & Server-Admin |
#21
|
||||
|
||||
I'm available for teamviewer the next 5 mins, if you like
__________________
JD-Dev & Server-Admin |
#22
|
|||
|
|||
Apologies, but it seems I could no longer connect to the proxy from my browser, either. I restarted it (without making any configuration changes), and miraculously it works again now, including in JD. Thanks for your support!
|
#23
|
||||
|
||||
Thanks for the feedback! Glad to hear that it finally works for you as well Please don't hesitate and report issues
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|