Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Professional Edition
    • Discovery

    Description

      We verify a problem with geocoding with google. Below are the images of the configuration, version and result.

      Full Dump Configuration:

      Observium version:

      Missing fields "Location Place" and "Latitude/Longitude" :

      If i execute the request that appears in the last update status, directly in the browser, this is the result:

      But if i delete amp; char the result is ok :

       

       

       

       

      Attachments

        Activity

          [OBS-3114] Geolocation Problem with Google API

          you use stable, this param currently changed in trunk:
          https://docs.observium.org/updating/#switch-between-rolling-and-stable-trains

          landy Mike Stupalov added a comment - you use stable, this param currently changed in trunk: https://docs.observium.org/updating/#switch-between-rolling-and-stable-trains

          I have Observium Professional version at 10072 revision (Observium 19.9.10036 - 23rd September 2019). When can i fix with svn update?

           

          Thanks.

          Paolo

          netsurfer70 Paolo Simontacchi added a comment - I have Observium Professional version at 10072 revision (Observium 19.9.10036 - 23rd September 2019). When can i fix with svn update?   Thanks. Paolo

          this limit already removed in latest rolling (trunk) version.

          landy Mike Stupalov added a comment - this limit already removed in latest rolling (trunk) version.

          Hello Mike,

          i have verified that the request limit is controlled by Observium, not by Google, with the field http_rate_https: //maps.googleapis.com in the table observium_attribs.

          Can I exclude this check?

          Thanks.

          Paolo

          netsurfer70 Paolo Simontacchi added a comment - Hello Mike, i have verified that the request limit is controlled by Observium, not by Google, with the field http_rate_https: //maps.googleapis.com in the table observium_attribs . Can I exclude this check? Thanks. Paolo

          Thanks Mike. Now i get it.

          Paolo

          netsurfer70 Paolo Simontacchi added a comment - Thanks Mike. Now i get it. Paolo

          For see correct requested url, and reasons why not updated Geolocation, try debug by this command:

          ./test_geo.php -d -a google 'Ostiglia, via Piave 1'

          landy Mike Stupalov added a comment - For see correct requested url, and reasons why not updated Geolocation, try debug by this command: ./test_geo.php -d -a google 'Ostiglia, via Piave 1'
          landy Mike Stupalov added a comment - - edited

          As I said, this "& amp;" displayed only in this status field, because was incorrect double escaping.
          In real requests the correct url is used. Try update to latest revision, this field will displayed without "& amp;" string.

          landy Mike Stupalov added a comment - - edited As I said, this "& amp;" displayed only in this status field, because was incorrect double escaping. In real requests the correct url is used. Try update to latest revision, this field will displayed without "& amp;" string.

          Hello Mike,
          I do not agree. With my KEY, i can execute multiple requests, from the browser, with the correct URL without only first amp;.

          Bad request:

          Good request:

          netsurfer70 Paolo Simontacchi added a comment - Hello Mike, I do not agree. With my KEY, i can execute multiple requests, from the browser, with the correct URL without only first amp; . Bad request: Good request:

          Not possible to fix on our side, this is Geo API limit.

          landy Mike Stupalov added a comment - Not possible to fix on our side, this is Geo API limit.

          But anyway, problem you displayed is only about escaping display status in this page.

          Really trouble in Google API, if you not have PAID key, Google requests to API limited with 1 request per day!

          landy Mike Stupalov added a comment - But anyway, problem you displayed is only about escaping display status in this page. Really trouble in Google API, if you not have PAID key, Google requests to API limited with 1 request per day!

          People

            landy Mike Stupalov
            netsurfer70 Paolo Simontacchi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: