上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页
摘要: Timeout Exception: Expiring 18 record(s) for xxxxxxx: 79823 ms has passed since last append 阅读全文
posted @ 2022-05-27 20:38 编码者卢布 阅读(1704) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Storage Account的共享访问签名(Share Access Signature) 生成的终结点,连接时遇见 The Azure Storage endpoint url is malformed (Azure 存储终结点 URL 格式不正确) Storage A 阅读全文
posted @ 2022-05-26 19:53 编码者卢布 阅读(522) 评论(0) 推荐(0)
摘要: 问题描述 在App Service for Linux环境中,部署Django应用,访问应用页面时候,出现css、js等静态资源文件加载失败问题。 浏览器Console提示的错误消息为: Refused to apply style from '<URL>' because its MIME typ 阅读全文
posted @ 2022-05-21 16:42 编码者卢布 阅读(230) 评论(0) 推荐(0)
摘要: 问题描述 在使用App Service服务中,当多实例中,其中一个实例出现高CPU,高Memory的情况,为了尽可能少的影响正在运行的应用,需要单独重启某一个实例的情况下,如何手动操作呢? 问题解答 第一步:需要通过App Service Metrics找出是那些实例存在 High CPU 或 Hi 阅读全文
posted @ 2022-05-21 11:01 编码者卢布 阅读(153) 评论(0) 推荐(0)
摘要: 问题描述 在App Service的门户上,可以通过“Change App Service Plan”来改变当前App Service所属的应用服务计划(App Service Plan),在页面中,它会自动列举出来当前订阅下,同一个Resource Group的App Service Plan。 阅读全文
posted @ 2022-05-19 20:28 编码者卢布 阅读(105) 评论(0) 推荐(1)
摘要: 问题描述 当本地环境中安装.NET 6.0后,用指令 dotnet new web 或 dotnet new console 生成的项目,使用的都是新模板生成的Program.cs文件。里面去掉了namespace, class 以及main函数的定义。使得代码更简洁。 生成的 Program.cs 阅读全文
posted @ 2022-05-18 18:38 编码者卢布 阅读(302) 评论(3) 推荐(2)
摘要: 问题描述 使用Python SDK来获取Azure上的各种资源的Metrics的名称以及Metrics Data的示例 问题解答 通过 azure-monitor-query ,可以创建一个 metrics client,调用 client.list_metric_definitions 来获取Me 阅读全文
posted @ 2022-05-14 11:42 编码者卢布 阅读(369) 评论(0) 推荐(1)
摘要: 问题描述 在Azure Spring Cloud中,通过ActiveDirectoryMSI方式来连接到SQL Service,需要如何配置呢? 问题分析 在SQL Service中启用Active Directory MSI认证方式,需要执行两个步骤: 1)在Auzre Spring Cloud 阅读全文
posted @ 2022-05-13 20:17 编码者卢布 阅读(84) 评论(0) 推荐(1)
摘要: 问题描述 Python连接Azure Redis, 使用redis.ConnectionPool 出现 "ConnectionResetError: [Errno 104] Connection reset by peer" "ConnectionResetError: [WinError 1005 阅读全文
posted @ 2022-05-11 20:44 编码者卢布 阅读(1251) 评论(0) 推荐(1)
摘要: 问题描述 在博文 “【Azure Developer】使用 Powershell az account get-access-token 命令获取Access Token (使用用户名+密码)” 和 “【Azure Developer】使用 Microsoft Authentication Libr 阅读全文
posted @ 2022-05-09 19:58 编码者卢布 阅读(352) 评论(0) 推荐(0)
摘要: 一道谜题 在观看《美丽的数学》一书中,在120页中有一道谜题: 数字145被称为一个阶乘和数, 因为它具有以下有趣的属性,如果我们将它的各位数字的阶乘相加,会得到该数字本身 1! +4! +5! = 1 + 24 + 120 = 145 数字1和2也是阶乘和数,但0不是。还剩下唯一的一个阶乘和数。看 阅读全文
posted @ 2022-05-08 10:32 编码者卢布 阅读(214) 评论(0) 推荐(1)
摘要: 问题描述 在上篇的文章中,我们使用了JAVA SDK,根据用户名和密码来获取Azure AD的Access Token,这节,我们将使用Powershell az 命令来获取Access Token。 前文回顾: MASL4J 获取 Token:https://www.cnblogs.com/lul 阅读全文
posted @ 2022-05-06 19:35 编码者卢布 阅读(383) 评论(0) 推荐(1)
摘要: 问题描述 在上一篇博文《【Azure Developer】使用 adal4j(Azure Active Directory authentication library for Java)如何来获取Token呢 (通过用户名和密码方式获取Access Token)》中,介绍了使用ADAL4J SDK 阅读全文
posted @ 2022-05-05 20:25 编码者卢布 阅读(1406) 评论(1) 推荐(1)
摘要: 问题描述 使用中国区的Azure,在获取Token时候,参考了 adal4j的代码,在官方文档中,发现了如下的片段代码: ExecutorService service = Executors.newFixedThreadPool(1); AuthenticationContext context 阅读全文
posted @ 2022-05-01 10:03 编码者卢布 阅读(823) 评论(0) 推荐(1)
摘要: 问题描述 使用Azure Notification Hub + Baidu 推送遇见的两次报错为: 1. {"request_id":2921358089,"error_code":30602,"error_msg":"request params not valid. parameter user 阅读全文
posted @ 2022-04-30 14:16 编码者卢布 阅读(178) 评论(0) 推荐(0)
摘要: 问题描述 部署在App Service for Linux环境中的Web App。出现了字体文件缺失的问题,页面显示本来时中文的地方,区别变为方框占位。 问题分析 在应用中,通常涉及到显示问题的有两个方面, 一是乱码:”����Ҫ�¨²�ѧϰ������“ , ”由月è¦�好好学 阅读全文
posted @ 2022-04-28 17:43 编码者卢布 阅读(583) 评论(0) 推荐(1)
摘要: 问题描述 App Service运行过程中,突然出现了 There is not enough space on the disk : 'D:localTempASPNETCORE_xxxxxx-xxxx-xxxx-xxxx-bb51xxxxxxxx.tmp' 问题分析 在云中的App Servic 阅读全文
posted @ 2022-04-27 19:40 编码者卢布 阅读(207) 评论(0) 推荐(1)
摘要: 问题描述 当一个资源从Azure中删除后,是否有地方可以查看到这些操作的记录呢?如操作人,操作时间等。 问题解答 可以的。通过 Azure订阅页面的活动日志,可以查看所有对订阅下资源的操作记录,包含Delete操作的资源。 登录Portal,选择“订阅”。入口:https://portal.azur 阅读全文
posted @ 2022-04-26 16:47 编码者卢布 阅读(142) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Alert 门户中,可以列举出所有Azure资源的Alert rule信息,如下图: 如果像通过Python SDK来获取所有的Alert Rule,有什么可以参考的代码吗? 问题分析 由于Azure Alert门户是把所有的资源中配置了Alert Rule都进行了汇总显示, 阅读全文
posted @ 2022-04-24 21:04 编码者卢布 阅读(127) 评论(1) 推荐(0)
摘要: 问题描述 通过PowerShell 连接到Microsoft Graph 中国区Azure,一直出现AADSTS700016错误, 消息显示 the specific application was not installed in your tenant. 解决办法 根据弹出框中的错误提示, 这是 阅读全文
posted @ 2022-04-23 14:23 编码者卢布 阅读(1299) 评论(0) 推荐(2)
摘要: 问题描述 编写Powershell Function,登录到China Azure并获取Azure AD User信息,但是发现遇见了 [Error] ERROR: ManagedIdentityCredential authentication failed: An unexpected erro 阅读全文
posted @ 2022-04-21 20:15 编码者卢布 阅读(712) 评论(0) 推荐(2)
摘要: 问题描述 在使用CURL通过REST API获取Azure Key Vaualt的Secrets值,提示Missing Token, 问如何来生成正确的Token呢? # curl 命令 curl -k --request GET -H "Content-type: application/json 阅读全文
posted @ 2022-04-20 21:14 编码者卢布 阅读(529) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Event Hub的Java SDK 作为消费端消费消息,集成在项目中后,发现大量日志产生,并且都是Debug 级别日志,如何来关闭这部分日志输出呢? import com.azure.messaging.eventhubs.EventHubClientBuilder; i 阅读全文
posted @ 2022-04-19 19:51 编码者卢布 阅读(209) 评论(0) 推荐(0)
摘要: 问题描述 怎样关闭Azure Service Fabric服务呢?在Azure门户上没有找到 Stop 按钮。 问题回答 Azure Service Fabric 默认是无法停止的,可以删除。 虽然可以在VMSS(运行Service Fabric的虚拟机集群中停止所有的VM,但是这样做很容易会导致A 阅读全文
posted @ 2022-04-18 20:18 编码者卢布 阅读(117) 评论(0) 推荐(0)
摘要: 问题描述 Azure Function在执行Function的时候,如果失败了,是否可以重试呢? 问题解答 Function app默认是不开启重试的,但是可以修改 host.json 文件来定义重试策略(retry),具体内容如下: { "retry": { "strategy": "fixedD 阅读全文
posted @ 2022-04-15 19:27 编码者卢布 阅读(150) 评论(0) 推荐(0)
摘要: 问题描述 为APIM添加AAD Group时候,等待很长很长的时间,结果添加失败。错误消息为: Write Groups ValidationError :Failed to query Azure Active Directory graph due to error: An error occu 阅读全文
posted @ 2022-04-13 19:25 编码者卢布 阅读(207) 评论(0) 推荐(0)
摘要: 问题描述 在Spring Boot应用中集成Event Hub,发送消息时指定Partition Key,日志中发现异常: 应用使用Event Hub版本为 <dependency> <groupId>com.azure.spring</groupId> <artifactId>azure-spri 阅读全文
posted @ 2022-04-11 20:09 编码者卢布 阅读(301) 评论(0) 推荐(0)
摘要: 问题描述 在Azure中国区上面创建一个云服务(外延支持)后,根据官方文档(在云服务(外延支持)中应用 Azure 诊断扩展: https://docs.azure.cn/zh-cn/cloud-services-extended-support/enable-wad),启用了WAD扩展来收集实例的 阅读全文
posted @ 2022-04-08 19:19 编码者卢布 阅读(314) 评论(0) 推荐(0)
摘要: 问题描述 Service Fabric 在升级 Application 过程中,发布了新的代码后,启动应用中遇见了如下错误: Error message: System.Hosting' reported Error for property 'CodePackageActivation:Code: 阅读全文
posted @ 2022-04-03 17:51 编码者卢布 阅读(241) 评论(0) 推荐(0)
摘要: 问题描述 为App Service配置了应用服务网关(Application Gateway),并且为Application Gateway配置了自定义域名,通过浏览器访问时,出现域名跳转问题,由自定义域名跳转到App Service的默认域名。 问题解答 应用服务是多租户服务,因此它会使用请求中的 阅读全文
posted @ 2022-04-01 21:02 编码者卢布 阅读(323) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页