Closed Qizhd closed 3 years ago
All apisix requests return Server internal error 500
[root@qizhendong-dev1 apisix-2.1]# netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2379 0.0.0.0:* LISTEN 29639/etcd
tcp 0 0 127.0.0.1:2380 0.0.0.0:* LISTEN 29639/etcd
tcp 0 0 127.0.0.1:46581 0.0.0.0:* LISTEN 8517/node
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2156/sshd
tcp 0 0 0.0.0.0:9080 0.0.0.0:* LISTEN 5510/nginx: master
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1935/master
tcp6 0 0 :::22 :::* LISTEN 2156/sshd
tcp6 0 0 :::9080 :::* LISTEN 5510/nginx: master
tcp6 0 0 ::1:25 :::* LISTEN 1935/master
[root@qizhendong-dev1 apisix-2.1]# etcdctl version
etcdctl version: 3.4.13
API version: 3.4
The status field is added in v2.2. BTW, I see you are using OpenResty 1.19, note that only APISIX >= 2.2 supports OpenResty 1.19.
The status field is added in v2.2. BTW, I see you are using OpenResty 1.19, note that only APISIX >= 2.2 supports OpenResty 1.19.
So, in v2.1 which openresty version was suggested ?
My suggestion is to upgrade APISIX version to 2.2 at least.
Issue description
Environment
Request help without environment information will be ignored or closed.
apisix version
): v.2.1uname -a
): centos 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxnginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):