openimsdk / open-im-server

IM Chat
https://openim.io
Apache License 2.0
13.73k stars 2.42k forks source link

Bug: macOS source code deployment anomaly. #1700

Closed skiffer-git closed 7 months ago

skiffer-git commented 8 months ago

What happened?

226597b8602c1fafd2ff949d06365ea 5839bba08207e5a40a46200c522b189 246df33afe467102362d8c97872b57d

What did you expect to happen?

normal

How can we reproduce it (as minimally and precisely as possible)?

1) MongoDB cannot connect; 2) 'make start' (IM and Chat) throws an error.

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

cubxxw commented 8 months ago

Hello,

It seems that there might be a slight difference between the Docker network on macOS and Linux, possibly due to the kernel version. To troubleshoot this, it's worth considering changing the IP address from 172.28.0.1 to 127.0.0.1 on the macOS machine. This adjustment could help in resolving the issue.

cubxxw commented 7 months ago

The issue has been successfully resolved, and you can find the documentation for your reference at: https://docs.openim.io/zh-Hans/guides/gettingStarted/mac-deployment-guide.