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

按照步骤部署完成后,运行 #115

Closed
ysjgxm opened this issue Nov 7, 2019 · 0 comments
Closed

按照步骤部署完成后,运行 #115

ysjgxm opened this issue Nov 7, 2019 · 0 comments

Comments

@ysjgxm
Copy link

ysjgxm commented Nov 7, 2019

按照步骤部署完成后,运行
curl 127.0.0.1:8080/ab_admin?action=policygroup_set -d '{"1":{"divtype":"uidsuffix","divdata":[{"suffix":"1","upstream":"beta1"},{"suffix":"3","upstream":"beta2"},{"suffix":"5","upstream":"beta1"},{"suffix":"0","upstream":"beta3"}]},"2":{"divtype":"arg_city","divdata":[{"city":"BJ","upstream":"beta1"},{"city":"SH","upstream":"beta2"},{"city":"XA","upstream":"beta1"},{"city":"HZ","upstream":"beta3"}]},"3":{"divtype":"iprange","divdata":[{"range":{"start":1111,"end":2222},"upstream":"beta1"},{"range":{"start":3333,"end":4444},"upstream":"beta2"},{"range":{"start":7777,"end":2130706433},"upstream":"beta2"}]}}'
报上面的错{"desc":"lua runtime error attempt to yield across metamethod/C-call boundary","code":40201}

请问这个是什么原因呢?

Originally posted by @chentian610 in #93 (comment)

@ysjgxm ysjgxm closed this as completed Nov 7, 2019
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

1 participant