-
I am trying to get a simple example of the dotnet client code to work. I have done the following:
The full stack trace of the exception: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think that this is more of a windows problem not related to the client. See: |
Beta Was this translation helpful? Give feedback.
-
I was able to resolve the problem. I had a VPN connection that was live. I had tried disconnecting, but this resulted in an exception. Eventually I created a new user and used this in place of "guest", and this allows the code to run when the VPN is disconnected. The issue occurs in RoutingClient.LookupConnection, when the VPN is connected, Dns.GetHostEntryAsync will return the VPN IP address as the first entry in the Address List, at least for me this is an IPV6 address that won't work when trying to connect a socket in Connection.Create. The code works with the "guest" user if you bypass the Dns.GetHostEntryAsync call. |
Beta Was this translation helpful? Give feedback.
I was able to resolve the problem. I had a VPN connection that was live. I had tried disconnecting, but this resulted in an exception. Eventually I created a new user and used this in place of "guest", and this allows the code to run when the VPN is disconnected. The issue occurs in RoutingClient.LookupConnection, when the VPN is connected, Dns.GetHostEntryAsync will return the VPN IP address as the first entry in the Address List, at least for me this is an IPV6 address that won't work when trying to connect a socket in Connection.Create. The code works with the "guest" user if you bypass the Dns.GetHostEntryAsync call.