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
36 stars 46 forks source link

Bug: cannot change API_OPENIM_PORT #59

Closed AndrewZuo01 closed 7 months ago

AndrewZuo01 commented 8 months ago

What happened?

after I changed API_OPENIM_PORT according to file, I got error

{
    "errCode": 500,
    "errMsg": "Post \"http://172.28.0.1:40002/auth/user_token\": read tcp 172.28.0.9:59842-\u003e172.28.0.1:40002: read: connection reset by peer",
    "errDlt": ""
}

What did you expect to happen?

It should work for log in

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

Modify .env and change API_OPENIM_PORT to 40002, then docker compose down, make clean, then docker compose up -d. After that, try creating an account and logging in

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

kubbot commented 8 months 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.

cubxxw commented 7 months ago

https://docs.openim.io/zh-hans/guides/gettingstarted/dockercompose

Could you please provide details on the method and process you used to make the modifications? I would greatly appreciate a detailed explanation.

cubxxw commented 7 months ago

Could you please confirm whether you have used docker compose down?

AndrewZuo01 commented 7 months ago

the logs of chat is here image openim server doesn't have new log