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

help:how to disable Nominatim? #4089

Open
bgp65530 opened this issue Apr 25, 2024 · 2 comments
Open

help:how to disable Nominatim? #4089

bgp65530 opened this issue Apr 25, 2024 · 2 comments

Comments

@bgp65530
Copy link

Request for help using phpIPAM / Misc question?
...
my network can not access nominatim.openstreetmap.org, so when i add a customer, i need wait a long time and get notice:
Failed to update location lat/lng from Nominatim.
Failed to connect to nominatim.openstreetmap.org port 443 after 30012 ms: Timeout was reached

how can i disable this function, i just only need to add customers with simple infomation ,not need more.
help me ,please!!!

@GaryAllan
Copy link
Collaborator

See options in config.dist.php

$offline_mode   = false;                                  // Offline mode, disable all server-side Internet requests (proxy/OpenStreetMap)

/**
 * OpenStreetMap (v1.7+)
 ****************************/
$disable_geoip_lookups = false;                           // Disable address geoip lookups

@bgp65530
Copy link
Author

bgp65530 commented Apr 27, 2024

See options in config.dist.php

$offline_mode   = false;                                  // Offline mode, disable all server-side Internet requests (proxy/OpenStreetMap)

/**
 * OpenStreetMap (v1.7+)
 ****************************/
$disable_geoip_lookups = false;                           // Disable address geoip lookups

Thanks!
I found it too, and i changed it to "true", and then OK.
But there have another problem, "offline_mode" seems to be a global setting, set offline_mode with "true" , the version-check can not work , because of not permited to access github. so i suggest to make " offline_mode" as a Switch options for related apps in the future, especially for someone like me who has no programming foundation.
Thank you again!!!

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