-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Labels
Description
Issue description
apisix startup fail in docker with dubbo-proxy plugin config
it startup success when remove dubbo-proxy plugin config
Environment
- apisix version (cmd:
apisix version): 2.10.0 - OS (cmd:
uname -a): alpine - OpenResty / Nginx version (cmd:
nginx -Voropenresty -V): openresty/1.19.3.1 - etcd version, if have (cmd: run
curl http://127.0.0.1:9090/v1/server_infoto get the info from server-info API): 3.5.1 - apisix-dashboard version, if have:
- the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
- luarocks version, if the issue is about installation (cmd:
luarocks --version):
Steps to reproduce
-
start etcd
docker run -d --name etcd-server
--env ALLOW_NONE_AUTHENTICATION=yes
--env ETCD_ADVERTISE_CLIENT_URLS=http://etcd-server:2379
bitnami/etcd:3.5.1 -
start apisix
docker run -it --name apisix
--link etcd-server
-v apisix.yaml:/usr/local/apisix/conf/config.yaml
-p 9080:9080 -p 9443:9443
apache/apisix:2.10.0-alpine
yaml:
apisix:
node_listen: 9080
enable_ipv6: false
allow_admin:
- 0.0.0.0/0
admin_key:
- name: "admin"
key: edd1c9f034335f136f87ad84b625c8f1
role: admin
- name: "viewer"
key: 4054f7cf07e344346cd3f287985e76a2
role: viewer
etcd:
host:
- "http://etcd-server:2379"
plugins:
- dubbo-proxy
Actual result
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
WARNING: using fixed Admin API token has security risk.
Please modify "admin_key" in conf/config.yaml .
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
2021/10/27 14:18:47 [emerg] 1#1: unknown directive "multi" in /usr/local/apisix/conf/nginx.conf:141
nginx: [emerg] unknown directive "multi" in /usr/local/apisix/conf/nginx.conf:141
Error log
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
WARNING: using fixed Admin API token has security risk.
Please modify "admin_key" in conf/config.yaml .
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
2021/10/27 14:18:47 [emerg] 1#1: unknown directive "multi" in /usr/local/apisix/conf/nginx.conf:141
nginx: [emerg] unknown directive "multi" in /usr/local/apisix/conf/nginx.conf:141
Expected result
No response