openimsdk / openim-docker

openim-docker configuration for deploying OpenIM. Provides a build solution for a stable distribution, as well as a docker compose deployment strategy
https://openim.io
Apache License 2.0
39 stars 54 forks source link

[BUG] The health check for the openim-server has failed. #180

Open zkstudio opened 1 week ago

zkstudio commented 1 week ago

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

docker模式部署后,openim-server一直报错。 Etcd check failed: failed to get the root node from etcd: context deadline exceeded {"level":"warn","ts":"2024-09-23T06:12:27.993311Z","logger":"etcd-client","caller":"v3@v3.5.13/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000574000/etcd:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"transport: Error while dialing: failed to do connect handshake, response: \\"HTTP/1.1 403 Tunnel or SSL Forbidden\\r\\nConnection: close\\r\\nContent-Length: 666\\r\\nCache-Control: no-store\\r\\nContent-Language: en\\r\\nContent-Type: text/html\\r\\nDate: Mon, 23 Sep 2024 06:12:23 GMT\\r\\nVia: 1.1 ZY-WSG\\r\\n\\r\\nTunnel or SSL Forbidden\\n<BODY BGCOLOR=\\\\"white\\\\" FGCOLOR=\\\\"black\\\\">

Tunnel or SSL Forbidden


\\n<FONT FACE=\\\\"Helvetica,Arial\\\\">\\nDescription: 2379 is not an allowed port for Tunnel or SSL connections\\n
\\n\\n\\n \\x00\\"\""} MinIO check failed: check bucket exists error: Moved Temporarily

Moved Temporarily


Description:

Screenshots Link

No response

OpenIM-Robot commented 1 week ago

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

skiffer-git commented 6 days ago

Please run the command "docker ps" and then share the result here.

zkstudio commented 3 days ago

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES cb35b1e9d033 registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-admin-front:release-v1.8.0 "/docker-entrypoint.…" 4 minutes ago Up 4 minutes 0.0.0.0:11002->80/tcp, :::11002->80/tcp openim-admin-front 50da3240c4f5 minio/minio:RELEASE.2024-01-11T07-46-16Z "/usr/bin/docker-ent…" 4 minutes ago Up 4 minutes 0.0.0.0:10005->9000/tcp, :::10005->9000/tcp, 0.0.0.0:10004->9090/tcp, :::10004->9090/tcp minio ccc31988b67f grafana/grafana:11.0.1 "/run.sh" 4 minutes ago Up 4 minutes 0.0.0.0:13000->3000/tcp, :::13000->3000/tcp grafana 6ccb732b7709 mongo:6.0.2 "docker-entrypoint.s…" 4 minutes ago Up 4 minutes 0.0.0.0:37017->27017/tcp, :::37017->27017/tcp mongodb 4a1bce9f7871 registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-chat:release-v1.8 "sh -c 'mage start &…" 4 minutes ago Up 4 minutes (health: starting) 0.0.0.0:10008-10009->10008-10009/tcp, :::10008-10009->10008-10009/tcp openim-chat 31928bf05f76 prom/prometheus:v2.51.2 "/bin/prometheus --c…" 4 minutes ago Up 4 minutes 0.0.0.0:19090->9090/tcp, :::19090->9090/tcp prometheus 27d6b3a3a164 registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web-front:release-v3.8.0 "/docker-entrypoint.…" 4 minutes ago Up 4 minutes 0.0.0.0:11001->80/tcp, :::11001->80/tcp openim-web-front c2d895b066d0 prom/alertmanager:v0.27.0 "/bin/alertmanager -…" 4 minutes ago Up 4 minutes 0.0.0.0:19093->9093/tcp, :::19093->9093/tcp alertmanager 2bb23ac3eba0 quay.io/coreos/etcd:v3.5.16 "/usr/local/bin/etcd" 4 minutes ago Up 4 minutes 0.0.0.0:12379->2379/tcp, :::12379->2379/tcp, 0.0.0.0:12380->2380/tcp, :::12380->2380/tcp etcd 21862c70e094 bitnami/kafka:3.5.1 "/opt/bitnami/script…" 4 minutes ago Up 4 minutes 9092/tcp, 0.0.0.0:19094->9094/tcp, :::19094->9094/tcp kafka 755d6b57c09c registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:release-v3.8 "sh -c 'mage start &…" 4 minutes ago Up 4 minutes (health: starting) 0.0.0.0:10001-10002->10001-10002/tcp, :::10001-10002->10001-10002/tcp openim-server c86320044126 redis:7.0.0 "docker-entrypoint.s…" 4 minutes ago Up 4 minutes 0.0.0.0:16379->6379/tcp, :::16379->6379/tcp redis 3a793297f1da prom/node-exporter:v1.7.0 "/bin/node_exporter" 4 minutes ago Up 4 minutes 0.0.0.0:19100->9100/tcp, :::19100->9100/tcp node-exporter