Open Iliyass opened 5 years ago
Did you figure it out? I am having the same issue.
Ok I fixed it by adding the options table and pool name. Here is what I did:
local options_table = {}
options_table["pool"] = "docker_server"
local ok, err = red:connect("10.211.55.8", 6379, options_table)
local options_table = {} options_table["pool"] = "docker_server"
i meet same issue
it does't work that adding the options table and pool name.
@Iliyass do you konw how to fix it ?
local options_table = {} options_table["pool"] = "docker_server"
i meet same issue
it does't work that adding the options table and pool name.
@Iliyass do you konw how to fix it ?
I know the reason, check the Nginx version
Ok I fixed it by adding the options table and pool name. Here is what I did:
local options_table = {} options_table["pool"] = "docker_server" local ok, err = red:connect("10.211.55.8", 6379, options_table)
thank u for solution my problem.it is ok
I'm struggling with this issue more than a week, and still cannot pull it off. I'm trying to provision our environment using Ansible, and I want to provision a staging server, with the same environment as production, I have setup the Redis server, and it's running listening on
6379
I have nginx up and running and it's serving requests, but when it's got to the part of lua to connect to redis, it throw on meconnection refused
error. Here is nginx debug log: LinkRedis Listening on 6379
Connecting to Redis through Python
Lua Code:
Nginx conf:
Environment