Enketo | Error: Redis connection to redis-main.kobo.private:6379 failed - connect ECONNREFUSED

I have Kobotoolbox runing on local machine, I can login the homepage but when I click on a project or try to create new one I get timeout error.
Here is logs that show a failure in connecting to redis-main :

07:57:53 0|enketo | Error: Redis connection to redis-main.kobo.private:6379 failed - connect ECONNREFUSED 172.18.0.2:6379
07:57:53 0|enketo |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
07:57:53 0|enketo |   errno: 'ECONNREFUSED',
07:57:53 0|enketo |   code: 'ECONNREFUSED',
07:57:53 0|enketo |   syscall: 'connect',
07:57:53 0|enketo |   address: '172.18.0.2',
07:57:53 0|enketo |   port: 6379
07:57:53 0|enketo | }

However Iā€™m able to telnet the same machine :

user@LINUXHOST:~/kobo/repo$ telnet 172.18.0.2 6379
Trying 172.18.0.2...
Connected to 172.18.0.2.
Escape character is '^]'.
get all
-NOAUTH Authentication required.
quit
+OK
Connection closed by foreign host.

The service_health status shows no issue :

OK KPI

Mongo: OK in 0.016 seconds
Postgres: OK in 0.088 seconds
Enketo [http://ee.kobo.internal]: OK in 0.813 seconds
KoBoCAT [http://kc.kobo.internal]: OK in 0.0119 seconds

----BEGIN KOBOCAT RESPONSE----
OK

Mongo: OK in 0.000731 seconds
Postgres: OK in 0.0025 seconds

---- END KOBOCAT RESPONSE ----

It seems that this issue just pops up randomly,
In another hand, I found out that tweaking uswgi servers solve a lot of troubles.

1 Like

@openbluesky, :clap: :heart: :partying_face: