gost / server

GOST - Go implementation of OGC SensorThings API
MIT License
60 stars 19 forks source link

Mosquitto crash #172

Open bertt opened 4 years ago

bertt commented 4 years ago

sometimes we observe Mosquitto server crashing, error message:

mosquitto: loop.c:489: loop_handle_reads_writes: Assertion `pollfds[context->pollfd_index].fd == context->sock' failed
version mosquitto version 1.4.15
timestamp Sat, 07 Apr 2018 11:13:41 +01

Workaround: restart server

Used Docker image: https://github.com/toke/docker-mosquitto

bertt commented 4 years ago

On the https://github.com/toke/docker-mosquitto there is a hint to move to the official Eclipse Mosquitto https://hub.docker.com/_/eclipse-mosquitto/

bertt commented 4 years ago

Changed docker-compose.yml (https://github.com/gost/docker-compose/blob/master/docker-compose.yml)

Testing: dashboard mqtt client is working, mosquitto_sub working, Mosquitto version 1.6.8.

Small drawback: both files (docker-compose.yml file + mosquitto.conf) are needed to get GOST running.

Todo: rollout/test on production server