redis connection error in judge0 template
lukaszsamulnik
TRIALOP

10 months ago

I've deployed a template named judge0 and everything went smooth when deploying, but when trying to use the server and hit the /submissions endpoint I always get a 500 error, other endpoints, like /docs and /about, work as expected (they don't use redis), but this mentioned shows in logs:
Redis::CannotConnectError (Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)):
although all env variables are set on startup and redis password is filled.

Any idea how I can set it up?

ProjectID: b38a3144-cbe1-49bf-9f7d-39d07b43dae0

0 Replies

brody
EMPLOYEE

10 months ago

Hello,

The environment variables for Redis where not filled, I have fixed that for you, your service is currently deploying with the changes.


Loading...