-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Other]: Login error code 14 (last connection error: connection error: desc = "error reading server preface: read tcp ) #480
Comments
It seems that the connection to port 30300 is failing. Is it being deployed on a single machine? |
yes
|
use netstat check port |
use netstat check port |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Has the issue been resolved? |
所有的 openim-server 和 openim-chat 服务都正常启动起来了,但是登录却报错了:
openim-server 的启动状态:
web 上的报错信息:
请求和状态:
|
chat logs:
|
这个日志报错涉及到了多个错误消息,主要集中在 RPC 调用失败上,具体分析如下: 错误分析RPC 连接错误错误消息
错误代码和消息日志中的错误代码为 解决方案建议针对此类问题,可以尝试以下几种解决方案:
如果问题持续存在,可能需要深入分析服务端的实现和配置,以及客户端的连接逻辑,从而找到根本原因并解决。在某些复杂的情况下,可能还需要利用网络抓包工具(如 Wireshark)来观察和分析 TCP 层面的通信细节。 |
This log error report involves multiple error messages, mainly focusing on RPC call failure. The specific analysis is as follows: Error analysisRPC connection errorError message
Error codes and messagesThe error code in the log is Solution suggestionsFor this kind of problem, you can try the following solutions:
If the problem persists, you may need to deeply analyze the implementation and configuration of the server and the connection logic of the client to find the root cause and solve it. In some complex cases, it may be necessary to use network packet capture tools (such as Wireshark) to observe and analyze the communication details at the TCP level. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
deploying OpenIM is smoothy in release-v3.8 version, I recommend you update to this version, if you encounter new issue, please reopen this issue or open new issue |
What would you like to share?
An error occurred when logging in via web-demo
{
"errCode": 14,
"errMsg": "last connection error: connection error: desc = "transport: Error while dialing: dial tcp 169.254.100.204:30300: connectex: A socket operation was attempted to an unreachable network."",
"errDlt": ": last connection error: connection error: desc = "transport: Error while dialing: dial tcp 169.254.100.204:30300: connectex: A socket operation was attempted to an unreachable network.""
}
Additional information
No response
The text was updated successfully, but these errors were encountered: