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

Problem with logiing via OSM #276

Closed
CharlesMaZ opened this issue Jan 21, 2024 · 2 comments
Closed

Problem with logiing via OSM #276

CharlesMaZ opened this issue Jan 21, 2024 · 2 comments

Comments

@CharlesMaZ
Copy link

On mapwarper You can't login via OSM

@timwaters
Copy link
Owner

timwaters commented Jan 22, 2024

Problem was server was trying and failing with timeout to resolve osm server via ipv6
Server was also timing out just doing wget google.com as it was trying ipv6 before ipv4. (Obviously something is wrong somewhere - maybe firewall or resolver or something). So we need to just make it work with v4.

solution was to edit /etc/gai.conf and add this line:

precedence  2001:470::0/32   5

which forces it to use ipv4 and then restart apache

@timwaters
Copy link
Owner

many thanks! @CharlesMaZ for the report!

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