Skip to main content

Geolocation command returned no results

Comments

11 comments

  • Permanently deleted user
    Hi Scott,

     

    Are both/all URLs using https?

     

    Regards,

     

    Wayne Richard

     

    Latitude Geographics Group Ltd.

     

    Head Office: 300 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7

     

    Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com 

     

    Developers of Geocortex web-based mapping software | www.geocortex.com

     

    An Esri Platinum Business Partner

     

     
    0
  • Permanently deleted user
    No, they are using http.  I tried it on my PC (using http) and that worked.
    0
  • Permanently deleted user
    What geometry service did you add?
    0
  • Permanently deleted user
    Using Chrome on your PC?

     

    https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only

     

     
    0
  • Permanently deleted user
    Mike, the geometry service is the generic one that is part of our ArcGIS Server installation.

     

    Wayne, sorry, yes Chrome was the browser I used on my PC. 
    0
  • Permanently deleted user
    The ESRI sample geometry services are not meant for production.  It is better to publish and use your own.  If you want to still use ESRI's, use this one:

     

    https://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer
    0
  • Permanently deleted user
    I get the same error with Esri's service.

     

    We had some issues with setting our sites up as https and bringing in mixed content.  If we have to have them at https for this to work, I guess we'll revisit those mixed content issues.
    0
  • Permanently deleted user
    As Mike has pointed out, the sample servers are not meant for production.  We recommend using your own.

     

    https://enterprise.arcgis.com/en/server/latest/publish-services/windows/about-the-geometry-service.htm

     

    I also wouldn't expect Geolocation to work on http, it was one of the first to require https, others will follow so if you can get it working with https it would be best.

     

    Mixed content is a bit of an Easter egg hunt.  I find editing the site.xml and searching for "http://" helpful but make sure you don't edit any schema URLs.  Searching the site.xml and making the updates in Manager would be the safest route.
    0
  • Permanently deleted user
    I went ahead and created a new geometry service based on the article.

     

    We will work on getting the Geocortex environment moved to https and see if that fixes the issue.  I'll check back in when that has been completed.

     

     
    0
  • Permanently deleted user
    We made the switch to https and I'm still getting the error.  I'm wondering if this isn't a device issue.
    0
  • Permanently deleted user
    After making the switch to https, does the browser indicate it is happy with it?  Mixed content would downgrade the connection to http and you would still see the issue.  Feel free to submit a support ticket as well.

     

    Regards,

     

    Wayne Richard

     

    Latitude Geographics Group Ltd.

     

    Head Office: 300 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7

     

    Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com 

     

    Developers of Geocortex web-based mapping software | www.geocortex.com

     

    An Esri Platinum Business Partner

     

     
    0

Please sign in to leave a comment.