上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 34 下一页
摘要: 问题描述 .Net应用程序部署在App Service for Windows环境中,已经根据需求把Platform的位数由32 bit 修改位 64 bit。 但是应用程序在运行一段时间后,一直抛出Out Of Memory异常。 System.OutOfMemoryException: at S 阅读全文
posted @ 2024-11-14 19:58 编码者卢布 阅读(82) 评论(0) 推荐(0)
摘要: 根据以上测验,当使用App Service内存没有达到预期的值,且应用异常日志出现OutOfMemory时,就需要检查Platform的设置是否位64bit。 阅读全文
posted @ 2024-11-13 21:19 编码者卢布 阅读(158) 评论(1) 推荐(0)
摘要: 问题描述 把NodeJS的ChatBot代码部署到App Service环境中,通过VS Code直接部署,显示部署成功。但是通过URL访问时候,却是 :( Application Error 。 问题解答 App Service遇见Application Error,第一步,查看日志。 发现启动时 阅读全文
posted @ 2024-11-12 21:24 编码者卢布 阅读(96) 评论(1) 推荐(0)
摘要: Error: Cannot find module 'node:crypto' 阅读全文
posted @ 2024-11-11 20:04 编码者卢布 阅读(119) 评论(0) 推荐(0)
摘要: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)). 阅读全文
posted @ 2024-11-05 20:15 编码者卢布 阅读(231) 评论(2) 推荐(0)
摘要: 问题描述 Web App取消公网访问后,只允许特定IP能访问Web App。需要写一下段PowerShell脚本,批量添加IP到Web App的允许访问IP列表里! 问题解答 参考App Service关于设置访问限制的文档 ( https://docs.azure.cn/zh-cn/app-ser 阅读全文
posted @ 2024-11-04 20:04 编码者卢布 阅读(70) 评论(0) 推荐(0)
摘要: 问题描述 在VS Code中创建的Java Maven项目,在进行项目打包时,遇见 BUILD FAILURE \lbimage> mvn -clean package [INFO] Scanning for projects... [INFO] [INFO] < org.yourcompany.y 阅读全文
posted @ 2024-11-01 19:42 编码者卢布 阅读(127) 评论(2) 推荐(0)
摘要: 问题描述 使用Python编写了ChatBot,在部署到App Service,却无法启动。 通过高级工具(Kudu站点:https://<your site name>.scm.chinacloudsites.cn/newui)查看日志显示:Failed to find attribute 'ap 阅读全文
posted @ 2024-10-29 20:37 编码者卢布 阅读(242) 评论(0) 推荐(0)
摘要: 问题描述 通过VS Code发布Python App Service的时候,遇见了发布失败错误: The deployment failed with error: fatal: not a git repository (or any of the parent directories): .gi 阅读全文
posted @ 2024-10-28 21:15 编码者卢布 阅读(316) 评论(0) 推荐(0)
摘要: 问题描述 本地使用Python 编写的Function App,发布到Azure Function后,出现 _cffi_backend module 无法找到的报错。 ERROR: Error: No module named '_cffi_backend', Cannot find module. 阅读全文
posted @ 2024-10-24 20:07 编码者卢布 阅读(268) 评论(0) 推荐(0)
摘要: const logsQueryClient = new LogsQueryClient(credential , { endpoint: "https://api.loganalytics.azure.cn/v1" ,audience: "https://api.loganalytics.azure.cn", }); 阅读全文
posted @ 2024-10-23 19:34 编码者卢布 阅读(70) 评论(0) 推荐(0)
摘要: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. 阅读全文
posted @ 2024-10-22 19:40 编码者卢布 阅读(221) 评论(0) 推荐(0)
摘要: 问题描述 API调用过程中,一旦遇到数据量大的场景下,返回504 超时的错误。 注意: 请求首先达到Application Gateway, 然后转发到后端的App Service服务中。 问题解答 这可能与应用程序网关的“响应缓存区”配置有关: 应用程序网关的响应缓冲区可以收集后端服务器发送的全部 阅读全文
posted @ 2024-10-16 19:55 编码者卢布 阅读(136) 评论(0) 推荐(0)
摘要: 问题描述 com.azure:azure-identity jar包版本从1.2.0 升级到1.12.2 版本之后报错,错误信息如下: An attempt was made to call a method that does not exist. The attempt was made fro 阅读全文
posted @ 2024-10-15 20:17 编码者卢布 阅读(87) 评论(0) 推荐(0)
摘要: 使用Key Vault Secret添加.CER证书到Cloud Service Extended Support中 阅读全文
posted @ 2024-10-14 20:29 编码者卢布 阅读(176) 评论(0) 推荐(0)
摘要: 问题描述 当根据Cloud Service (Extended Support) 文档更新证书 ( https://docs.azure.cn/zh-cn/cloud-services-extended-support/certificates-and-key-vault )时,如果遇见旧的证书(如 阅读全文
posted @ 2024-10-12 20:19 编码者卢布 阅读(154) 评论(0) 推荐(0)
摘要: 问题描述 遇见一个诡异的现象。在Event Hub 事件中心中删除了一个Event Hub后,会立马被重建,多次删除发现都是同样的问题。 这是什么情况呢? 问题解答 经过对Event Hub调查发现,使用了Kafka客户端持续的发送/消费事件。而Kafka客户端自带属性auto.create.top 阅读全文
posted @ 2024-10-10 19:58 编码者卢布 阅读(52) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Entra ID中,需要导出一个Application 下的用户信息, 包含User的创建时间。 问题解答 可以使用PowerShell 脚本来实现, 只需要执行如下脚本: Connect-AzureAD -AzureEnvironmentName AzureChinaClo 阅读全文
posted @ 2024-10-09 21:47 编码者卢布 阅读(113) 评论(0) 推荐(0)
摘要: 问题描述 创建Azure Cloud Service 资源,遇见资源操作完成时的终端预配状态为Failed的信息。 创建失败,创建的错误日志截图如下: 详细的错误信息为: { "code":"DeploymentFailed", "message":"At least one resource de 阅读全文
posted @ 2024-10-08 19:30 编码者卢布 阅读(74) 评论(0) 推荐(0)
摘要: 问题描述 在使用Azure Event Hub的过程中,需要监控消费端是否正常消费数据?而常规的指标只有 Incoming Message, Outgoing Message,是否指标能表明当前Event Hub消费滞后,即 Incoming 数量远远大于 Outgoing呢? IncomingMe 阅读全文
posted @ 2024-09-25 20:50 编码者卢布 阅读(80) 评论(0) 推荐(0)
摘要: 问题描述 在之前的博文 “ 【Azure Policy】添加策略用于审计Azure 网络安全组(NSG)规则 -- 只能特定的IP地址允许3389/22端口访问 ” 中,介绍了对固定IP地址,端口的审计规则。 只是在实际使用中,发现端口和IP都可以输入多个值,并且以“,”号分割,最终在Azure的N 阅读全文
posted @ 2024-09-24 20:22 编码者卢布 阅读(61) 评论(0) 推荐(0)
摘要: Collect data from this resource for analytics Data collection is required for detailed monitoring, custom dashboards, and more. A Log Analytics workspace is also required for the data storage. You can change the workspace destination at any time in Diagnostic settings. How do I use Log Analytics? 阅读全文
posted @ 2024-09-19 19:31 编码者卢布 阅读(85) 评论(0) 推荐(0)
摘要: 问题描述 需要通过Python SDK获取Azure服务的一些通知信息,如:K8S版本需要更新到指定的版本,Azure服务的维护通知,服务处于不健康状态时的通知,及相关的操作建议等内容。 问题解答 Azure Resource Health 是 Azure 提供的一项服务,旨在帮助用户了解其资源的健 阅读全文
posted @ 2024-09-16 21:30 编码者卢布 阅读(61) 评论(0) 推荐(0)
摘要: 问题描述 在Azure的门户页面上,因为Service Bus Topic中有很多dead-lettered message,而这些消息占用了大量的存储空间,通过门户上的Service Bus Explorer每次只能消费一条消息。 虽然可以通过修改代码来指定消费私信队列中消息,但是需要修改代码,需 阅读全文
posted @ 2024-09-12 19:46 编码者卢布 阅读(83) 评论(0) 推荐(0)
摘要: 问题描述 在使用Cloud Service服务时,发现服务的CPU占用很高,在业务请求并不大的情况下,需要直到到底是什么进程占用了大量的CPU资源,已经如何获取IIS进程(w3wp.exe)的DUMP文件? 问题解答 一:收集云服务中CPU的性能数据 远程登录(RDP)到云服务的实例上,使用管理员身 阅读全文
posted @ 2024-09-11 19:50 编码者卢布 阅读(85) 评论(0) 推荐(0)
摘要: 问题描述 在使用Terraform部署Service Bus时候,遇见了如下报错: Error: Error making Read request on Azure ServiceBus Topic Authorization Rule : servicebus.TopicsClient#GetA 阅读全文
posted @ 2024-09-10 19:49 编码者卢布 阅读(61) 评论(1) 推荐(0)
摘要: 问题描述 在上一次的博文中,我们提到了使用“ 【Azure Logic App】使用Event Hub 连接器配置 Active Directory OAuth 认证无法成功连接到中国区Event Hub ” 无法成功连接到Event Hub,报错 “ 2024-08-17T08:40:30Z [E 阅读全文
posted @ 2024-09-09 19:51 编码者卢布 阅读(60) 评论(0) 推荐(0)
摘要: AI Code 时代早已开启,自己才行动。上手一试,让人惊叹。借助这感叹的情绪,把今天操作Cursor的步骤记录下来,也分享给大家。 推荐大家上手一试,让你改变! 准备阶段 下载 Cursor(https://www.cursor.com/),点击右上角“Download”下载exe安装文件。 安装 阅读全文
posted @ 2024-09-07 17:36 编码者卢布 阅读(887) 评论(0) 推荐(1)
摘要: 问题描述 使用Azure Policy服务,对公司内部全部的订阅下的Activity Log,都需要配置导出到Log A Workspace中。 以下Policy规则可以实现此目的。 Policy内容说明 在Policy Rule部分中,选择资源的类型为 "Microsoft.Resources/s 阅读全文
posted @ 2024-09-05 20:03 编码者卢布 阅读(78) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Policy,对订阅下的全部Activity Log配置Diagnostic Setting,要求: 在Subscription或Management Group级别,针对未启用Activity Log功能的订阅,启用Activity Log功能; 对已经启用了Activi 阅读全文
posted @ 2024-09-04 19:36 编码者卢布 阅读(148) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 34 下一页