Azure-docs: Add details on this error

Created on 3 Jan 2020  Â·  22Comments  Â·  Source: MicrosoftDocs/azure-docs

Seems to be a lot of people getting this
Server did not respond properly to VPN Control Packets. Session State: Key Material sent


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author product-question triaged vpn-gatewasvc

Most helpful comment

Is anyone else still having this issue? We have a hybrid Azure AD environment and it appeared the time on a few of our client devices skewed which caused this error. To fix we changed the time source to an external ntp server rather than the default nt5ds.

All 22 comments

@danmyhre , We are looking into this query and will update you as soon as possible.

@danmyhre , We have assigned this issue to the content author for updating the document accordingly. @cherylmc , Could you please provide your insights here?

I ran into this error and can't find a way to resolve it. Any pointers or help on how to handle this? I followed all the steps and can't connect the Azure VPN client to my gateway. Thanks in advance for any help!

In my scenario, it turned out to be that the "/" was missing from the end of the issuer. Make sure both the "Tenant" field and the "Issuer" field both end with "/"

Thanks @danmyhre - that was the issue, you're a hero! I appreciate the help!

Worthwhile noting I had the same issue and @danmyhre suggestion resolved it.

Needs to be set correctly in the Set-AzVirtualNetworkGateway powershell cmd (not just the client config)

This error is still ocurring, even with the slash "/" behind the Issuer URI.

Any solution?

Receiving same error even after adding "/ " to Issuer and Tenant.

@serverhack74
@danmyhre
Edit: Fixed the issue, the Issuer did not have the DirectroyID with a "/" at the end. Saved settings and re-downloaded the client.

Imported within the Azure VPN client, and it worked!

Yes, I have added the "/" to the Issuer and Tenant:

image

This is the results:

image

Any clue?

Any clue?

no can you find out any solution on this

Receiving same error even after adding "/ " to Issuer and Tenant.

@serverhack74
@danmyhre
Edit: Fixed the issue, the Issuer did not have the DirectroyID with a "/" at the end. Saved settings and re-downloaded the client.

Imported within the Azure VPN client, and it worked!

sorry but I did follow the same procedure but it didn't Work

is this azure VPN client works for only windows NOS or Windows COS also...i was try every possible way to find out the solution but yet things worked

I ran into the same error, my mistake: token issuer id and tenant id were not identical

Token issuer ID and Tenant ID shouldn't be identical, should it? Both have differents server URIs, for tenant ID is https://login.microsoftonline.com/XXXXXX and Issuer is https://sts.windows.net/XXXXXX

Otherwise I have checked putting the same on both boxes and the results are the same: still not working

I only referred to th ID, not the complete URI

at first my faulty config was something like this:
https://login.microsoftonline.com/XXXXXX/
https://sts.windows.net/YYYYYY/

but since i changed it to:
https://login.microsoftonline.com/XXXXXX/
https://sts.windows.net/XXXXXX/
it worked

That's the config I have:

image

and it isn't working

@serverhack74 - have you replicated the configuration in the azurevpnconfig.xml file? I was able to replicate when the trailing / isn't added to the xml file too.

a note was added to the documentation

please-close

Is anyone else still having this issue? We have a hybrid Azure AD environment and it appeared the time on a few of our client devices skewed which caused this error. To fix we changed the time source to an external ntp server rather than the default nt5ds.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jebeld17 picture jebeld17  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments