mp-se / gravitymon

iSpindle replacement firmware for beer brewing/fermenting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfluxDB error code -1

jackjohnsonuk opened this issue · comments

commented

Hi Magnus,

Not sure if it's a bug as such, or me just missing something.

I can't get GravityMon to talk to Influx. I've setup an Organisation, a bucket, and generated an api key, but keep getting:

Push target 'influxdb' failed with error code -1

Any idea where to start?

Many thanks

Jack

commented

You can find the error codes under troubleshooing in the docs.

-1 means connection refused so either a firewall is blocking or the influx listener is not up and running

commented

Error 400 means that there is a data error in the payload, some value that is incorrect. Can you use the test function to see what the sent data is?

commented

I'm closing this since there is no more information on the topic. Please reopen if problem persists.

commented

Sorry Magnus, I meant to come back and close this, but fell off the radar. Your guidance in it being a payload issue helped massively.

For anyone else who may come across this issue, my problem was related to the firewall, and specifically traffic crossing VLAN's. It was nothing o do with GravityMon, and was just me missing the obvious!

Many thanks for your assistance with sorting this. I'm now a very happy used of GravityMon. It's a great project, and working brilliantly for me.

commented

No problems, I thought you solved it since it was a networking problem.

Thanks for the kind words, its always good to know that you find the software valuable. If you have any improvement suggestsion please let me know. I have run out of ideas for the momement.