20

I have been trying to teach myself QGIS by using this site and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for some reason I am not able to connect with these.

Why might this be the case?

0

6 Answers 6

23

I was able to set up proxy settings in QGIS (Settings->Options->Network) so that it could communicate through our proxy server. In my case, the Default proxy type didn't work--I had to use HTTPProxy. Once that was done, I had no problem getting to the plugins on the repo servers.

0
11

Here is a workaround if you are behind proxy and not getting the repositories. This would work for all python plugins.

  1. Download the plugin directly from the repository url using your browser. For example, for CadTools, download the zip file from the here repo link
  2. Unzip the file. Copy the folder(usually one directory down the extracted folder) to your python plugins directory. In windows, this would be for QGIS1: C:\Program Files\Quantum GIS Wroclaw\apps\qgis\python\plugins, for QGIS2: C:\Users\yourusername\.qgis2\python\plugins or for QGIS3: C:\Users\yourusername\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins and on OSX: ~/.qgis/python/plugins
  3. Restart QGIS and now you can see this plugin installed. Just enable this plugin in the Plugin Manager.
0
2

If you are running QGIS from behind some firewall/proxy setups, you can't get the repositories. I have the same issue when running QGIS behind a restrictive firewall via a proxy at work, but no problem when running QGIS from home.

0
2

On your QGIS go to

settings >> options >>network

Then check the "Use proxy for web access" box

set the proxy type to be defaultProxy to use the system proxy

That way, whatever proxy seetings you have will be inherited and you won't have to insert again.

1

Running QGIS 2.18.12.

  • Configure the Proxy in Settings > Options > Network. (As others have pointed out.)
  • Select Use proxy for web access.
  • (For me):
    Proxy type: HttpProxy
    Host: my-proxy-url.foo (No leading https://)
    Port: 3128.
    User/Password: empty.
  • Verify that it works: Help > Check QGIS Version.
  • Restart QGIS.
  • Now, go to Plugins > Manage and Install Plugins.
  • Success: Plugin repository gets updated.
0

I had the same issue with not being able to connect to official repository but found how to fix this. I replaced DHCP with a static IP address and QGIS now connects to repository. How to here: https://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/

Not the answer you're looking for? Browse other questions tagged or ask your own question.