I'm trying to do an Oauth with Polar. When I do it on my computer everything works well. But when I log on our company’s website, I've this message:
it was not possible to open the OAuth access token URL: 111 could not connect to the host "polarremote.com"
And here is what I've written in the Json
Does someone have an idea about the origin of the problem (and also is this rather an issue on our side or rather on the Polar side)
Manuel Lemos - 2021-02-12 17:25:08 - In reply to message 1 from Camille Gallet
That means that for some reason the Polar Server may be refusing the connection. The cause may be a temporary network problem or some other block on your company Web site server.
Can you try again in a few days?
If it still fails, you need to ask the people responsible for the hosting of your Web site server if there is any kind of block in the server network that prevents PHP scripts to connect to remote servers like the one from Polar.
Camille Gallet - 2021-02-12 18:32:21 - In reply to message 2 from Manuel Lemos
Thanks for your reply Manuel, this is strange because we have successfully implemented Oauth for Garmin (and also Decathlon). Is there is something specific with Polar servers (in PHP Oauth lib) which can cause this issue?