You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2025/01/04 19:23:00 UTC

[I] Failed: Address already in use [pekko]

He-Pin opened a new issue, #1679:
URL: https://github.com/apache/pekko/issues/1679

   
   https://github.com/apache/pekko/actions/runs/12612621246/job/35149558293?pr=1678#step:7:10560
   I think we should wait a little when do `disassociate`
   ```scala
   org.apache.pekko.remote.RemoteTransportException: Startup failed
   	at org.apache.pekko.remote.Remoting.org$apache$pekko$remote$Remoting$$notifyError(Remoting.scala:174)
   	at org.apache.pekko.remote.Remoting.start(Remoting.scala:250)
   	at org.apache.pekko.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:274)
   	at org.apache.pekko.actor.ActorSystemImpl._start$lzyINIT1(ActorSystem.scala:1043)
   	at org.apache.pekko.actor.ActorSystemImpl._start(ActorSystem.scala:1039)
   	at org.apache.pekko.actor.ActorSystemImpl.start(ActorSystem.scala:1062)
   	at org.apache.pekko.actor.ActorSystem$.apply(ActorSystem.scala:283)
   	at org.apache.pekko.actor.ActorSystem$.apply(ActorSystem.scala:327)
   	at org.apache.pekko.actor.ActorSystem$.apply(ActorSystem.scala:301)
   	at org.apache.pekko.remote.classic.RemotingSpec.f$proxy21$1(RemotingSpec.scala:848)
   	at org.apache.pekko.remote.classic.RemotingSpec.$init$$$anonfun$3$$anonfun$21(RemotingSpec.scala:828)
   	at org.scalatest.Transformer.apply$$anonfun$1(Transformer.scala:22)
   	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
   	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:31)
   	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
   	at org.scalatest.Transformer.apply(Transformer.scala:22)
   	at org.scalatest.Transformer.apply(Transformer.scala:21)
   	at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1118)
   	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
   	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:138)
   	at org.apache.pekko.testkit.PekkoSpec.withFixture(PekkoSpec.scala:80)
   	at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1124)
   	at org.scalatest.wordspec.AnyWordSpecLike.runTest$$anonfun$1(AnyWordSpecLike.scala:1128)
   	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
   	at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1128)
   	at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:44)
   	at org.apache.pekko.testkit.PekkoSpec.runTest(PekkoSpec.scala:80)
   	at org.scalatest.wordspec.AnyWordSpecLike.runTests$$anonfun$1(AnyWordSpecLike.scala:1187)
   	at org.scalatest.SuperEngine.traverseSubNodes$1$$anonfun$1(Engine.scala:413)
   	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
   	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
   	at scala.collection.immutable.List.foreach(List.scala:334)
   	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:429)
   	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
   	at org.scalatest.SuperEngine.traverseSubNodes$1$$anonfun$1(Engine.scala:427)
   	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
   	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
   	at scala.collection.immutable.List.foreach(List.scala:334)
   	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:429)
   	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
   	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
   	at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1187)
   	at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:44)
   	at org.apache.pekko.testkit.PekkoSpec.runTests(PekkoSpec.scala:80)
   	at org.scalatest.Suite.run(Suite.scala:1114)
   	at org.scalatest.Suite.run$(Suite.scala:564)
   	at org.apache.pekko.testkit.PekkoSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(PekkoSpec.scala:80)
   	at org.scalatest.wordspec.AnyWordSpecLike.run$$anonfun$1(AnyWordSpecLike.scala:1232)
   	at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
   	at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1232)
   	at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:44)
   	at org.apache.pekko.testkit.PekkoSpec.org$scalatest$BeforeAndAfterAll$$super$run(PekkoSpec.scala:80)
   	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
   	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:217)
   	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:135)
   	at org.apache.pekko.testkit.PekkoSpec.run(PekkoSpec.scala:80)
   	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
   	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
   	at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   	at java.base/java.lang.Thread.run(Thread.java:829)
   Caused by: java.net.BindException: Address already in use
   	at java.base/sun.nio.ch.Net.bind0(Native Method)
   	at java.base/sun.nio.ch.Net.bind(Net.java:459)
   	at java.base/sun.nio.ch.Net.bind(Net.java:448)
   	at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
   	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:141)
   	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:561)
   	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1281)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:600)
   	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579)
   	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:922)
   	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:259)
   	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:380)
   	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
   	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
   	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
   	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569)
   	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
   	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
   ```


-- 
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] Failed: Address already in use [pekko]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin closed issue #1679: Failed: Address already in use
URL: https://github.com/apache/pekko/issues/1679


-- 
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] Failed: Address already in use [pekko]

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

   looks like this was in `RemotingSpec: must allow other system to connect even if it's not there at first`


-- 
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