Closed Nesousx closed 6 years ago
Can you check if a http_proxy or https_proxy is set within the container?
Hi,
As far as I know there is no proxy in use, I tested like this :
root@9952e78e52e9:/# printenv | grep -i proxy
root@9952e78e52e9:/# exit
and :
docker inspect netatmo | grep -i proxy
Both queries return nothing.
The proxy error is because of using ruby 1.9 instead of ruby 2.0. I updated the README to make clear ruby 2.0 or newer is required. The shebang line specifies the correct ruby binary.
The second error seems to be related to credentials:
./netatmo:31:in `refresh_token': login failed: {"error":"invalid_client"} (RuntimeError)
According to the API specification:
https://dev.netatmo.com/en-US/resources/technical/guides/authentication/clientcredentials
The value invalid_client
means The client identifier provided is invalid.
Please check the NETATMO_CLIENT_ID= parameter.
Hi Markus,
First of all, thanks for the script / docker.
However, I have an issue making it run, here is the output of the docker-compose up command:
and the output when running "manually", the script from within the container:
or
I am not sure why I get this error... I am already using the the same telegraf.conf on several servers and it works OK. I am pretty sure my credentials are all good. I triple checked them.
Telegraf conf:
And finally docker-compose.yml file:
Trying to change "urls" in the telegraf config with and without httpS didn't changed anything.
Thanks a lot for your help.