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

python nginx.py -p 80 -k accepts无法获取值 #43

Open
spritluo opened this issue Aug 15, 2018 · 1 comment
Open

python nginx.py -p 80 -k accepts无法获取值 #43

spritluo opened this issue Aug 15, 2018 · 1 comment

Comments

@spritluo
Copy link

我执行python nginx.py -p 80 -k accepts返回结果为空
ERROR:
[2018-08-16 00:54:29] ERROR
Traceback (most recent call last):
File "nginx.py", line 186, in main
value = ngx.get_item_tval(key, uri)
File "nginx.py", line 144, in get_item_tval
val = self.get_value(key, uri, port=port, iphost=iphost)
File "nginx.py", line 127, in get_value
(value, code) = self._file_cache.get_val_from_json(key)
File "/usr/lib/python2.7/site-packages/qiueer/python/filecache.py", line 38, in get_val_from_json
resobj = str(alllines[1]).strip()
IndexError: list index out of range

不知道问题出在哪里,能帮忙解答一下吗

@qiueer
Copy link
Owner

qiueer commented Aug 23, 2018

nginx配置文件配置好了么。

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

2 participants