Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it #8

Open
avsrma opened this issue Apr 7, 2020 · 1 comment

Comments

@avsrma
Copy link

avsrma commented Apr 7, 2020

I'm trying to access the map matching utility and keep getting this error.
import osrm
points = [(-33.45017046193167,-70.65281867980957), (-33.45239047269638,-70.65300107002258), (-33.453867464504555,-70.65277576446533)]
client = osrm.Client()
response = client.match(coordinates=points)

I'm a little skeptical since there is no parameter to use the API key for OSRM. Could that be the issue?

ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /match/v1/driving/-33.45017046193167,-70.65281867980957;-33.45239047269638,-70.65300107002258;-33.453867464504555,-70.65277576446533?steps=false&annotations=false&geometries=geojson&overview=simplified&gaps=split (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000029A76AA6E48>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

Any help will be appreciated.
Alternatively, a suggestion for another package for map matching in python.

@Huzaifg
Copy link

Huzaifg commented Jun 28, 2021

I have the same issue. Any help will be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants