Getting 'An existing connection was forcibly closed by the remote host.' from Azure
Asked Answered
E

1

8

While trying to follow the 'Get Started with Events Hub' example for Microsoft Azure (http://azure.microsoft.com/en-us/documentation/articles/service-bus-event-hubs-csharp-ephcs-getstarted/#introduction), when I try to run either receiver or sender programs defined there, I get the following exception: 'An existing connection was forcibly closed by the remote host.'

Since this is while trying to connect to Azure, and in the Azure portal everything seems to be in place (following the example mentioned above), I am stuck.

I am using West Europe location for my Event Hub.

Elo answered 7/4, 2015 at 8:38 Comment(1)
how was this issue resolved any clue?Flavin
S
0

Something you want to try:

  1. Make sure your connection string is correct.
  2. Try to ping host part in your connection string.
  3. Check the firewall.
  4. Check whether you really send some messages and have messages to receive, since idle connection might be closed.
Shoot answered 11/10, 2018 at 3:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.