mp-se / gravitymon

iSpindle replacement firmware for beer brewing/fermenting
MIT License
55 stars 11 forks source link

InfluxDB error code -1 #158

Closed jackjohnsonuk closed 1 year ago

jackjohnsonuk commented 1 year ago

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

mp-se commented 1 year ago

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

mp-se commented 1 year ago

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?

mp-se commented 1 year ago

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

jackjohnsonuk commented 1 year ago

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.

mp-se commented 1 year ago

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.