Closed Strimblaster closed 3 months ago
Hi @Strimblaster,
thanks for bug report. Just by looking at stacktrace, it's clear that this is problem of invalid data reception. I was able to replicate same problem by putting incorrect device key
in config file. I guess that's your problem as well.
I will fix code to put more meaningful error in log instead of this stacktrace
Just confirmed that it was in fact a incorrect device key. Fixed and now it works. Thanks!
If you encounter similar situation in future, you will got this message instead
ts=2024-04-05T05:54:47.658Z caller=exporter.go:56 level=warn msg="error during scrape" device=mydevice error="protocol error: runtime error: slice bounds out of range [:-1], check device key"
Hi, tried to use your exporter in a container. The only thing I changed was the default config file to "/config/config.yaml" so I could mount a whole folder.
Honestly I have no idea were to start. Can this be a problem with my config file?
Thanks