随笔分类 - 【Azure Spring Cloud】
Azure 中使用Azure Spring Cloud的各种疑难杂症
摘要:问题描述 在部署Azure Spring App应用后,访问应用,遇见了502 Bad Gateway Nginx。 问题解答 502 Bad Gateway, 并且由Nginx返回。而自己的应用中,并没有定义Nginx相关内容,所以需要查看问题是否出现在Azure Spring App服务的设置上
阅读全文
摘要:问题描述 在Azure的Spring Cloud服务 (官名为:Spring Apps)中,在Metrics 页面中查看 App Memory Usage 和 jvm.memory.use,发现两则在下图中出现巨大差距。 App Memory Usage还是在逐渐上升 jvm.memory.use
阅读全文
摘要:问题描述 Spring Cloud Azure 4.0 调用 Key Vault 的代码中,没有找到设置 authority-host 的配置项,导致认证出现错误 Caused by: com.microsoft.aad.msal4j.MsalServiceException: AADSTS9000
阅读全文
摘要:问题描述 在使用Azure Spring Cloud服务时,如果要收集应用程序的日志。有控制台输出(实时流日志),也可以配置Log Analytics服务。 日志流式处理 可以通过以下命令在 Azure CLI 中使用日志流式处理。 az spring-cloud app logs -n hello
阅读全文
摘要:问题描述 在Azure Spring Cloud中,通过ActiveDirectoryMSI方式来连接到SQL Service,需要如何配置呢? 问题分析 在SQL Service中启用Active Directory MSI认证方式,需要执行两个步骤: 1)在Auzre Spring Cloud
阅读全文
摘要:问题描述 使用 azure-spring-boot-starter-storage 来上传文件到 Storage Blob中,并把应用部署到Azure 中国区的Spring Cloud服务后,调用上传文件的接口报错: java.net.UnknownHostException: xxxxxxxx.b
阅读全文
摘要:Azure Spring Cloud 是什么? 借助 Azure Spring Cloud,可以轻松地将 Spring Boot 微服务应用程序部署到 Azure,不需更改任何代码。 该服务管理 Spring Cloud 应用程序的基础结构,因此开发人员可以专注于其代码。 Azure Spring
阅读全文
摘要:问题描述 使用Azure CLI指令部署Azure Spring Cloud项目失败,错误消息提示没有安装“azure.storage.blob”模块 问题分析 根据错误提示,是python的模块中没有安装“azure.storage.blob”模块。所以需要先通过python安装此模块后,即可成功
阅读全文