# OSR Tools QGIS 3.2

**URL:** https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361
**Category:** QGIS
**Created:** [March 26, 2019, 4:49pm UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361 "2019-03-26T16:49:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [March 26, 2019, 4:49pm UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/1 "2019-03-26T16:49:08Z")

</div>

Hi,

I recently downloaded the OSR Tools plugin for QGIS and added in an API key. When I try to get ischrones for a layer within my project I get the following error. I am using this tool within work, could an internal firewall be the cause to the error?

 ![image](https://ask.openrouteservice.org/uploads/default/original/1X/26c3e1d155622a71f6f76be08935588617945286.png)

Any feedback is appreciated.

Regards  
Finbar

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [March 27, 2019, 11:42am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/2 "2019-03-27T11:42:32Z")

</div>

Hi Finbar,

yes, that’s a Proxy issue. I don’t have the time these days to take a closer look. But I’ll have to fix soonish, several people reported this.

If you take your laptop home or you connect to the internet via your phone hotsport, it’ll work.

---

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [March 27, 2019, 12:06pm UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/3 "2019-03-27T12:06:15Z")

</div>

No worries…thanks for the feedback Nils!

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [March 29, 2019, 6:59am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/4 "2019-03-29T06:59:50Z")

</div>

Hi @fgillen1,

I might start to look at this today. Since I don’t have proxies available and I’m a networking noob and don’t wanna deal with the overhead of emulating a proper environment (and you’re the last person who inquired about this):

when I come up with a draft, can you check on your end if it’s working for you? If you’re not using it already, use the QGIS Proxy settings to test this, as I’ll avoid using custom proxies:

 ![image](https://ask.openrouteservice.org/uploads/default/original/1X/60c656bcde52e3d618e00c2e300d4570e317e18b.png)

---

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [March 29, 2019, 9:28am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/5 "2019-03-29T09:28:06Z")

</div>

Hi @nils, can do! Could you send the updated plugin via email?? There are various security settings within my workplace that stop me from downloading external content and it takes ages to go through the process via IT. If you send me it via email I will be able to test it ASAP. finbar.gillen@axa.ie

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [March 29, 2019, 9:30am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/6 "2019-03-29T09:30:35Z")

</div>

Cool, thx! ZIP files as attachments are fine for your IT though, right?

---

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [March 29, 2019, 9:42am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/7 "2019-03-29T09:42:35Z")

</div>

Its a quicker process to get an email attachment approved than a download from the internet! Zipped files should be fine!

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [March 29, 2019, 10:27am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/8 "2019-03-29T10:27:29Z")

</div>

> [@fgillen1](#):
>
> finbar.gillen@axa.ie

Nope, I tried as zip and tar.gz, both are rejected by your mail server. The zip mail returned this:

```auto
A mail with subject "Proxy Test QGIS" from nils@openrouteservice.org to Finbar.Gillen@axaie365.axa365pr.com was quarantined as it may contravene AXA's company e-mail policy. 

AXA Ireland Information Security Standards 
http://ieswthsrv006/knowledge_base/compliance_standards/?ELEMENT_ID=2864&SECTION_ID=395

If your e-mail is of valid business content the IT Department will release it automatically.

To contact IT Helpdesk : Phone EXTN 5555
Date: 29 Mar 2019 10:08:07 -0000
Message: 37026361

```

Either get it from your IT admin or let me know in what way you’re able to exchange data.

Cheers  
NIls

---

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [March 29, 2019, 11:06am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/9 "2019-03-29T11:06:23Z")

</div>

Hi Nils,

Try and send it to [fgillen1@hotmail.co.uk](mailto:fgillen1@hotmail.co.uk). If I can’t download it from that then you will have to give m a download link and I will try and get IT to pass it.

Regards  
Finbar

---

<div class="post-metadata">

### Author: ![Franziska](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/8797f3/32.png) [@Franziska](https://ask.openrouteservice.org/u/Franziska)
#### Post date: [April 15, 2019, 9:24am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/10 "2019-04-15T09:24:14Z")

</div>

Hi,

Is there any solution to this problem yet?

Everytime when trying to run ORS tools I get this error message:

 ![error%20message_ORS%20Tools](https://ask.openrouteservice.org/uploads/default/original/1X/5031d74c7c30bb4dc6783bf3830bfa3ee6cd356a.png)

Since I am also using ORS tools at work, I assume this problem also is caused by an internal firewall? Am I right?

Kind regards

Franziska

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [April 15, 2019, 10:04am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/11 "2019-04-15T10:04:12Z")

</div>

Hi,

I just uploaded a new version to the repository, should be availbable within the day. I don’t know if it fixes things, since I don’t have a proxy available, but it _should_.

If you wanna try right now, get the [zip](https://github.com/nilsnolde/orstools-qgis-plugin/archive/master.zip) and copy the `ORSTools` folder to your local plugin directory:

- Linux: `~/.local/share/QGIS/QGIS3/profiles/default/python/plugins`
- Windows: `C:\Users\USER\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins`
- Mac OS: `Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins`

And pls comment on this issue if it still doesn’t work:

> <https://github.com/GIScience/orstools-qgis-plugin/issues/98>
>
> Use QGIS \`QgsNetworkAccessManager\` to respect global Proxy settings and drop \`re…quests\`.
> 
> Boundless implementation offers an easy implementation approach:
> https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py

---

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [April 15, 2019, 10:27am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/12 "2019-04-15T10:27:08Z")

</div>

Hi Nils,

Seems to be working for me…great job!

Regards  
Finbar

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [April 15, 2019, 10:28am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/13 "2019-04-15T10:28:56Z")

</div>

Great, thanks for reporting:)

---

<div class="post-metadata">

### Author: ![Franziska](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/8797f3/32.png) [@Franziska](https://ask.openrouteservice.org/u/Franziska)
#### Post date: [April 15, 2019, 12:02pm UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/14 "2019-04-15T12:02:09Z")

</div>

Thank you! The new version now works 🙂

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [April 15, 2019, 2:06pm UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/15 "2019-04-15T14:06:28Z")

</div>

It’s already in the plugin repo apparently.

---

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [April 16, 2019, 9:02am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/16 "2019-04-16T09:02:27Z")

</div>

Hi guys,

The batch isochrone function works fine for me. Wondering if anyone else is having issues with the ‘Generate Matrix’ function? I am using two sets of points, where the numbers are both below the restrictions set out in the documentation and both are the same projection.

No rush on this being fixed… just highlighting potential issue.

Getting the following error:

Traceback (most recent call last):  
File “C:/Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\matrix\_proc.py”, line 239, in processAlgorithm  
response = clnt.request(provider[‘endpoints’][self.ALGO\_NAME], get\_params, post\_json=params)  
File “C:/Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\core\client.py”, line 175, in request  
blocking=True)  
File “C:/Users/st9fg1/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\core\networkaccessmanager.py”, line 220, in request  
self.reply = func(req, body)  
TypeError: arguments did not match any overloaded call:  
post(self, QNetworkRequest, QIODevice): argument 2 has unexpected type ‘dict’  
post(self, QNetworkRequest, Union[QByteArray, bytes, bytearray]): argument 2 has unexpected type ‘dict’  
post(self, QNetworkRequest, QHttpMultiPart): argument 2 has unexpected type ‘dict’

Execution failed after 0.06 seconds

Regards  
Finbar

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [April 16, 2019, 9:18am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/17 "2019-04-16T09:18:54Z")

</div>

yes, you’re right… Thought I tried all endpoints, apparently not matrix… Will fix asap, this is more serious than the initial proxy stuff

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [April 17, 2019, 9:27am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/18 "2019-04-17T09:27:46Z")

</div>

It’s fixed and already available in the plugin repo.

---

<div class="post-metadata">

### Author: ![fgillen1](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/f/e95f7d/32.png) [@fgillen1](https://ask.openrouteservice.org/u/fgillen1)
#### Post date: [April 17, 2019, 10:32am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/19 "2019-04-17T10:32:31Z")

</div>

Hi Nils,

Tested and works fine!

Thanks again,  
Finbar

---

<div class="post-metadata">

### Author: ![kkrani2009](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/k/d26b3c/32.png) [@kkrani2009](https://ask.openrouteservice.org/u/kkrani2009)
#### Post date: [April 26, 2019, 5:36am UTC](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361/20 "2019-04-26T05:36:34Z")

</div>

**getting issue while using ORS tool in QGIS**

KeyError: ‘X-Ratelimit-Limit’  
[https://openrouteservice.org/dev/#/home/directions?coordinates=-4.143805%2C56.692833|-3.807466%2C56.188326&format=geojson&geometry=true&geometry\_format=geojson&id=None&instructions=false&preference=fastest&profile=driving-car](https://openrouteservice.org/dev/#/home/directions?coordinates=-4.143805%2C56.692833%7C-3.807466%2C56.188326&format=geojson&geometry=true&geometry_format=geojson&id=None&instructions=false&preference=fastest&profile=driving-car)

[Next page](https://ask.openrouteservice.org/t/osr-tools-qgis-3-2/361.md?page=2)
