GIScience / orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice API´s, based on openstreetmap
https://plugins.qgis.org/plugins/ORStools/
MIT License
98 stars 31 forks source link

include qgis proxy settings #87

Closed Benni5K closed 5 years ago

Benni5K commented 5 years ago

I had problems using OSM Tools Plugin behind our company proxy. Following this post, I implemented inclusion of QGIS proxy settings. My developing skills are limited so this is only a quick-and-dirty solution, nevertheless I wanted to share.

nilsnolde commented 5 years ago

Sorry, I didn't see this before merging a whole new version. You can try again if you want. But pls test this, also outside of a Proxy environment. Since your code definitely throws an exception in that case.

In any case, I'll only start to look into it when QGIS fixes their internal request handling, so that I can fully use the QgsNetworkManager. It's on their agenda though.