Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssdb.lua:51: no request found tcp() #6

Open
ghost opened this issue Nov 15, 2014 · 0 comments
Open

ssdb.lua:51: no request found tcp() #6

ghost opened this issue Nov 15, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 15, 2014

nginx lua code:
local ssdb = require 'ssdb'
ssdbc = ssdb:new()
local ok, err = ssdbc:connect('127.0.0.1', 8888)
if not ok then
ngx.log(ngx.ERR, 'connect ssdb error')
end

exec: ./sbin/nginx -t
error:
nginx: the configuration file /usr/local/nginx-1.4.2//conf/nginx.conf syntax is ok
nginx: [error] init_by_lua_file error: /var/work/lua/ssdb.lua:51: no request found
stack traceback:
[C]: in function 'tcp'
/var/work/lua/ssdb.lua:51: in function 'new'
/var/work/lua/init.lua:171: in main chunk
nginx: configuration file /usr/local/nginx-1.4.2//conf/nginx.conf test failed

@ghost ghost closed this as completed Nov 15, 2014
@ghost ghost reopened this Nov 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants