Closed roccomuso closed 4 years ago
Since in the logs are mentions of "cardano-http-bridge", I assume you are on the new-importer
branch. My guess is that the error is caused by cardano-http-bridge
being behind the state of the importer ("adalite-importer" service) - a reason for that may be that the storage of cardano-http-bridge was wiped.
But it's just a guess, more context would help - when does the error happen? Does it happen when you start docker-compose from scratch? Does it happen right after the start of the service or after some time has elaborated?
But why storage of cardano-http-bridge might be wiped? It happens after some time.
If you did not wipe it, then it shouldn't wipe by itself - does it start working again after restarting it?
yes it start working again after a restart
I rebuilt adalite-importer (dockerized fork of tangata-manu) based on latest commit in master branch of tangata manu: https://hub.docker.com/r/refi93/adalite-importer/builds
cardano-http-bridge docker image (https://hub.docker.com/r/refi93/cardano-http-bridge/builds) should be up to date with https://github.com/Emurgo/cardano-http-bridge
You can try pulling the new adalite-importer:latest image, restarting the instance and see if the problem persists after the update
I think we have found out why the importer is crashing with 404s.
Because we load balance between multiple instances of cardano-http-bridge, one of them fell behind & when the importer's request landed on the cardano-http-bridge which was behind it'd crash with a 404.
thanks for the insight @jaydp17 , closing the issue
Having this error and process crashes: