Um, it looks like i had some issues with using 2.1 akka version of the 
example and not the 2.3 akka version needed.
Also we learned that akka can do some things with ipv6.
One must use [] around ipv6 address value in the hostname setting of the 
config.
Also one cannot leave this value empty as it defaults to an ipv6 address 
without []s.

So consider the post closed as we figured it out.
Granted we hope akka team can test and support ipv6 across the board in 
near release.
cheers
craig


On Monday, October 13, 2014 at 5:51:49 AM UTC-4, sifi mohamed amine wrote:
>
>
>
> Hello ,
>
> Trying to to lauch the example in this tutorial : 
> http://alvinalexander.com/scala/scala-akka-actors-ping-pong-simple-example 
> and more importantly configuring it work for Ipv6 , I got this exception .
>
> [error] (run-main-0) 
> 451d3fcc-931e-4802-9c77-5b13f45cf3f5akka.remote.RemoteTransportException: 
> Could not load remote transport layer akka.remote.netty.NettyRemoteTransport
> 451d3fcc-931e-4802-9c77-5b13f45cf3f5akka.remote.RemoteTransportException: 
> Could not load remote transport layer akka.remote.netty.NettyRemoteTransport
>     at 
> akka.remote.RemoteActorRefProvider$$anonfun$init$2.applyOrElse(RemoteActorRefProvider.scala:87)
>     at 
> akka.remote.RemoteActorRefProvider$$anonfun$init$2.applyOrElse(RemoteActorRefProvider.scala:86)
>     at 
> scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
>     at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
>     at scala.util.Try$.apply(Try.scala:161)
>     at scala.util.Failure.recover(Try.scala:185)
>     at 
> akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:86)
>     at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:583)
>     at akka.actor.ActorSystemImpl._start(ActorSystem.scala:581)
>     at akka.actor.ActorSystemImpl.start(ActorSystem.scala:590)
>     at akka.actor.ActorSystem$.apply(ActorSystem.scala:110)
>     at akka.actor.ActorSystem$.apply(ActorSystem.scala:92)
>     at local.Local$delayedInit$body.apply(Local.scala:7)
>     at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
>     at 
> scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
>     at scala.App$$anonfun$main$1.apply(App.scala:71)
>     at scala.App$$anonfun$main$1.apply(App.scala:71)
>     at scala.collection.immutable.List.foreach(List.scala:318)
>     at 
> scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
>     at scala.App$class.main(App.scala:71)
>     at local.Local$.main(Local.scala:5)
>     at local.Local.main(Local.scala)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
> Caused by: java.net.UnknownHostException:  fe80::e54:a5ff:fe00:7db2: Name 
> or service not known
>     at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
>     at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
>     at 
> java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
>     at java.net.InetAddress.getAllByName0(InetAddress.java:1246)
>     at java.net.InetAddress.getAllByName(InetAddress.java:1162)
>     at java.net.InetAddress.getAllByName(InetAddress.java:1098)
>     at java.net.InetAddress.getByName(InetAddress.java:1048)
>     at akka.remote.netty.NettyRemoteServer.<init>(Server.scala:26)
>     at 
> akka.remote.netty.NettyRemoteTransport.createServer(NettyRemoteSupport.scala:156)
>     at 
> akka.remote.netty.NettyRemoteTransport.liftedTree1$1(NettyRemoteSupport.scala:149)
>     at 
> akka.remote.netty.NettyRemoteTransport.<init>(NettyRemoteSupport.scala:149)
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>     at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>     at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>     at 
> akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$2.apply(DynamicAccess.scala:79)
>     at scala.util.Try$.apply(Try.scala:161)
>     at 
> akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:74)
>     at 
> akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:85)
>     at 
> akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:85)
>     at scala.util.Success.flatMap(Try.scala:200)
>     at 
> akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:85)
>     at 
> akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:86)
>     at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:583)
>     at akka.actor.ActorSystemImpl._start(ActorSystem.scala:581)
>     at akka.actor.ActorSystemImpl.start(ActorSystem.scala:590)
>     at akka.actor.ActorSystem$.apply(ActorSystem.scala:110)
>     at akka.actor.ActorSystem$.apply(ActorSystem.scala:92)
>     at local.Local$delayedInit$body.apply(Local.scala:7)
>     at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
>     at 
> scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
>     at scala.App$$anonfun$main$1.apply(App.scala:71)
>     at scala.App$$anonfun$main$1.apply(App.scala:71)
>     at scala.collection.immutable.List.foreach(List.scala:318)
>     at 
> scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
>     at scala.App$class.main(App.scala:71)
>     at local.Local$.main(Local.scala:5)
>     at local.Local.main(Local.scala)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
> [trace] Stack trace suppressed: run last compile:run for the full output.
> ^[[A^[[A^[[A^[[A^Cmedamine@uranus:~/Akka/Akka-Remote/HelloLocal$ sbt
> [info] Loading project definition from 
> /home/medamine/Akka/Akka-Remote/HelloLocal/project
> [info] Set current project to HelloLocal (in build 
> file:/home/medamine/Akka/Akka-Remote/HelloLocal/)
>
> I should also mention that I am binding to my local IPv6 adress   
> Can any suggest a solution  .Thanks a lot 
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to