-
Notifications
You must be signed in to change notification settings - Fork 125
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
Doesn't work with proxy #69
Comments
This can be confirmed on the latest version and makes the plugin unusable for me. |
+1 |
It's ten years later and proxy is still not supported. Cmon guys! |
What is not working for you exactly? if you configure proxy in IDE it will be used See #406 |
Sorry for this. I can investogate the issue next week. Is the setup available for me to test against? The log say tha connection timeout for I try to retrieve the last url for possible redirections to determine real server url for jenkins server. |
Thanks a lot. Wrt setup, unfortunately it's proprietary/intranet, so I can't share it. But the proxy is definitely working fine, as proven by the proxy test functionality of the IDE. It's a socks5 proxy created by ssh -D command. |
I try to create such a setup. I tested with two proxies before but maybe I overlooked something. I simply use the proxy setting from IDE. But may I forgot one part. Is it possible to test build with extended logs if i need more infos? |
Sure, I can help, thanks! |
Hi @sivasuc what I saw in Proxy test is that only checks that the proxy is used. but this not mean that the connection could be established to the correct server. your log says taht a connection to one of the resolved hosts could not be established. Can you please verify with following:
|
Hi @MCMicS mofo@SECRET_HOST MINGW64 ~/workspace/repos/release_gitca (newgitca)
|
It looks fine on first look. And please increse the timeout setting because we have unfortunately issues with large responses (much data) which could lead to timeout exception. I only think about this because your stack before shows an connection timeout error BTW i also have tested with windows 11 host where the socks proxy was created to a linux server |
Yes, I tried it to no avail. I set the same proxy host and port in the manual section. |
And tried the increase of timeout setting? it is hard to say where the issue exist because the could be different environment settings. it will be easier to have access to server or maybe to ssh to create the proxy on my side to the server. |
I created extended logging version. can you please enable debug logs:
you should see logs in idea.log like: |
Sorry, which timeout setting? |
Here is the log with the custom plugin:
|
Unchanged intellij proxy settings, the url works in browsers on the host |
|
can you try following curl HEAD request only:
your log show a |
`curl -I -v --connect-timeout 10 -x socks5h://localhost:18888 https://server_name/api/json
<
|
Hard to find. Maybe i enable logging of underlying http request to see the reason. i have to look further into it. |
Hi @sivasuc But I found another place where I missed the proxy settings. If you will recevice something like |
Hi @sivasuc |
Hi @MCMicS, Yes I noticed that this was an issue of SOCKS support. I resolved my issues with his plugin (and a couple others, e.g. gerrit, jfrog) by switching to a HTTP proxy. Thanks for your help and effort, much appreciated. |
Thanks i currently add SOCKS authentication support and then build a new version. |
released with 0.13.19 |
It looks like you don't use IDEA's proxy settings so it doesn't work. Also the whole IDE hags in this case because it couldn't connect.
The text was updated successfully, but these errors were encountered: