gpt4 book ai didi

tcp - akka.remote.RemoteTransportException : No transport is loaded for protocol

转载 作者:可可西里 更新时间:2023-11-01 02:33:38 27 4
gpt4 key购买 nike

我注意到 Akka 2.3.2 没有 akka-remote-test-experiment。谁能向我建议如何解决这个问题:

[ERROR] [05/23/2014 12:33:38.765] [Configurations-akka.actor.default-dispatcher-15] [akka://Configurations/system/cluster/core/daemon/joinSeedNodeProcess-1] No transport is loaded for protocol: [akka], available protocols: [akka.tcp]
akka.remote.RemoteTransportException: No transport is loaded for protocol: [akka], available protocols: [akka.tcp]
at akka.remote.Remoting$.localAddressForRemote(Remoting.scala:80)
at akka.remote.Remoting.localAddressForRemote(Remoting.scala:122)
at akka.remote.RemoteActorRefProvider.rootGuardianAt(RemoteActorRefProvider.scala:338)
at akka.actor.ActorRefFactory$class.actorSelection(ActorRefProvider.scala:318)
at akka.actor.ActorCell.actorSelection(ActorCell.scala:369)
at akka.cluster.JoinSeedNodeProcess$$anonfun$receive$4$$anonfun$applyOrElse$1.applyOrElse(ClusterDaemon.scala:1084)
at akka.cluster.JoinSeedNodeProcess$$anonfun$receive$4$$anonfun$applyOrElse$1.applyOrElse(ClusterDaemon.scala:1083)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
at scala.collection.TraversableLike$$anonfun$collect$1.apply(TraversableLike.scala:278)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.collection.TraversableLike$class.collect(TraversableLike.scala:278)
at scala.collection.AbstractTraversable.collect(Traversable.scala:105)
at akka.cluster.JoinSeedNodeProcess$$anonfun$receive$4.applyOrElse(ClusterDaemon.scala:1083)
at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
at akka.cluster.JoinSeedNodeProcess.aroundReceive(ClusterDaemon.scala:1067)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

最佳答案

这与 Mario 的回答相同,只是语法不同。改变

val remote = context.actorFor("akka://RemoteSystem@127.0.0.1:5150/user/RemoteActor")

val remote = context.actorFor("akka.tcp://RemoteSystem@127.0.0.1:5150/user/RemoteActor")

关于tcp - akka.remote.RemoteTransportException : No transport is loaded for protocol,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23827275/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com