intelsdi-x / snap-plugin-publisher-influxdb

Publishes Snap metrics to InfluxDB
http://snap-telemetry.io/
Apache License 2.0
8 stars 40 forks source link

Error with publisher job, connection reset by peer #143

Open VP2405 opened 6 years ago

VP2405 commented 6 years ago

Snap daemon version : 2.0.0

Environment:

What happened: Publishing metrics to a remote influxdb instance, after some successful hits, the connection gets lost. The error msg from tail -f /var/log/snap/snapteld.log is:

time="2017-10-16T09:53:57+02:00" level=error msg="error with publisher job" _module=scheduler-job block=run error="Post http://www.mydomain.com:myport/write?consistency=&db=&precision=ns&rp=autogen: read tcp host_private_ip_address:46513->public_ip_of_mydomain:myport: read: connection reset by peer" job-type=publisher plugin-config=map[password:{} skip-verify:{true} user:{} precision:{ns} database:{} isMultiFields:{true} port:{myport} scheme:{http} retention:{autogen} host:{www.mydomain.com}] plugin-name=influxdb plugin-version=-1