JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11.04.2015, 17:56
ch1CructiERs
Guest
 
Posts: n/a
Default VPN reconnect: jdownlaoder reconnects to early

Hi all,

I am using the VPN client viscosity and I wanted to setup reconnect.

I set up a small batch script which works:

Code:
Viscosity.exe disconnect all
Viscosity.exe connect "my connection"
However, the reconnect is not usable because jdownloader 2 recognized a new IP already on disconnect. But this is the PC's regulars IP address without VPN. It immediately reconnects but the captcha process runs already on the non-VPN IP connection.

I do not see any possibility to make jdownloader wait for 20 seconds or so till it picks up the downloads again.

Are there any solutions to this?

Cheers,

Chris
Reply With Quote
  #2  
Old 11.04.2015, 18:51
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,251
Default

Ipchecks are been done every few seconds to determine change/success or failure, whilst reconnection scripts are been run without knowing persay when the scripts have finished running. Since you are using VPN as this changes your systems default gateway, disconnecting all will just revert to system primary (as you indicated) which has a live internet connection, which is different to the previous connection == success.

I'm not sure what can be done about reconnection tests
maybe settings > advanced settings > Reconnect: Seconds Before First IPCheck ?

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 12.04.2015, 09:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Or use GlobalIPCheckPattern in advanced settings to specify a pattern of allowed ip's to exclude your isp ip
__________________
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 01:20.
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 - 2021, Jelsoft Enterprises Ltd.