Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurs when sending large message. #3758

Open
jiyeongj opened this issue Apr 16, 2019 · 2 comments
Open

Error occurs when sending large message. #3758

jiyeongj opened this issue Apr 16, 2019 · 2 comments

Comments

@jiyeongj
Copy link

jiyeongj commented Apr 16, 2019

Hello.

I'm using Akka.Remote 1.3.12, Akka 1.3.12 on .NET Framework 4.6.1.

Test Scenario

This is Issue case.

  1. TestMainActor sends to TestSubActor using ActorSelection.

  2. If, TestSubActor is busy, Error occurs Akka.Actor.ActorNotFoundException.
    Error occurs when sending large message. (The size of the test message is about 63 MB.)

Test Result

[2019/04/16 16:06:11.394][    7][DEBUG] Cannot resolve.... [akka.tcp://TestSubActorSystem@127.0.0.1:8192/user/TestSubActor]
System.AggregateException: 하나 이상의 오류가 발생했습니다. ---> Akka.Actor.ActorNotFoundException: Exception occurred while resolving ActorSelection ---> Akka.Actor.ActorNotFoundException: subject was null
   위치: Akka.Actor.ActorSelection.<InnerResolveOne>d__17.MoveNext()
   --- 내부 예외 스택 추적의 끝 ---
   위치: Akka.Actor.ActorSelection.<InnerResolveOne>d__17.MoveNext()
   --- 내부 예외 스택 추적의 끝 ---
   위치: System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   위치: System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   위치: System.Threading.Tasks.Task.Wait(TimeSpan timeout)
   위치: AkkaNetworkTestMain.TestMainActor.Handle(SendToSub msg) 파일 D:\githubRepo\AkkaSample\AkkaNetworkTestMain\TestMainActor.cs:줄 107
---> (내부 예외 #0) Akka.Actor.ActorNotFoundException: Exception occurred while resolving ActorSelection ---> Akka.Actor.ActorNotFoundException: subject was null
   위치: Akka.Actor.ActorSelection.<InnerResolveOne>d__17.MoveNext()
   --- 내부 예외 스택 추적의 끝 ---
   위치: Akka.Actor.ActorSelection.<InnerResolveOne>d__17.MoveNext()<---

sampleVideo.zip

Test Sample github repository : https://github.com/jiyeongj/Issue/tree/master/AkkaSample

Please check:)
thanks.

@jiyeongj jiyeongj changed the title Busy actor occurs ActorNotFoundException error. Error occurs when sending large message. Apr 16, 2019
@charlesfayal
Copy link

also having this issue

@Aaronontheweb
Copy link
Member

I'm really sorry I never replied to this, particularly since we have a blog post that describes why this issue happens - this is happening over Akka.Remote, correct?

https://petabridge.com/blog/large-messages-and-sockets-in-akkadotnet/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants