openimsdk / openimsdk/openim-docker

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

Open
#180 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go Template
Stars
88
Forks
114
PR merge metrics
No merged PRs in 30d

Description

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\\n<TITLE>Tunnel or SSL Forbidden</TITLE>\\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: <TITLE>Moved Temporarily</TITLE>

Moved Temporarily


Description: <TEXTAREA READONLY rows="2" cols="75"> The document you requested is now http://www.minio.com:9000/openim/?location=. Please update your documents and bookmarks accordingly.</TEXTAREA>
Screenshots Link

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the Docker deployment configuration for the etcd endpoint and MinIO connection used by the openim-server health check; reproduce the reported checks in the Linux/AMD environment. Done means the server can reach etcd at the configured endpoint and the MinIO bucket check no longer returns the shown proxy errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.