I am trying to get Isochrones for 600+km. Unfortunately I keep getting the following Error, when requesting over ~150km Isochrones - I am guessing it is taking too long and therefor fails. I checked client.py, etc. to somehow raise the time before a timeout happens, but could not find a way to do so. I tried googling and searching this forum, but could not get there…
Traceback (most recent call last):
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py", line 162, in request
blocking=True)
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\networkaccessmanager.py", line 262, in request
raise self.exception_class(self.http_call_result.reason)
ORStools.common.networkaccessmanager.RequestsExceptionTimeout: Network error: Operation abgebrochen
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\isochrones_layer_proc.py", line 240, in processAlgorithm
response = clnt.request('/v2/isochrones/' + profile, {}, post_json=params)
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py", line 166, in request
raise exceptions.Timeout
ORStools.utils.exceptions.Timeout
When editing my files as described in the pull request, I am getting the following error:
Traceback (most recent call last):
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py", line 162, in request
blocking=True)
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\networkaccessmanager.py", line 260, in request
raise self.http_call_result.exception
ORStools.common.networkaccessmanager.RequestsException: Network error: Im Ablauf des SSL-Protokolls ist ein Fehler aufgetreten.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\isochrones_layer_proc.py", line 240, in processAlgorithm
response = clnt.request('/v2/isochrones/' + profile, {}, post_json=params)
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py", line 171, in request
self._check_status()
File "C:/Users/Lu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py", line 224, in _check_status
if 400 <= status_code < 500:
TypeError: '<=' not supported between instances of 'int' and 'NoneType'
Ausführung nach 0.05 Sekunden gescheitert
I double checked if I edited according to pull. Would a quick fix be setting this:
This might be an issue with your local backend then.
You should be able to see the full request body in the Plugin log.
Maybe try sending it directly to your local backend through the api (localhost:8082/ors/v2/isochrones,
you could e.g. just generate a curl example in the API playground and replace the body and url with your example and the local host)
If you get the same error it should be a problem with the backend configuration and be treated seperately