5 Star 34 Fork 19

haha / publicdemo

 / 详情

netty-socketio redisson集群和gateway

Backlog
Opened this issue  
2023-03-01 17:05

现在引用scs-core-socketio-starter-demo 和 scs-core-socketio-starter ,基于这两个demo写了自己的代码,但是在集群环境中,我们使用了三台服务器,同时连接一个nacos,不同的IP,相同的nettyService端口,在nginx配置中:

upstream IM-nodes {
    server 10.0.70.4:10065;
    server 10.2.70.8:10065;
    server 10.1.70.17:10065;
}

upstream upstream_gateway{
    #least_conn;  
    #server 10.0.70.17:9999;
    #server 10.0.70.8:9999;
    server 10.0.70.4:9999;
}

进行了代理配置,但是前端连接后,偶尔就收不到消息,看到后台服务器发送了,但是前端收不到,这块不知道博主遇到过吗?

Comments (0)

wei created任务
wei changed description
Expand operation logs

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
Java
1
https://gitee.com/liuhaomin/publicdemo.git
git@gitee.com:liuhaomin/publicdemo.git
liuhaomin
publicdemo
publicdemo

Search

53164aa7 5694891 3bd8fe86 5694891