JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.03.2017, 06:47
fuknuckle fuknuckle is offline
Black Hole
 
Join Date: Aug 2015
Posts: 253
Default proxy authentication window

This window pops up sometimes when my proxy experiences a momentary connection issue which happens with the PIA proxy

The problem is that this windows ignores silent mode settings and so it pops up while I am watching something or doing something and it is annoying

It will also pop up when I leave my PC for the night and nothing downloads because it was waiting for me to confirm the user/pass. This window should have a 1 min timeout like the captcha windows have.

If I have already been successfully using a specific connection/proxy, JD should not be bugging me to confirm the user/pass when there is an occasional connection problem

Please Fix!
Reply With Quote
  #2  
Old 06.03.2017, 17:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

Please provide a logfile, see https://support.jdownloader.org/Know...d-session-logs
and post shown logID here.
Authentication window should only show up when the proxy returns that logins are invalid. I also need the logfile to see where in code the dialog gets triggered.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 10.04.2018, 01:56
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

Hi, Jiaz. I get this popup a lot. All I ever really do is check 'Remember' and then click 'Save'

Code:
------------------------Thread: 32:Log.L.log-----------------------
--ID:32TS:1523310963210-4/9/18 4:56:03 PM -  [org.appwork.controlling.StateMachine(forceState)] -> jd.controlling.downloadcontroller.DownloadWatchDog@33e306 State changed IDLE--1(12278146) -> RUNNING--1(29327755)
------------------------Thread: 24:Log.L.log-----------------------
--ID:24TS:1523311055009-4/9/18 4:57:35 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$8(runInEDT)] -> Force Dummy Init
--ID:24TS:1523311055015-4/9/18 4:57:35 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$11(runInEDT)] -> Reset Dummy Info
--ID:24TS:1523311055016-4/9/18 4:57:35 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(displayDialog)] -> Display Dialog: dialog_Proxy_authentication_is_required_
--ID:24TS:1523311055182-4/9/18 4:57:35 PM -  [org.appwork.storage.JsonKeyValueStorage(<init>)] -> Load JSon Storage from Classpath url: file:/D:/JDownloader2/cfg/RememberRelativeLocator-ebecfd456a460c31a367b044c2986eac.json
--ID:24TS:1523311055183-4/9/18 4:57:35 PM -  [org.appwork.storage.JsonKeyValueStorage(<init>)] -> Prefer (merged) JSon Storage from File: D:\JDownloader2\cfg\RememberRelativeLocator-ebecfd456a460c31a367b044c2986eac.json
--ID:24TS:1523311055183-4/9/18 4:57:35 PM -  [org.appwork.storage.config.handler.StorageHandler(<init>)] -> Init StorageHandler for Interface:org.appwork.utils.swing.dialog.LocationStorage|Path:D:\JDownloader2\cfg\RememberRelativeLocator-ebecfd456a460c31a367b044c2986eac
--ID:24TS:1523311303296-4/9/18 5:01:43 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(actionPerformed)] -> Answer: Button<OK:Save>
--ID:24TS:1523311303307-4/9/18 5:01:43 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$8(runInEDT)] -> Force Dummy Init
--ID:24TS:1523311303335-4/9/18 5:01:43 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$11(runInEDT)] -> Reset Dummy Info
--ID:24TS:1523311303337-4/9/18 5:01:43 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(displayDialog)] -> Display Dialog: dialog_Proxy_authentication_is_required_
--ID:24TS:1523311304516-4/9/18 5:01:44 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(actionPerformed)] -> Answer: Button<OK:Save>
--ID:24TS:1523311304525-4/9/18 5:01:44 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$8(runInEDT)] -> Force Dummy Init
--ID:24TS:1523311304550-4/9/18 5:01:44 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$11(runInEDT)] -> Reset Dummy Info
--ID:24TS:1523311304552-4/9/18 5:01:44 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(displayDialog)] -> Display Dialog: dialog_Proxy_authentication_is_required_
--ID:24TS:1523311305402-4/9/18 5:01:45 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(actionPerformed)] -> Answer: Button<OK:Save>
--ID:24TS:1523311305409-4/9/18 5:01:45 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$8(runInEDT)] -> Force Dummy Init
--ID:24TS:1523311305435-4/9/18 5:01:45 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$11(runInEDT)] -> Reset Dummy Info
--ID:24TS:1523311305437-4/9/18 5:01:45 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(displayDialog)] -> Display Dialog: dialog_Proxy_authentication_is_required_
--ID:24TS:1523311306663-4/9/18 5:01:46 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(actionPerformed)] -> Answer: Button<OK:Save>
--ID:24TS:1523311395419-4/9/18 5:03:15 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$8(runInEDT)] -> Force Dummy Init
--ID:24TS:1523311395424-4/9/18 5:03:15 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$11(runInEDT)] -> Reset Dummy Info
--ID:24TS:1523311395426-4/9/18 5:03:15 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(displayDialog)] -> Display Dialog: dialog_Proxy_authentication_is_required_
--ID:24TS:1523311399136-4/9/18 5:03:19 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(actionPerformed)] -> Answer: Button<OK:Save>
--ID:24TS:1523311477946-4/9/18 5:04:37 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$8(runInEDT)] -> Force Dummy Init
--ID:24TS:1523311477951-4/9/18 5:04:37 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$11(runInEDT)] -> Reset Dummy Info
--ID:24TS:1523311477953-4/9/18 5:04:37 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(displayDialog)] -> Display Dialog: dialog_Crawling_for_Downloads
--ID:24TS:1523311539652-4/9/18 5:05:39 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$8(runInEDT)] -> Force Dummy Init
--ID:24TS:1523311539658-4/9/18 5:05:39 PM -  [org.appwork.utils.swing.dialog.AbstractDialog$11(runInEDT)] -> Reset Dummy Info
--ID:24TS:1523311539660-4/9/18 5:05:39 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(displayDialog)] -> Display Dialog: dialog_Proxy_authentication_is_required_
--ID:24TS:1523311541702-4/9/18 5:05:41 PM -  [org.appwork.utils.swing.dialog.AbstractDialog(actionPerformed)] -> Answer: Button<OK:Save>
------------------------Thread: 1812:Log.L.log-----------------------
I've also tried setting 'UpdateSettings: Proxy Dialog On No Connection' to false, and that didn't change anything.

Last edited by AliceN; 10.04.2018 at 02:08.
Reply With Quote
  #4  
Old 10.04.2018, 12:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

I need full log, please upload and post the shown logID.
Are you using socks5 proxy? Because there is no real *auth invalid* error for socks5.
With full log I can check where this error comes from and maybe handle it better/automatic.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 10.04.2018, 17:22
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

Quote:
Originally Posted by Jiaz View Post
I need full log, please upload and post the shown logID.
Are you using socks5 proxy? Because there is no real *auth invalid* error for socks5.
With full log I can check where this error comes from and maybe handle it better/automatic.
yes, I am using socks5. I'll have a new log for you sometime today.
Reply With Quote
  #6  
Old 10.04.2018, 17:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

Okay, waiting for new log then
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 24.04.2018, 23:43
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

I had forgotten about this for a while, but I now have logs to share. Unfortunately, since they contain my proxy information, I can't just post them publicly in this thread. You will need to PM me before it will allow me to PM you.
Reply With Quote
  #8  
Old 25.04.2018, 02:53
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,668
Default

it wont matter if you pm or not. only select staff can read the logs. the 'risk' as your classified it is the same.

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

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #9  
Old 25.04.2018, 10:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

Either use the normal log upload and post the shown logID here or zip the logs folder and send to support@jdownloader.org
Both can only be accessed by selected staff members
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 25.04.2018, 11:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

Thanks for the logs. I will try to optimize better *auth invalid* detection. I will let you know when code is online
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 25.04.2018, 12:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

It looks like you've reached sort of connection limits on the socks server as many work and during linkcheck some/many fail. Instead of asking for auth I will auto autoretry with little delay
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 25.04.2018, 16:59
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

Ideally I would like it to never ask me for the login details under any circumstance, it'd be nice if there were a setting to always just try the saved stuff without prompting me.
Reply With Quote
  #13  
Old 25.04.2018, 17:05
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

As an aside, unrelated to the bug, I do wish there was a way to manually switch which proxy any given download is using. Some of them are faster than others. If I've got one file of a set left, I'm going to want to switch it to the fastest connection I have.
Reply With Quote
  #14  
Old 25.04.2018, 17:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

You can achieve this with black/whitelisting settings of the proxies
on hoster or account@hoster basis
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 25.04.2018, 20:45
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

Quote:
Originally Posted by Jiaz View Post
You can achieve this with black/whitelisting settings of the proxies
on hoster or account@hoster basis
That would defeat the purpose of using this setup, there are often IP lockouts. A way to change which proxy a download is using without moving it to the top of the proxy list an restarting the program would be invaluable.
Reply With Quote
  #16  
Old 26.04.2018, 09:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

I think there is a misunderstanding.
There is no need to restart JDownloader when changing black/whitelisting and you don't have to move any proxies in list. You only have to change the black/whitelisting of the proxy in Settings-Connections to stop JDownloader using a specific proxy for a service or only allow specific services on a proxy.

Or did you mean something different?
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 27.04.2018 at 12:10.
Reply With Quote
  #17  
Old 27.04.2018, 02:49
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

A download already in progress won't switch to a new proxy that way.
Reply With Quote
  #18  
Old 27.04.2018, 11:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

An already in progress download can only switch connection by restarting and most free services don't allow resume feature so download will start from zero/start.
Also a *per download* setting will blow up GUI and complexity a lot. I don't see that comming in near future. A *per host* or *per account/host* is what is possible right now.

You could change proxy white/blacklisting and simply rightclick restart the download if you want to switch ongoing downloads
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 27.04.2018, 13:38
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

So I'd have to uncheckmark fifty proxies or move one to the top and change the proxy load balancing advanced setting. Not exactly the most convenient options.

Could I at least ask for 'checkmark all' and 'uncheckmark all' buttons in the proxy menu?
Reply With Quote
  #20  
Old 27.04.2018, 13:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

Not to *unckeck*. Just setup the white/blacklisting settings for the proxies!
You don't want proxy A to be used for service X, then add X to blacklist of proxy A and JDownloader will not use it for service X.
I'm talking about moving order or enable/disable! Just setup the proxies and blacklist the services you don't want to be used for that proxies
__________________
JD-Dev & Server-Admin
Reply With Quote
  #21  
Old 27.04.2018, 14:10
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,591
Default

Quote:
Originally Posted by AliceN View Post
Could I at least ask for 'checkmark all' and 'uncheckmark all' buttons in the proxy menu?
You can use the "Enable All" checkbox, in the the column header (Right-clikc green Icon in first column).
Reply With Quote
  #22  
Old 27.04.2018, 18:37
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

I feel like we're speaking two different languages here. I want all my proxies to be able to be used for all services.

but when I have two parts left of a 50 part archive series, I want to be able to switch those two parts to the fastest proxies I have as quickly as possible.

'Uncheckmark all' and 'checkmark all' buttons in the proxy manager would make this a lot faster than the current methods.
Reply With Quote
  #23  
Old 27.04.2018, 18:38
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

Quote:
Originally Posted by mgpai View Post
You can use the "Enable All" checkbox, in the the column header (Right-clikc green Icon in first column).
Oh hey, so I guess that already exists! I never knew it was hidden there. Thank you.
Reply With Quote
  #24  
Old 29.04.2018, 17:36
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

Quote:
Originally Posted by mgpai View Post
You could change proxy white/blacklisting and simply rightclick restart the download if you want to switch ongoing downloads
For the record, this does not work on a download that is stalled at 'Starting'
Reply With Quote
  #25  
Old 30.04.2018, 16:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

Stalled at *Starting* -> you will just have to wait for timeouts to run out. Ongoing blocking connections cannot be aborted while they are waiting for data. Once the timeout kicks in, the download will abort.

So you're looking for a method to *easy* select next proxy to use, that's all? a *preferred* proxy to try first, right?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #26  
Old 10.05.2018, 04:30
AliceN AliceN is offline
Registered / Inactive
 
Join Date: Dec 2017
Posts: 18
Default

Quote:
Originally Posted by Jiaz View Post
Stalled at *Starting* -> you will just have to wait for timeouts to run out. Ongoing blocking connections cannot be aborted while they are waiting for data. Once the timeout kicks in, the download will abort.

So you're looking for a method to *easy* select next proxy to use, that's all? a *preferred* proxy to try first, right?
Quote:
So you're looking for a method to *easy* select next proxy to use, that's all?
Yes

Quote:
a *preferred* proxy to try first, right?
Well, whatever the program would normally try first with the current settings, yes.
Reply With Quote
  #27  
Old 11.05.2018, 13:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,017
Default

I've created a ticket for this, so the idea/wish won't get lost
__________________
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 17: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.