The requested address is not valid in its context with tcpping in Azure

After an Azure Service App restart, one of our VPN connection into our datacenter started to fail. A simple tcpping bringing new kind of error I've never seen before

> tcpping 10.xx.xx.xx:xxxxxx
D:\home\site\wwwroot  
Connection attempt failed: The requested address is not valid in its context  
Connection attempt failed: The requested address is not valid in its context  
Connection attempt failed: The requested address is not valid in its context  
Connection attempt failed: The requested address is not valid in its context  
Complete: 0/4 successfull attempts (0%). Average success time: 0ms  

Usually, when the VPN is down, we are getting timeout, but not above error. After a call with Microsoft, we had confirmation that something bad happened in the underlying configuration and can't be fixed.
However, fortunately, provisionning a new instance by scaling up and then scaling down the service fixed our issue.
In our case, we switch from S1 to S2, and then came back to S1.

Fabien Camous

Read more posts by this author.