stardexa opened a new issue, #11887:
URL: https://github.com/apache/apisix/issues/11887

   ### Description
   
    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`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to