hassio-addons/addon-influxdb

Influxdb keep crashing

ssinghj opened this issue · 2 comments

Problem/Motivation

Influxdb keeps crashing and running into a restart cycle. On UI, 502 error appears.

Expected behavior

It should be running as normal and available for other applications to use.

Actual behavior

(What actually happened)

Steps to reproduce

21-06-30 14:47:30 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 400, message='Invalid response status', url=URL('http://172.30.33.0:1337/api/live/ws')
21-06-30 14:47:32 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 400, message='Invalid response status', url=URL('http://172.30.33.0:1337/api/live/ws')
21-06-30 14:47:36 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 400, message='Invalid response status', url=URL('http://172.30.33.0:1337/api/live/ws')
21-06-30 14:47:37 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.3:1337 ssl:default [Connect call failed ('172.30.33.3', 1337)]
21-06-30 14:47:47 INFO (SyncWorker_5) [supervisor.docker.interface] Stopping addon_a0d7b954_influxdb application
21-06-30 14:47:56 INFO (SyncWorker_5) [supervisor.docker.interface] Cleaning addon_a0d7b954_influxdb application
21-06-30 14:47:58 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/influxdb/armv7 with version 4.1.1
21-06-30 14:47:59 INFO (MainThread) [supervisor.api.middleware.security] /dns/info access from a0d7b954_influxdb
21-06-30 14:51:13 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with a0d7b954_influxdb!
21-06-30 14:51:13 INFO (SyncWorker_3) [supervisor.docker.interface] Cleaning addon_a0d7b954_influxdb application

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

From last few days now following error messages are appearing in influxdb logs and which further leading to db crashing.

*PointsWriter).WritePointsPrivilegedWithContext.func1(0x3958b40, 0xeb5b540, 0x1eb3b90, 0x110b9760, 0xffccee0, 0xfd36d0, 0x9, 0xfd0eaf, 0x7, 0x25170000, ...)
	/go/src/github.com/influxdata/influxdb/coordinator/points_writer.go:341 +0x104 fp=0x556ffbc sp=0x556ff4c pc=0x66b49c
runtime.goexit()
	/usr/local/go/src/runtime/asm_arm.s:868 +0x4 fp=0x556ffbc sp=0x556ffbc pc=0x73610
created by github.com/influxdata/influxdb/coordinator.(*PointsWriter).WritePointsPrivilegedWithContext
	/go/src/github.com/influxdata/influxdb/coordinator/points_writer.go:336 +0x22c
[22:55:27] INFO: Starting NGinx...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
[cont-finish.d] 99-message.sh: exited 

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!