-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy network setting not working? #243
Comments
Hey, have you checked the content of the console/log file of Keypirinha? What is the protocol of the proxy you tried? |
The console says: 07:52:51.327 Python: Traceback (most recent call last): I've traced originally with Wireshark and that said direct connection instead of proxy IP. |
Btw. the protocol of the proxy is http. |
I could not reproduce the issue neither with a SOCKS5 or an HTTP proxy. Sorry for that but I would need more info in order to replicate your environment and the issue. Would you mind taking a screenshot of your proxy settings at system level? You may blur the proxy address out of privacy concern but since some parsing is involved during the reading of these settings by Keypirinha, please blur only the network address(es) and keep the original format so I can test in conditions that are as close as possible to yours. I assume you did not close this issue on purpose? |
Ah yes, the following line put me on track: May I ask you to manually setup the proxy to |
When I update the proxy, the log says:
However when I open the configuration again, the http got stripped away, so the config displays the IP:port only as seen on the attachment above. |
Oh, I meant directly in Keypirinha. The point is to ensure Keypirinha deals correctly with your proxy once we got rid of the issue with the parsing of system's settings. Your KP config for the test would be: [network]
proxy = http://10.2.100.20:80 |
The problem is, the proxy requires authentication (NTLM - thought I've written it already, unfortunately I didn't), as such proxy setting without credentials won't work. Nevertheless after replacing the user Keypirinha.ini with the setting you've sent, Keypirinha still tries to connect directly :-/ attaching the config (with other settings, though the behavior is the same) + trace |
Alas NTLM authentication is not supported, I will evaluate the requirements to implement it but for now I cannot guaranty it will be supported in the future. I am aware this prevents some to use KP but time is a finite resource unfortunately. I will report back here any related news. For the next release, I will fix the parsing issue that you found incidentally. Thanks for your feedback and for taking the time to answer my questions. |
Sure, no problem - I thank for the quick feedback! However the traces show, that although proxy is set, KP connects directly, i.e. this has nothing to do with NTLM. I've installed Fiddler to intercept the proxy traffic, however when the connection is direct, fiddler can't help with the NTLM authentication. |
There is indeed a connection attempt that goes to void after a DNS query has been made in the trace you provided. I could not reproduce this myself so this issue is obviously configuration-dependent. To circumvent that, the best way is probably to make Keypirinha's plugins use the Windows API for network requests (i.e. for now Python's This might be tricky due to potential ABI-compatibility issues so this is a long shot. Good thing is potentially every kinds of setups supported by the OS would then be supported. In most cases for free. Follow #247 to get updated on this. |
Parsing issue should now be fixed in v2.16. |
Hi,
I've started with Keypirinha today - and I like it really much! As such I'm still learning, but I think the proxy network setting doesn't work.
My user configuration file on a Windows 10 system looks like this:
I've tried setting the corporate proxy in the IE LAN setting both as an automatic configuration script and also as proxy server using IP address. Irrespective of the setting, the shipped packages I've tried (GoogleTranslate & WebSearch) connect directly to the destination address not respecting the proxy setting.
Is it a bug, or do I miss something? Thanks!
The text was updated successfully, but these errors were encountered: