Skip to content
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

对外服与网关集群连接异常 Create connection failed. The address is #394

Open
k0204 opened this issue Nov 10, 2024 · 1 comment

Comments

@k0204
Copy link

k0204 commented Nov 10, 2024

你的问题 | 使用场景

阿里云服务器启动了3个网关服
image

其中 服务器启动的端口 和 种子信息 都以json配置进行获取
image

其中xx.xx.xx.xx 为真实的外网ip

分别运行
java -jar spring-game-broker-1.0.0.jar 1
java -jar spring-game-broker-1.0.0.jar 2
java -jar spring-game-broker-1.0.0.jar 3

启动3个网关服务器

对外服代码如下:
image

预期值

正常连接3个网关

实际值

2024-11-11T00:22:42.941+08:00 ERROR 536 --- [ Simple-28-3] c.i.g.b.b.core.client.BrokerClientItem : Create connection failed. The address is 172.30.129.58:20003

2024-11-11T00:22:43.955+08:00 ERROR 536 --- [ Simple-28-3] c.i.g.b.b.core.client.BrokerClientItem : Create connection failed. The address is 172.30.129.58:20002

2024-11-11T00:22:44.973+08:00 ERROR 536 --- [ Simple-28-3] c.i.g.b.b.core.client.BrokerClientItem : Create connection failed. The address is 172.30.129.58:20001

image

版本

  • ioGame version: 21.19
@iohao
Copy link
Owner

iohao commented Nov 11, 2024

debug 跟下,或到 bolt 社区问下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants