Hi James,

Messages sent with actor selection are by default discarded in untrusted
mode, but permission to receive actor selection messages can be granted to
specific actors defined in
configuration: akka.remote.trusted-selection-paths
See http://doc.akka.io/docs/akka/2.3.9/scala/remoting.html#Untrusted_Mode

Regards,
Patrik

On Fri, Mar 6, 2015 at 1:49 PM, James Brems <jamesbrem...@gmail.com> wrote:

> Hi!
>
> I am using akka 2.3.7. I want to protect my remote actors against
> PoisonPills from outside. Therefore I set the property
>
> akka.remote.untrusted-mode = on
>
> (as suggested in http://doc.akka.io/docs/akka/2.3.7/scala/remoting.html)
>
>
> Problem is, that now system.actorSelection is not working anymore:
>
> 13:33:30.822 DEBUG akka.tcp://xxx/endpointWriterakka.remote.EndpointWriter
> operating in UntrustedMode, dropping inbound actor selection to
> [/user/actorname], allow it by adding the path to
> 'akka.remote.trusted-selection-paths' configuration
>
>
> The deprecated system.actorFor still works but I don't want to use it.
>
> Seems as if there was already a similar ticket in the past (
> https://www.assembla.com/spaces/akka/tickets/3665-make-actorselection-working-when-using-untrusted-mode#/activity/).
> Looks as if the problem still exists or exists again.
>
> Regards
> James Brems
>
> --
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

[image: Scala Days] <http://event.scaladays.org/scaladays-sanfran-2015>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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