Closed Jinxin231 closed 5 days ago
i am getting a similar error. "Request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused"
This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
When I start apisix-dashboard via docker, an error occurs.
"transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused"
This is my config
` version: "3"
services: apisix: image: apache/apisix:${APISIX_IMAGE_TAG:-3.9.0-debian} restart: always volumes:
network_mode: host
ports:
"9092:9092/tcp" networks: apisix:
etcd: image: bitnami/etcd:3.5.11 restart: always volumes:
"2379:2379/tcp" networks: apisix:
web1: image: nginx:1.19.0-alpine restart: always volumes:
NGINX_PORT=80 networks: apisix:
web2: image: nginx:1.19.0-alpine restart: always volumes:
NGINX_PORT=80 networks: apisix:
prometheus: image: prom/prometheus:v2.25.0 restart: always volumes:
"9090:9090" networks: apisix:
grafana: image: grafana/grafana:7.3.7 restart: always ports:
networks: apisix: driver: bridge
volumes: etcd_data: driver: local `
and dashboard config
'conf: listen: host: 0.0.0.0 #
manager api
listening ip or host name port: 9000 #manager api
listening port allow_list: # If we don't set any IP list, then any IP access is allowed by default.yamllint disable rule:comments-indentation
username: "root" # ignore etcd username if not enable etcd auth
password: "123456" # ignore etcd password if not enable etcd auth
mtls: key_file: "" # Path of your self-signed client side key cert_file: "" # Path of your self-signed client side cert ca_file: "" # Path of your self-signed ca cert, the CA is used to sign callers' certificates
prefix: /apisix # apisix config's prefix in etcd, /apisix by default
log: error_log: level: warn # supports levels, lower to higher: debug, info, warn, error, panic, fatal file_path: logs/error.log # supports relative path, absolute path, standard output
such as: logs/error.log, /tmp/logs/error.log, /dev/stdout, /dev/stderr
access_log: file_path: logs/access.log # supports relative path, absolute path, standard output
such as: logs/access.log, /tmp/logs/access.log, /dev/stdout, /dev/stderr
authentication: secret: secret # secret for jwt token generation.
NOTE: Highly recommended to modify this value to protect
manager api
.expire_time: 3600 # jwt token expire time, in second users: # yamllint enable rule:comments-indentation
manager api
password: adminplugins: # plugin list (sorted in alphabetical order)