-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
With the following config, I consistently see a Connection refused error:
2020-07-16T20:16:37Z service/web/web-cc7d6bd9c-g2hqr 2020/07/16 20:16:37 [error] 13#13: *881 connect() failed (111: Connection refused), client: 10.10.10.2, server: _, request: "GET / HTTP/2.0", host: "my.host"
If I point CACHE_URL at localhost Redis, it works. I've tried higher timeout settings. I am able to connect to redis instantly from the command line with redis-cli.
init_by_lua_block {
local ledge = require "ledge"
local redis_host = os.getenv("CACHE_URL")
ledge.configure({
redis_connector_params = {
url = redis_host,
connect_timeout = 2000
}
})
}
Metadata
Metadata
Assignees
Labels
No labels