Skip to content

Orleans connecting issue in Linux #30

Description

@tcz717

Maybe relate to dotnet/orleans#5158

When running Orleans server in Linux, the client fails to connect to the server, no matter the client is in Windows or Linux. However, the server works perfectly in Windows. The client showed the following error:

Unhandled Exception: Orleans.Runtime.SiloUnavailableException: The target silo became unavailable for message: Request *cli/a309d4a6@25c70da0->S127.0.0.1:30000:0*stg/17/00000011@S00000011 #2: . Target History is: <S127.0.0.1:30000:0:*stg/17/00000011:@S00000011>. See https://aka.ms/orleans-troubleshooting for troubleshooting help.
   at Orleans.OutsideRuntimeClient.<>c__DisplayClass56_0.<<StartInternal>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Orleans.OutsideRuntimeClient.<StartInternal>g__ExecuteWithRetries|56_3(Func`1
task, Func`2 shouldRetry)
   at Orleans.OutsideRuntimeClient.StartInternal(Func`2 retryFilter)
   at Orleans.OutsideRuntimeClient.Start(Func`2 retryFilter)
   at Orleans.ClusterClient.Connect(Func`2 retryFilter)
   at SimCivil.Gate.Gate.Main(String[] args) in /home/tcz/SimCivil/SimCivil.Gate/Gate.cs:line 70
   at SimCivil.Gate.Gate.<Main>(String[] args)

And the server showed

warn: Orleans.Runtime.Messaging.IncomingMessageAcceptor[101307]
      Remote socket closed while receiving connection preamble data from endpoint 127.0.0.1:45983.

It indicated that the server had established a connection but closed then due to an unknown reason.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions