Closed johnny2678 closed 7 years ago
please try v0.4 of the uploader. forgot to qualify weewx.restx.BadLogin
Thanks for the quick response. Now the logs look like this:
Jun 1 07:24:52 ad4902691d6f weewx[24]: manager: Daily summary version is 1.0
Jun 1 07:24:52 ad4902691d6f weewx[24]: manager: Daily summary version is 1.0
Jun 1 07:24:52 ad4902691d6f weewx[24]: restx: Influx: code: 200 payload: {"results":[{"statement_id":0,"messages":[{"level":"warning","text":"deprecated use of 'CREATE DATABASE PiPool' in a read only context, please use a POST request instead"}]}]}
Jun 1 07:24:52 ad4902691d6f weewx[24]: restx: Influx: Data will be uploaded to http://192.168.5.133:8086
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Finished loading service user.influx.Influx
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Loading service weewx.engine.StdPrint
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Finished loading service weewx.engine.StdPrint
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Loading service weewx.engine.StdReport
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Finished loading service weewx.engine.StdReport
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Starting up weewx version 3.7.1
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Station does not support reading the time
Jun 1 07:24:52 ad4902691d6f weewx[24]: engine: Starting main packet loop.
Jun 1 07:24:52 ad4902691d6f weewx[24]: manager: Daily summary version is 1.0
Jun 1 07:25:28 ad4902691d6f weewx[24]: manager: Added record 2017-06-01 07:25:00 EDT (1496316300) to database 'weewx.sdb'
Jun 1 07:25:28 ad4902691d6f weewx[24]: manager: Added record 2017-06-01 07:25:00 EDT (1496316300) to daily summary in 'weewx.sdb'
Jun 1 07:25:28 ad4902691d6f weewx[24]: reportengine: Running reports for latest time in the database.
Jun 1 07:25:28 ad4902691d6f weewx[24]: reportengine: Running report StandardReport
Jun 1 07:25:28 ad4902691d6f weewx[24]: restx: Influx: Bad login; waiting 60.0 minutes then retrying
Result is the same whether username & password is set or commented out in weewx.conf. I never set an Influx instance password or a password on the database. With Grafana, I just use root/root and it works.
I'm traveling today but might try setting a database password later unless you have any thoughts. Thanks again.
please try v0.5
i forgot that i had partial edits in 0.3/0.4 - that is where the bogus code was
0.5 should handle both http and https. i am anchored off an island in the caribbean at the moment so i do not have easy access to my test equipment to verify this.
works! go back to your bucket of Kalik Gold and stop squashing bugs for us needy mainlanders ;)
Getting hung up... looks like it connects and runs the
'CREATE DATABASE'
statement ok but then errors out after the first REC.This is against a vanilla install of influxDB with no user/pass set.
The weewx.conf settings are:
/var/log/messages output with
debug=1
set