akka.net icon indicating copy to clipboard operation
akka.net copied to clipboard

Error occurs when sending large message.

Open jiyeongj opened this issue 6 years ago • 2 comments

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://[email protected]: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 avatar Apr 16 '19 06:04 jiyeongj

also having this issue

charlesfayal avatar Oct 09 '20 16:10 charlesfayal

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/

Aaronontheweb avatar May 06 '22 17:05 Aaronontheweb