Skip to content

Akka.Remote not working when using async-await #3119

@ThmX

Description

@ThmX

Using a simple Ping-Pong example, we implemented three variants of sending a ping message.
Two variants are working, however when using async-await, the pong is never sent back.
The three variants are implemented here: https://github.com/ThmX/AkkaNetChat/blob/master/ChatClient/Program.cs

It is worth mentioning that the client can communicate with the server, but the server can't communicate with the client.

Akka.Net version

Akka.Net 1.3.1 with Remote and Hyperion

Platform

.NetCore2 on Windows, Mac and Linux

.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.0.0/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

List of steps to reproduce the issue

Clone, Restore & Build
git clone https://github.com/ThmX/AkkaNetChat
cd AkkaNetChat
dotnet restore
dotnet build
Server
cd AkkaNetChat/ChatServer
dotnet run
Client
cd AkkaNetChat/ChatClient
dotnet run

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions