错误:接收到的JWT令牌发生安全令牌验证错误。 HTTP状态code:未经授权 [英] Error: A security token validation error occured for the received JWT token. Http Status Code: Unauthorized

查看:535
本文介绍了错误:接收到的JWT令牌发生安全令牌验证错误。 HTTP状态code:未经授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试部署的Azure应用程序2.2使用ASP.NET Web角色我收到以下错误信息:

When I try to deploy an Azure 2.2 application with ASP.NET Web Role I get the following error message:

错误:对发生安全令牌验证错误
  收到JWT令牌。 HTTP状态code:未经授权OperationId:

Error: A security token validation error occurred for the received JWT token. Http Status Code: Unauthorized OperationId:

我有一个订阅,我登录时,我部署。

I have a subscription and I logged in when I deployed.

previously我收到此错误信息:

Previously I was getting this error message:

角色XXY的实例0处于未知状态。

Instance 0 of role xxy is in an unknown state

为什么会出现这个异常,我该如何解决呢?

Why do I get this exception and how can I solve it?

推荐答案

我发现下载从蔚蓝的门户网站发布设置,或者只是重新在vs2013部署配置文件并保存它解决了这一问题。

I found that downloading the publish settings from the azure portal, or just recreating the deployment profile in vs2013 and saving it fixed the problem.

再次尝试删除部署(而不是为您服务)和出版。

Try deleting your deployment (not your service) and publishing again.

这篇关于错误:接收到的JWT令牌发生安全令牌验证错误。 HTTP状态code:未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆