lephisto / tesla-apiscraper

API Scraper for pulling Vehicle Statistics from the Tesla Owner API into an InfluxDB + Grafana Dashboards
GNU Lesser General Public License v3.0
365 stars 104 forks source link

Failed to initialize Owner API #83

Closed hamelsveld closed 4 years ago

hamelsveld commented 4 years ago

I've a problem using a docker environment what ever I try I always get the failed API msg and then it locks my Tesla account. Then what I do is reset my account and try again but with the same result...

influxdb_apiscraper | ts=2019-11-15T15:23:02.456287Z lvl=info msg="Reading file" log_id=0J7vPu40000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/3/_00001.wal size=1049407 influxdb_apiscraper | ts=2019-11-15T15:23:02.530166Z lvl=info msg="Opened shard" log_id=0J7vPu40000 service=store trace_id=0J7vPuX0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/3 duration=84.886ms influxdb_apiscraper | ts=2019-11-15T15:23:02.530254Z lvl=info msg="Open store (end)" log_id=0J7vPu40000 service=store trace_id=0J7vPuX0000 op_name=tsdb_open op_event=end op_elapsed=125.487ms influxdb_apiscraper | ts=2019-11-15T15:23:02.530287Z lvl=info msg="Opened service" log_id=0J7vPu40000 service=subscriber influxdb_apiscraper | ts=2019-11-15T15:23:02.530326Z lvl=info msg="Starting monitor service" log_id=0J7vPu40000 service=monitor influxdb_apiscraper | ts=2019-11-15T15:23:02.530603Z lvl=info msg="Registered diagnostics client" log_id=0J7vPu40000 service=monitor name=build influxdb_apiscraper | ts=2019-11-15T15:23:02.530623Z lvl=info msg="Registered diagnostics client" log_id=0J7vPu40000 service=monitor name=runtime influxdb_apiscraper | ts=2019-11-15T15:23:02.530721Z lvl=info msg="Registered diagnostics client" log_id=0J7vPu40000 service=monitor name=network influxdb_apiscraper | ts=2019-11-15T15:23:02.530738Z lvl=info msg="Registered diagnostics client" log_id=0J7vPu40000 service=monitor name=system influxdb_apiscraper | ts=2019-11-15T15:23:02.531069Z lvl=info msg="Starting precreation service" log_id=0J7vPu40000 service=shard-precreation check_interval=10m advance_period=30m influxdb_apiscraper | ts=2019-11-15T15:23:02.531304Z lvl=info msg="Storing statistics" log_id=0J7vPu40000 service=monitor db_instance=_internal db_rp=monitor interval=10s influxdb_apiscraper | ts=2019-11-15T15:23:02.531700Z lvl=info msg="Starting snapshot service" log_id=0J7vPu40000 service=snapshot influxdb_apiscraper | ts=2019-11-15T15:23:02.531753Z lvl=info msg="Starting continuous query service" log_id=0J7vPu40000 service=continuous_querier influxdb_apiscraper | ts=2019-11-15T15:23:02.531770Z lvl=info msg="Starting HTTP service" log_id=0J7vPu40000 service=httpd authentication=false influxdb_apiscraper | ts=2019-11-15T15:23:02.531805Z lvl=info msg="opened HTTP access log" log_id=0J7vPu40000 service=httpd path=stderr influxdb_apiscraper | ts=2019-11-15T15:23:02.532675Z lvl=info msg="Listening on HTTP" log_id=0J7vPu40000 service=httpd addr=[::]:8086 https=false influxdb_apiscraper | ts=2019-11-15T15:23:02.532847Z lvl=info msg="Starting retention policy enforcement service" log_id=0J7vPu40000 service=retention check_interval=30m influxdb_apiscraper | ts=2019-11-15T15:23:02.533150Z lvl=info msg="Sending usage statistics to usage.influxdata.com" log_id=0J7vPu40000 influxdb_apiscraper | ts=2019-11-15T15:23:02.533586Z lvl=info msg="Listening for signals" log_id=0J7vPu40000 apiscraper | Failed to initialize Owner API apiscraper | Failed to initialize Owner API apiscraper exited with code 1 Any advice...