proxy settings disabled but still asking for it when update project from remote repository

已回答

I have disabled the proxy settings in Appearance -> System Settings -> HTTP Proxy but when I want an project update from my remote repository it gives an error:

Update failed 

ERROR: can't resolve hostname: www-proxy.xx.xx.nl

FATAL: Unable to connect to relay host, error= 11001 

 

Are there more places to disable the proxy?

I use Intellij IDEA 2022.2.3 ( Community Edition )

0

Since you are using an older version of IntelliJ, could you update to the latest build?
Please try the 'check connection' option in the HTTP Proxy settings - and see if the connection is successful? You can use any public URL, for example http://google.com

Also, please restart IntelliJ and reproduce the issue again. Take a screenshot showing the error and export your IDE log file (Help > Collect Logs and Diagnostic Data).
You can upload both the screenshot and zip file with logs, here: https://uploads.jetbrains.com. Just paste your uploaded file ID.

0

I have de latest version now. ( Build #IC-223.8617.56, built on January 26, 2023  ), but still have the proxy problem.

 When I want to Update project I still get the following message:

Upload ID: 2023_02_23_7qzyX3Jx4W8APMxwEGnu7f

0

Thank you for providing the log file, however, the error is not logged. Could you please enable additional debug logging to troubleshoot the issue further:

  • Help > Edit Custom VM Options.. > add following line: 
      -Djavax.net.debug=all
  • Help > Diagnostic Tools > Debug Log Settings > add following lines:
      com.intellij.util.io.HttpRequests
     #com.intellij.util.io.HttpRequests
     com.intellij.util.proxy.CommonProxy
     #com.intellij.util.proxy.CommonProxy
  • Close IntelliJ and remove the following argument from the .vmoptions file: 
      -Djava.net.preferIPv4Stack=true
  • Settings (Ctrl + Alt + S) > Appearance & Behavior > System Settings > HTTP Proxy > select the No proxy option

After setting the debug logging, please restart IDE, reproduce the issue and provide your IDE log file again (Help > Collect Logs and Diagnostic Data).
Can you also try to run the same project update operation from command line (e.g. git bash), outside IntelliJ and see if it works?

0

Hello,

New debug info file placed in Upload id: 2023_02_27_2BWxAJ5LB1HdHjbLej2wkE (file: idea-logs-20230227-13323114331757009113466916.zip) 

0

It seems your git client is trying to connect to a specific proxy host (www-xxxx.xx.xx.nl) and fails. Could you try running the update/pull command from git bash directly - without using IntelliJ?
If you get the same error, try to unset the proxy setting in your git client configuration (run following commands in git bash):

cd /path/to/local/repository
git config --unset http.proxy
git config --global --unset http.proxy
git config --system --unset http.proxy

git config --unset https.proxy
git config --global --unset https.proxy
git config --system --unset https.proxy

After running these commands you can verify that there are no more settings regarding proxy by running this command:
git config -l | grep "http"

Then try again to pull the project from git bash and see if it helped.

0

请先登录再写评论。