You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "raboof (via GitHub)" <gi...@apache.org> on 2025/09/25 08:09:51 UTC

[I] must allow other system to connect even if it's not there at first [pekko]

raboof opened a new issue, #2268:
URL: https://github.com/apache/pekko/issues/2268

   ```
   [WARN] [09/25/2025 04:10:12.973] [pool-1-thread-1-ScalaTest-running-RemotingSpec] [org.apache.pekko.remote.RemoteActorRefProvider] Using the 'remote' ActorRefProvider directly, which is a low-level layer. For most use cases, the 'cluster' abstraction on top of remoting is more suitable instead.
   		at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
   		at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
   		at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
   		at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
   ]
   Error:  [09/25/2025 04:10:22.708] [other-system-pekko.remote.default-remote-dispatcher-8] [Remoting] Remoting system has been terminated abrubtly. Attempting to shut down transports
   [09-25 04:10:22.726] [info] - must allow other system to connect even if it's not there at first *** FAILED *** (1 second, 54 milliseconds)
   [09-25 04:10:22.727] [info]   java.net.BindException: Address already in use
   [09-25 04:10:22.727] [info]   at java.base/sun.nio.ch.Net.bind0(Native Method)
   [09-25 04:10:22.727] [info]   at java.base/sun.nio.ch.Net.bind(Net.java:555)
   [09-25 04:10:22.727] [info]   at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
   [09-25 04:10:22.727] [info]   at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
   [09-25 04:10:22.727] [info]   at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:148)
   [09-25 04:10:22.727] [info]   at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:434)
   [09-25 04:10:22.727] [info]   at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1353)
   [09-25 04:10:22.727] [info]   at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:492)
   [09-25 04:10:22.727] [info]   at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:471)
   [09-25 04:10:22.728] [info]   at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:994)
   [09-25 04:10:22.728] [info]   at io.netty.channel.Channel.bind(Channel.java:302)
   [09-25 04:10:22.728] [info]   at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:380)
   [09-25 04:10:22.728] [info]   at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148)
   [09-25 04:10:22.728] [info]   at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:141)
   [09-25 04:10:22.728] [info]   at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:535)
   [09-25 04:10:22.728] [info]   at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:201)
   [09-25 04:10:22.728] [info]   at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193)
   [09-25 04:10:22.728] [info]   at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
   [09-25 04:10:22.728] [info]   at java.base/java.lang.Thread.run(Thread.java:840)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [I] must allow other system to connect even if it's not there at first [pekko]

Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning closed issue #2268: must allow other system to connect even if it's not there at first
URL: https://github.com/apache/pekko/issues/2268


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [I] must allow other system to connect even if it's not there at first [pekko]

Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #2268:
URL: https://github.com/apache/pekko/issues/2268#issuecomment-6083553096

   Closing: fixed by #3551. "allow other system to connect even if it's not there at first" binds through `selectionAndBind`, whose retry previously only matched a `"Failed to bind"` message and never fired for the raw `java.net.BindException: Address already in use` that classic remoting throws. #3551 makes the retry match `BindException` anywhere in the cause chain, so the test retries on a fresh port. Please reopen with a new failing run if this still happens.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org