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

akka nat bug #929

Open
andychyiyi opened this issue Jun 14, 2024 · 0 comments
Open

akka nat bug #929

andychyiyi opened this issue Jun 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@andychyiyi
Copy link

andychyiyi commented Jun 14, 2024

5.0的http协议nat\容器改的很好,可以使用了。

akka这部分的nat\容器环境已经诟病很久了,希望引起作者重视。nat/容器化环境依旧有问题,
issue:

akka配置参考:https://doc.akka.io/docs/akka/current/remoting-artery.html#akka-behind-nat-or-in-a-docker-container
解决方案代码参考代码:

worker端改造https://gitee.com/a_bad_fox/PowerJob/blob/master/powerjob-worker/src/main/java/tech/powerjob/worker/PowerJobWorker.java 的107-118行。

server端改造https://gitee.com/a_bad_fox/PowerJob/blob/master/powerjob-server/powerjob-server-remote/src/main/java/tech/powerjob/server/remote/transport/starter/AkkaStarter.java 的58-66行

5.0引入的externalIp概念下,akka的原来的net配置失效了,

正在读源码,
后续的akka net测试将贴在下方

@andychyiyi andychyiyi added the bug Something isn't working label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants