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

osrm: local osrm servers listen on ipv4, but transition may look for ipv6 #821

Closed
tahini opened this issue Jan 9, 2024 · 0 comments · Fixed by #822
Closed

osrm: local osrm servers listen on ipv4, but transition may look for ipv6 #821

tahini opened this issue Jan 9, 2024 · 0 comments · Fixed by #822
Assignees

Comments

@tahini
Copy link
Collaborator

tahini commented Jan 9, 2024

In most recent debian, ipv6 is looked up by default, so localhost:5000 for example will try to connect to [::1]:5000 for the osrm server. The server listens on 0.0.0.0 so it does not appear to exist. We should be able to specify the host to 127.0.0.1 in those cases

@tahini tahini self-assigned this Jan 9, 2024
tahini added a commit to tahini/transition that referenced this issue Jan 9, 2024
fixes chairemobilite#821

This uses the value set in the mode config's host field even for local
servers. This allows to specify a specific URL on which to join the
server, for example an ipv4 url where 'localhost' would have resolved to
an ipv6 url, or simply a named URL for the local server.
tahini added a commit to tahini/transition that referenced this issue Jan 9, 2024
fixes chairemobilite#821

This uses the value set in the mode config's host field even for local
servers. This allows to specify a specific URL on which to join the
server, for example an ipv4 url where 'localhost' would have resolved to
an ipv6 url, or simply a named URL for the local server.
tahini added a commit that referenced this issue Jan 9, 2024
fixes #821

This uses the value set in the mode config's host field even for local
servers. This allows to specify a specific URL on which to join the
server, for example an ipv4 url where 'localhost' would have resolved to
an ipv6 url, or simply a named URL for the local server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant