Origin does not have permission to use Geolocation service

Origin does not have permission to use Geolocation service

I’ve got this error when i’m trying to get the location on my iPhone, but it works on my MacBook…
Yes, on my iPhone location services are open and safari and chrome can use it

i tested it from this url in my local network : myMacbook.local:8080, i dont know if the domain have something to do with that :-/

no idea ?

You need to use SSL for sensitive data. I guess apple is enforcing secure connections for sensor output on browsers.

THis may have to do : http://blog.xojo.com/2016/07/27/app-transport-security-for-ios/

i tried this, but can’t run the webapp on ssl :-/

i did the certificate, they are copied directly with the build app (or debug app) same name as the app…

i tried from debug

--secureport=8888 --MaxSecureSockets=200

i ran it from terminal too

myappp --secureport=8888 --MaxSecureSockets=200

i tried different url too

mylaptop.local
ip that run the webapp ( tried from the same machine and from an other computer)
127.0.0.1 (on the same computer)

the only port that works, is the standard… :frowning:

the best, and only way would be using a proxy software tool (on lan) with self signed ssl cert.
I’m looking into this, and might come up with a solution.

For myself, I have ordered certificates for all my strategic sites. Already, Chrome signals non https sites as “not safe”.

Most hosts provide certificates to do https: for less than $50 a year, and often, much less.

[quote=291625:@Michel Bujardet]For myself, I have ordered certificates for all my strategic sites. Already, Chrome signals non https sites as “not safe”.

Most hosts provide certificates to do https: for less than $50 a year, and often, much less.[/quote]

No, there is no need to pay for SSL.
Let’s encrypt is free, changes the certificates every month.
StartSSL is free too, but somewhat more complex.

[quote=291782:@Derk Jochems]No, there is no need to pay for SSL.
Let’s encrypt is free, changes the certificates every month.
StartSSL is free too, but somewhat more complex.[/quote]

I have other concerns than renewing certificate all the time or saving a few bucks. At one point, there are economies that end up costing. For instance when one forgets to renew and ends up with a site that says “dangerous” to visitors.

But hey, each one his options.

Letsencrypt sends out “your certs are about to expire” emails to help :slight_smile:

And it will auto-renew them by default.

It’s simply not connect, i dont receive the “unsafe site” … Only a “cant connect” from any device or computer to the ssl port…

Oh that’s a new feature, I thought you had to manually set up the auto-renew cron.

My personal option is to purchase a certificate for three years and forget about it. With 1701, it is not even the price of my cheapest product. They install for me, and I can concentrate on what I do best.

Once again, its my personal option. I rather complete a lucrative app, than waste time managing things to save a few bucks.

Anybody has the privilege to go for the cheap. It only comes with an amount of DIY I am not ready to do.

Etienne, what is the app you are running ?

What does it do exactly ? If the message about geolocation shows it, it means you are trying to get geolocation, unless I am mistaken. Are you using an API ? Which one ? Care to post your code ?

I am running Eddies Electronics on my iMac and accessing it with the iPad with no issue at all.

It’s a webapp, and i’m not able to run it on ssl

http://travel.viamichelin.com/web/faq?section=FAQ_MOB_Geolocalisation_GBR

Not with the version i use…
Never have refreshed the cert, every month i see a new signature.

It’s more than that. It’s simply wont open the page on https from any computer or device

There’s got to be a message somewhere. If it’s in an iFrame you should see the error message appear in the developer console. In Safari, enable the Develop menu, load up your page, press cmd-option-u. Error count appears next to the stop sign symbol in the top, click that, or the Console tab to see them all listed.

At this point, if the page simply won’t open with any machine, it can be anything. Without seeing any code and very little explanations, could be a butterfly landing on a flower pisselit on the opposite side of the earth :wink:

Could even be using the wrong URL, wrong IP address or wrong port, or all three…