PowerJob icon indicating copy to clipboard operation
PowerJob copied to clipboard

项目部署在阿里云服务器上,使用公司内网链接不上

Open wuningfei opened this issue 2 years ago • 4 comments

控制台一致提示:[VertxTransporter] post to url[URL(serverType=SERVER, address=172.24.186.236:10010, location=HandlerLocation(rootPath=server, methodPath=workerHeartbeat))] failed,msg: AbstractChannel.AnnotatedConnectException: Connection refused: no further information: /172.24.186.236:10010

请问这个是什么问题?

wuningfei avatar Nov 01 '23 06:11 wuningfei

这个应该是返回的地址是server的(如果部署在容器中就获取的是容器的虚拟地址),worker再根据这个虚拟地址去链接就失败了

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年11月01日 14:09 | | 收件人 | @.> | | 抄送至 | @.***> | | 主题 | [PowerJob/PowerJob] 项目部署在阿里云服务器上,使用公司内网链接不上 (Issue #775) |

控制台一致提示:[VertxTransporter] post to url[URL(serverType=SERVER, address=172.24.186.236:10010, location=HandlerLocation(rootPath=server, methodPath=workerHeartbeat))] failed,msg: AbstractChannel.AnnotatedConnectException: Connection refused: no further information: /172.24.186.236:10010

请问这个是什么问题?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

LtroiNGU avatar Nov 01 '23 06:11 LtroiNGU

可参考 官方文档 中的 2.1 非局域网通信 章节

zongwei007 avatar Nov 01 '23 17:11 zongwei007

可参考 官方文档 中的 2.1 非局域网通信 章节

试过了,但是 server 端提示

Dropping Handshake Request from [akka://[email protected]:27777#2325164695716419550] addressed to unknown local address [akka://[email protected]:10010]. Local address is [akka://[email protected]:32004]. Check that the sending system uses the same address to contact recipient system as defined in the 'akka.remote.artery.canonical.hostname' of the recipient system. The name of the ActorSystem must also match.

而 workder 提示

[outbound connection to [akka://[email protected]:10010], message stream] Upstream failed, cause: StreamTcpException: The connection has been aborted

tanyaofei avatar Jan 20 '24 07:01 tanyaofei

可参考 官方文档 中的 2.1 非局域网通信 章节

试过了,但是 server 端提示

Dropping Handshake Request from [akka://[email protected]:27777#2325164695716419550] addressed to unknown local address [akka://[email protected]:10010]. Local address is [akka://[email protected]:32004]. Check that the sending system uses the same address to contact recipient system as defined in the 'akka.remote.artery.canonical.hostname' of the recipient system. The name of the ActorSystem must also match.

而 workder 提示

[outbound connection to [akka://[email protected]:10010], message stream] Upstream failed, cause: StreamTcpException: The connection has been aborted

我也遇到这个问题,akka协议通信失败,目前work端和server端通信是否还需要akka

guangdashao avatar Mar 04 '24 06:03 guangdashao