ohsome2label icon indicating copy to clipboard operation
ohsome2label copied to clipboard

ERROR ConnectionError when requesting from the server

Open bobleegogogo opened this issue 4 years ago • 0 comments

It has been reported that one could get the following error:

error

when running ohsome2label vector from the server.

We found out this issue was related to the security certificate check in Python requests, especially via the server traffic.

One easy solution/walkaround is to change the following code in your repo:

https://github.com/GIScience/ohsome2label/blob/592186653a3be5b0977636c25e5c5eb1bd3bb94a/ohsome2label/utils.py#L22

just to disable the verification, while a better solution should be considered in the future:

r = requests.get(api, params, verify=False)

bobleegogogo avatar Dec 03 '21 10:12 bobleegogogo