Forum: open-discussion

Monitor Forum | Start New Thread Start New Thread
RE: winpt resets proxy-setting to 'NONE' [ Reply ]
By: David Elze on 2006-10-23 06:38
[forum:686]
Hi,

That's not true for me, meaning if I select HTTP, close WinPT,
Start it again and try to refresh a key via the keyserver I get
Not connection due to the fact that the proxy is not used.

I really have to manually open the keyserver properties, click
"change proxy", select proxy-type "HTTP" and click OK. If I don't
Do one of these steps the proxy is not used.

But maybe the problem is not NONE and/or HTTP but usage of proxy
Settings at all because you're right, the value in the registry
Is set to one always, thus it could be a problem with the proxy
Code itself!?

If I can provide you further information I'll be glad to do this :)

CU
David

RE: winpt resets proxy-setting to 'NONE' [ Reply ]
By: Timo Schulz on 2006-10-21 13:46
[forum:672]
The problem should be only in the user interface (see comment for the bug item). Even if the dialog does not display the right value, the registry has stored them correctly.

But if you confirm the dialog (with none), it will be resetted. Maybe this is the problem.

RE: winpt resets proxy-setting to 'NONE' [ Reply ]
By: David Elze on 2006-10-19 13:44
[forum:668]
Hi,

I just experienced the same, meaning that WinPT 1.0.1 does not really save the proxy type you configure in its proxy preferences for the keyservers, meaning after a restart of WinPT you end up with the proxy type "NONE", regardless if you configured "HTTP" the session before.

This setting changes HKEY_CURRENT_USER\Software\WinPT\Keyserver\Proto but regardless of any manual overwrite of this setting in the Windows registry,
WinPT does not recognize it. But if you change the setting via WinPT again, the value of this key is set back to "1" (the standard setting).

No I looked over the sources and think I found the problem:
in the file "wptKeyserver.h" you can find the following lines:

/* Valid proxy protocols. */
enum proxy_proto_t {
PROXY_PROTO_NONE = 0,
PROXY_PROTO_HTTP,
PROXY_PROTO_SOCKS4,
PROXY_PROTO_SOCKS5
};

Now there seems to be no real constant value for PROXY_PROTO_HTTP,
maybe this is the right entry point to solve the problem mentioned above!?

I did not look close enough to the sources but I hope this helps to fix my problem and maybe release a WinPT 1.0.1a or something because I can't explain my users to set this setting every time they start WinPT :-)

Thanks a lot for any reaction to this and you time.

Regards, David Elze

RE: winpt resets proxy-setting to 'NONE' [ Reply ]
By: Timo Schulz on 2006-08-05 10:48
[forum:560]
I will check this ASAP.

winpt resets proxy-setting to 'NONE' [ Reply ]
By: Ralf on 2006-08-04 20:27
[forum:558]
Anytime I use a proxy to receive the keys I have to reset the proxy to 'HTML' manually.

Whenever Winpt is started, the proxy settin is reset to "NONE".

Ralf