未经授权的错误连接到Azure配置服务 [英] Unauthorized error connecting to Azure Config Service

查看:103
本文介绍了未经授权的错误连接到Azure配置服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过
Azure配置服务(试用帐户) > spring-cloud-azure-appconfiguration-config 跟随官方

I'm tring to connect Azure Config Service (trial account) using a java application through spring-cloud-azure-appconfiguration-config following the official

但是在配置服务后我收到了这个错误:

But after configuring the service I get this error:

java.lang.IllegalStateException: Failed to load keys from Azure Config Service. With status code: 401, response: HttpResponseProxy{HTTP/1.1 401 Unauthorized [Server: nginx/1.13.9, Date: Fri, 26 Apr 2019 07:57:55 GMT, Content-Length: 0, Connection: keep-alive, WWW-Authenticate: HMAC-SHA256 error="invalid_token", error_description="Invalid access token date", x-ms-request-id: 65a517c5-0ee8-43a4-bba9-caf00c5c58d2, x-ms-correlation-request-id: 65a517c5-0ee8-43a4-bba9-caf00c5c58d2, Strict-Transport-Security: max-age=15724800; includeSubDomains;] [Content-Length: 0,Chunked: false]}
	at com.microsoft.azure.spring.cloud.config.ConfigServiceTemplate.getRawResponse(ConfigServiceTemplate.java:200) ~[spring-cloud-azure-appconfiguration-config-1.1.0.M3.jar:1.1.0.M3]]

我尝试为下面的属性提供所有可用的密钥字符串:

I've tried providing all the available key strings for the property below:

spring.cloud.azure.appconfiguration.stores[0].connection-string

我缺少什么?

提前致谢

Thanks in advance

推荐答案

您好,

感谢您提出此问题。我将在这里进行调查和更新。

Thanks for raising this issue. I will investigate and update here.


这篇关于未经授权的错误连接到Azure配置服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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