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

help request: Dashboard gives error after apisix installation how can I install it #11887

Open
stardexa opened this issue Jan 4, 2025 · 0 comments
Labels
question label for questions asked by users

Comments

@stardexa
Copy link

stardexa commented Jan 4, 2025

Description

In short, what I want to do is: run the apisix and run the dashboard and log in

I'm trying to install apisix, I'm moving from the document, it's all green and working, then when I want to install the dashboard, the dashboard is directly closed in the docker, I will explain how I installed it below and the error one by one.


apisix install:

 git clone https://github.com/apache/apisix-docker.git 
cd apisix-docker/example docker-compose -p docker-apisix up -d

Apisix dashboard install :

cd apisix-docker/dashboard
docker pull apache/apisix-dashboard
docker run -d --name dashboard \
 -p 9000:9000 \ 
-v /Users/sk/Desktop/project/ecommerce/apisix/apisix-docker/all-in-one/apisix-dashboard/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml \ 
apache/apisix-dashboard

dashboard gives the following error when installed on docker


2025-01-04 17:41:59 {"level":"warn","ts":"2025-01-04T14:41:59.911Z","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0x400047a540/127.0.0.1:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused\""}
2025-01-04 17:41:59 Error: etcd get failed: context deadline exceeded
2025-01-04 17:41:59 Usage:
2025-01-04 17:41:59   manager-api [flags]
2025-01-04 17:41:59   manager-api [command]
2025-01-04 17:41:59 
2025-01-04 17:41:59 Available Commands:
2025-01-04 17:41:59   completion  Generate the autocompletion script for the specified shell
2025-01-04 17:41:59   help        Help about any command
2025-01-04 17:41:59   version     show manager-api version
2025-01-04 17:41:59 
2025-01-04 17:41:59 Flags:
2025-01-04 17:41:59   -c, --config string     config file
2025-01-04 17:41:59   -h, --help              help for manager-api
2025-01-04 17:41:59   -p, --work-dir string   current work directory (default ".")
2025-01-04 17:41:59 
2025-01-04 17:41:59 Use "manager-api [command] --help" for more information about a command.
2025-01-04 17:41:59 
2025-01-04 17:41:59 etcd get failed: context deadline exceeded

how can i run dashboard in apisix please help.

Environment

  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Apache APISIX backlog Jan 4, 2025
@dosubot dosubot bot added the question label for questions asked by users label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question label for questions asked by users
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant