Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"There are no more endpoints available from the Endpoint Mapper" exception when pinging

Tags:

c#

ping

azure

I have a very small website running on Azure in the shared hosting configuration. I have a bunch of networking code on it that involves opening sockets, all of which works successfully.

I have written some code that sends a ping and I get a PingException being thrown, with the inner exception being a Win32Exception with the description

There are no more endpoints available from the endpoint mapper

I am making a guess that it's because I'm trying to send an ICMP request, but any guidance would be appreciated, and particularly a work around.

like image 649
Sam Avatar asked Nov 11 '22 11:11

Sam


1 Answers

I am seeing the same errors. I believe this is happening because many Azure services, including Web Apps, do not allow outbound ICMP: https://social.msdn.microsoft.com/Forums/en-US/71c85bea-572a-4232-87f8-3e45e674f08a/there-are-no-more-endpoints-available-on-azure-website?forum=windowsazurewebsitespreview

like image 60
Jamie F Avatar answered Nov 15 '22 10:11

Jamie F