Issues

Select view

Select search mode

 
30 of 30

Geo-Maps running on a server without internet connection breaks the UI for valid nodes.

Fixed

Description

When Internet is not available, it won't be possible to perform the reverse-geolocation to obtain the coordinates for a given address using either the Google Map API or the Nominatim API.

Unfortunately, if there are other nodes with valid coordinates, the WebUI is going to be blank (a map without markers) if there is a node with a valid address but no coordinates.

It seems like when the geocoder cannot reach the remote API, it throws an exception that is not being catched on the server and this prevents the UI to render the rest of the valid nodes.

It would be better, if the node is ignored when the geocoder cannot retrieve the coordinates. That way, the rest of the nodes can be displayed.

Also, it would be nice if there is a way to blacklist those nodes (like adding a fake coordinates) to avoid retry on the next attempt to render the maps.

Environment

OpenNMS running behind a firewall with no Internet access

Acceptance / Success Criteria

None

depends on

Lucidchart Diagrams

Details

Assignee

Reporter

Labels

Components

Sprint

Affects versions

Priority

PagerDuty

Created November 4, 2014 at 3:08 PM
Updated May 5, 2017 at 5:45 PM
Resolved May 5, 2017 at 1:46 PM

Activity

Show:

Seth LegerMay 5, 2017 at 1:46 PM

Fix was backported to foundation-2016. PR merged, marking as fixed.

commit 352ab47cee11cd346bba173e18909e8738bf89ba

Markus von RüdenMay 2, 2017 at 7:31 AM

Markus von RüdenMay 2, 2017 at 6:47 AM

I tried with latest `foundation-2017` and `develop` code base, and could not reproduce it.
With `foundation-2016` I was finally able to reproduce the issue.

Alejandro GalueApril 27, 2017 at 10:38 AM

How do you block the Internet access ?

Markus von RüdenApril 27, 2017 at 10:35 AM

I tried with 500 nodes all with Cities but no coordinates. Only a few have actual longitude langitude information. Works fine for me. Both with google geocoder and nominatim geocoder.