Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-3022

[Solved] Geolocation with Google API not working

Details

    • Help
    • Resolution: Done
    • Minor
    • None
    • Community Edition
    • Web Interface

    Description

      I notice there seem to be a number of posts on this subject that have been closed off without resolution, however I have hit the same problem and have discovered what the issue is.

      The "config" table in MySQL is supposed to contain two entries for "direct_url" and "reverse_url", except it doesn't, so the API calls fail. I only discovered this after switching from the default Geolocation to Google, so I'm not sure if these entries were never there or blown away when I changed to Google.

      I added the correct API Endpoint URLs to "config" table and now Google API works. I don't really want to change things now its working, so not sure if the issue would occur again if I change the API provider.

      Needs investigation by the developers as to why the API Endpoints are missing when you install a vanilla Observium CE or change API provider in the GUI.

      I can't see anything in any documentation to say I should have to do anything other than change the API provider in the GUI, so I would expect the code to be setting the correct API Endpoint URLs for me.

       

      Attachments

        Activity

          [OBS-3022] [Solved] Geolocation with Google API not working
          landy Mike Stupalov made changes -
          Resolution New: Done [ 10000 ]
          Status Original: Pending Response [ 10000 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Issue Type Original: Task [ 3 ] New: Help [ 10200 ]
          landy Mike Stupalov made changes -
          Attachment New: Screen-Shot-2019-07-11-13-09-54.40.png [ 16261 ]
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: Pending Response [ 10000 ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]
          landy Mike Stupalov made changes -
          Attachment New: Screen-Shot-2019-07-11-01-49-07.png [ 16260 ]
          landy Mike Stupalov made changes -
          Issue Type Original: Bug [ 1 ] New: Task [ 3 ]
          Labels New: geolocation
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          landy Mike Stupalov made changes -
          Assignee Original: Adam Armstrong [ adama ] New: Mike Stupalov [ landy ]
          cmit Chris Macneill created issue -

          People

            landy Mike Stupalov
            cmit Chris Macneill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: