上一页 1 2 3 4 5 6 7 8 9 ··· 32 下一页
摘要: 问题描述 使用Azure Batch Account服务(批处理),所访问的资源受防火墙保护。 现在需要把Batch Account服务池中的实例地址IP加入到防火墙白名单中,但是由于Batch Account被没有指定的出口访问IP地址,所以需要把Batch Account服务的全部IP地址加入到 阅读全文
posted @ 2024-12-17 21:55 路边两盏灯 阅读(22) 评论(0) 推荐(0)
摘要: 问题描述 在测试Application Insights的每日上限(Daily Cap)功能,想通过最简单的 curl 脚本来循环发送请求,验证日志摄入量大道设置的300MB (0.03GB)后,是否可以通过调大Daily Cap限制值马上恢复数据的摄入! 问题解答 一个简单的 CMD 脚本示例,它 阅读全文
posted @ 2024-12-11 20:11 路边两盏灯 阅读(128) 评论(0) 推荐(0)
摘要: 问题描述 Azure Function 从.NET6 升级到 .NET8 后 Function出现运行时版本错误 问题解答 因为Azure Function在使用.NET6时,默认使用的为进程内模型(简单来讲:进程内模型就是应用运行在w3wp.exe 中,而独立进程模型是单独的 dotnet.exe 阅读全文
posted @ 2024-12-09 21:06 路边两盏灯 阅读(114) 评论(0) 推荐(0)
摘要: 问题描述 在Azure门户(Create new user - Microsoft Azure 由世纪互联运营)中添加新用户,如果想通过代码来实现,有没有示例代码参考呢? 问题解答 示例代码 from azure.identity import AzureAuthorityHosts from az 阅读全文
posted @ 2024-12-03 20:26 路边两盏灯 阅读(63) 评论(0) 推荐(0)
摘要: ADLS "This request is not authorized to perform this operation using this permission" 403 阅读全文
posted @ 2024-12-02 20:44 路边两盏灯 阅读(30) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure bicep对多个ServicePrinciple 进行role assignment分配 步骤如下 第一步:定义传参,里面包括object ID和role的一个map如: param servicePrincipals array = [ { objectId: 'serv 阅读全文
posted @ 2024-11-26 22:16 路边两盏灯 阅读(33) 评论(0) 推荐(0)
摘要: “'IDX10503: Signature validation failed. Keys tried: 'Microsoft.IdentityModel.Tokens.X509SecurityKey , KeyId: xxxxxxxxxxxxxxxxxxx” 阅读全文
posted @ 2024-11-25 20:02 路边两盏灯 阅读(212) 评论(0) 推荐(0)
摘要: An TLS 1.2 connection request was received from a remote client application, but non of the cipher suites supported by the client application are supported by the server. The connection request has failed. 从远程客户端应用程序收到 TLS 1.2 连接请求,但服务器不支持客户端应用程序支持的任何密码套件。连接请求失败。 阅读全文
posted @ 2024-11-24 11:58 路边两盏灯 阅读(362) 评论(0) 推荐(0)
摘要: 通常,在生产环境中,为了保证系统环境的安全和纯粹,是不建议安装其它软件或排查工具(如果可以安装,也是需要走审批流程)。 本文将介绍一种,不用安装Wireshark / tcpdump 等工具,使用Windows系统自带的 netsh trace 命令来获取网络包的步骤: 阅读全文
posted @ 2024-11-23 10:17 路边两盏灯 阅读(94) 评论(0) 推荐(0)
摘要: 查看Redis状态,没有任何异常,服务没有更新,Service Load, CPU, Memory, Connect等指标均正常。在排除Redis端问题后,转向了AKS中。 开始调查AKS的网络状态。最终发现每次Redis客户端出现超时问题时,几乎都对应了AKS NAT Gateway的更新事件,而Redis服务端没有任何异常。因此,超时问题很可能是由于NAT Gateway更新事件导致TCP连接被重置。 阅读全文
posted @ 2024-11-22 21:24 路边两盏灯 阅读(50) 评论(0) 推荐(0)
摘要: 问题描述 通过FTP的方式,把本地能正常运行的Python Function文件上传到云上后,无法加载函数列表问题。 1:上传 function_app.py,requirements.txt文件到 wwwroot 目录中 2:在Azure Function App的Overview页面,无法显示函 阅读全文
posted @ 2024-11-21 21:10 路边两盏灯 阅读(143) 评论(0) 推荐(0)
摘要: terminationGracePeriodSeconds : 这个参数的定义是从pod收到terminated signal到最终shutdown的最大时间,这段时间是给pod中的application 缓冲时间用来处理链接关闭,应用清理缓存的;并不是从idel 到 pod被shutdown之间的时间;且是最大时间,意味着如果application 已经gracefully shutdown,POD可能被提前terminated. 阅读全文
posted @ 2024-11-18 20:52 路边两盏灯 阅读(249) 评论(1) 推荐(0)
摘要: 对于Redis的Server Load指标,每秒创建连接数的并发值,是否有建议呢? 【答】:为了避免将缓存推到 100% 服务器负载,建议将连接创建速率保持在每秒 30 个以下。 阅读全文
posted @ 2024-11-17 20:14 路边两盏灯 阅读(36) 评论(0) 推荐(0)
摘要: 问题描述 部署.NET 应用到App Service中,应用中调用Storage Account的SDK上传文件到Blob中。只是比较高频率在UploadAsync方法中遇见:OutOfMemoryException 异常信息 ERROR Microsoft.AspNetCore.Server.Ke 阅读全文
posted @ 2024-11-16 11:32 路边两盏灯 阅读(45) 评论(0) 推荐(0)
摘要: 问题描述 当 OpenSSH 的版本低于 9.8p1,有漏洞风险: A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can 阅读全文
posted @ 2024-11-15 19:23 路边两盏灯 阅读(53) 评论(0) 推荐(1)
摘要: 问题描述 .Net应用程序部署在App Service for Windows环境中,已经根据需求把Platform的位数由32 bit 修改位 64 bit。 但是应用程序在运行一段时间后,一直抛出Out Of Memory异常。 System.OutOfMemoryException: at S 阅读全文
posted @ 2024-11-14 19:58 路边两盏灯 阅读(59) 评论(0) 推荐(0)
摘要: 根据以上测验,当使用App Service内存没有达到预期的值,且应用异常日志出现OutOfMemory时,就需要检查Platform的设置是否位64bit。 阅读全文
posted @ 2024-11-13 21:19 路边两盏灯 阅读(115) 评论(1) 推荐(0)
摘要: 问题描述 把NodeJS的ChatBot代码部署到App Service环境中,通过VS Code直接部署,显示部署成功。但是通过URL访问时候,却是 :( Application Error 。 问题解答 App Service遇见Application Error,第一步,查看日志。 发现启动时 阅读全文
posted @ 2024-11-12 21:24 路边两盏灯 阅读(64) 评论(1) 推荐(0)
摘要: Error: Cannot find module 'node:crypto' 阅读全文
posted @ 2024-11-11 20:04 路边两盏灯 阅读(86) 评论(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 路边两盏灯 阅读(202) 评论(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 路边两盏灯 阅读(37) 评论(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 路边两盏灯 阅读(94) 评论(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 路边两盏灯 阅读(204) 评论(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 路边两盏灯 阅读(295) 评论(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 路边两盏灯 阅读(227) 评论(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 路边两盏灯 阅读(47) 评论(0) 推荐(0)
摘要: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. 阅读全文
posted @ 2024-10-22 19:40 路边两盏灯 阅读(152) 评论(0) 推荐(0)
摘要: 问题描述 API调用过程中,一旦遇到数据量大的场景下,返回504 超时的错误。 注意: 请求首先达到Application Gateway, 然后转发到后端的App Service服务中。 问题解答 这可能与应用程序网关的“响应缓存区”配置有关: 应用程序网关的响应缓冲区可以收集后端服务器发送的全部 阅读全文
posted @ 2024-10-16 19:55 路边两盏灯 阅读(91) 评论(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 路边两盏灯 阅读(61) 评论(0) 推荐(0)
摘要: 使用Key Vault Secret添加.CER证书到Cloud Service Extended Support中 阅读全文
posted @ 2024-10-14 20:29 路边两盏灯 阅读(133) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 32 下一页