Idea can't load packages while they open in a browser
Answered
Hello, I'm trying to build a project and some packages require VPN access. I provided it with a connected Android phone. The problem is: while I can open these packages in browser, Idea can't download them even if its HTTP proxy is configured. How to configure it properly in Linux?
Please sign in to leave a comment.
Hi Vyacheslav,
How did you configure the proxy in the IDE? Can you attach a screenshot of the File | Settings | Appearance & Behavior | System Settings | HTTP Proxy dialog?
Is the connection check from that dialog to e.g. http://google.com and one of the package URLs successful?
File | Settings | Appearance & Behavior | System Settings | HTTP Proxy - Manual Proxy configuration. I think it can be possible because of DNS (I changed some hosts to IPs and it gone further). But some packages can not be downloaded. Today I got a Gradle error Proxy is still used after turning it off: Unable to load Maven meta-data and maybe the problem is there.
P.S. Test connection was ok with some sites under VPN.
All looks ok after I cleaned Gradle folder.