上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 32 下一页
摘要: 问题描述 如果在使用.NET代码对AAD JWT Token进行验证时候,如果遇见无法访问 Unable to obtain configuration from: 'https://login.partner.microsoftonline.cn/<common or your tenant id 阅读全文
posted @ 2024-06-14 21:02 编码者卢布 阅读(42) 评论(0) 推荐(0)
摘要: 问题描述 在使用Service Fabric服务后,想删除资源。却遇见无法删除的问题。在查看错误消息中,看见把中文的资源组名称转换为乱码了,十分怀疑是中文字符无法识别的原因。 日志中的资源信息: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/ 阅读全文
posted @ 2024-06-12 20:49 编码者卢布 阅读(65) 评论(0) 推荐(0)
摘要: 问题描述 在部署Azure Spring App应用后,访问应用,遇见了502 Bad Gateway Nginx。 问题解答 502 Bad Gateway, 并且由Nginx返回。而自己的应用中,并没有定义Nginx相关内容,所以需要查看问题是否出现在Azure Spring App服务的设置上 阅读全文
posted @ 2024-06-11 19:47 编码者卢布 阅读(63) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Service Bus SDK, 从生产端发送消息进入Service Bus中,频繁遇见如下错误,不知消息是否有成功发送到Service Bus中。 发送代码 public void sendMessage(String msg) { // create a Service 阅读全文
posted @ 2024-06-06 22:13 编码者卢布 阅读(45) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Identity,根据指定的客户端凭据获取Access Token中,先后遇见了 “ValueError: "get_token" requires at least one scope” “ClientSecretCredential.get_token failed: 阅读全文
posted @ 2024-06-03 19:33 编码者卢布 阅读(122) 评论(0) 推荐(0)
摘要: 在前一篇文章中,我们是把.NET 8应用读取SSL证书(X509)示例部署在App Service Windows环境中,那么如果部署在Linux环境,以及Linux Container中呢? 根据前文中的第一种方法,直接在把证书文件包含在源文件中,通过相对路径读取证书文件的方式,经测试,可以正常工 阅读全文
posted @ 2024-06-01 09:25 编码者卢布 阅读(178) 评论(0) 推荐(0)
摘要: 问题描述 使用.NET 8开发应用,部署到Azure App Service后,需要直接访问一些静态图片/视频文件,但是直接通过相对路径获取文件时,遇见404错误........ 问题解答 在网上搜索“.NET应用读取静态文件”关键字,找到了问题原因。在IIS部署应用时代(.NET Core之前), 阅读全文
posted @ 2024-05-29 20:31 编码者卢布 阅读(181) 评论(0) 推荐(0)
摘要: 在使用App Service服务部署业务应用,因为有些第三方的接口需要调用者携带TLS/SSL证书(X509 Certificate),在官方文档中介绍了两种方式在代码中使用证书: 1) 直接使用证书文件路径加载证书 new X509Certificate2 2) 从系统的证书库中通过指纹加载证书 certStore.Certificates.Find 本文中,将分别通过代码来验证以上两种方式. 阅读全文
posted @ 2024-05-28 22:20 编码者卢布 阅读(250) 评论(0) 推荐(1)
摘要: Message:Encountered error trying to discover new reference data snapshot. Error: The job hasencountered error from Reference Data storage. Error encountered while storingreference data snapshot into the storage account. 阅读全文
posted @ 2024-05-27 20:19 编码者卢布 阅读(42) 评论(0) 推荐(0)
摘要: The policy definition 'xxxxxxx' rule is invalid. The resource type 'storageAccounts/blobServices/containers' referenced by the 'field' property 'Microsoft.Storage/storageAccounts/blobServices/containers/publicAccess' of the policy rule doesn't exist under provider 'Microsoft.Storage'. 阅读全文
posted @ 2024-05-22 20:09 编码者卢布 阅读(45) 评论(1) 推荐(0)
摘要: 问题描述 Azure APIM服务日志中发现 java.lang.RuntimeException 错误,在进一步通过Application Insights采集的错误信息日志,发现真实的请求错误为:‘The remote name could not be resolved 'xxxx.xxx.x 阅读全文
posted @ 2024-05-21 18:04 编码者卢布 阅读(76) 评论(0) 推荐(0)
摘要: 问题描述 介绍一段Python脚本,可以在微软云中国区使用。 用于计算Azure Storage Account中Container中Blob类型文件的数量和大小,脚本中允许按照容器,层(热/冷/归档),前缀,软删除/非软删除来计算数量和容量大小, 默认使用的时间为以Blob的最后修改时间作为参考。 阅读全文
posted @ 2024-05-20 19:21 编码者卢布 阅读(166) 评论(0) 推荐(0)
摘要: 问题描述 对于Azure资源进行配置操作,门户上可以正常操作。但是想通过Python代码实现,这样可以批量处理。那么在没有SDK的情况下,是否有快速办法呢? 问题解答 当然可以,Azure Portal上操作的所有资源都是通过REST API来实现的,所以只要找到正确的API,就可以通过浏览器中抓取 阅读全文
posted @ 2024-05-15 20:33 编码者卢布 阅读(167) 评论(0) 推荐(1)
摘要: 问题描述 把应用部署到Azure Container Apps(容器应用),可以在Container App Environemnt级别设置诊断日志,把日志收集到Event Hub / Log Analystic Workspace / Storage Account中。 虽然,这样能把日志导出到目 阅读全文
posted @ 2024-05-14 19:57 编码者卢布 阅读(49) 评论(0) 推荐(0)
摘要: > git push azure master error: src refspec master does not match any error: failed to push some refs to 'https://xxxxxxxxx.scm.chinacloudsites.cn:443/xxxxxxxxx.git' 阅读全文
posted @ 2024-05-13 19:53 编码者卢布 阅读(109) 评论(0) 推荐(0)
摘要: 问题描述 作为Azure资源管理人员,对每一种资源操作时,都需要考虑权限设置。否则,会遇见类似如下错误: The client '***************' with object id '********-****-****-****-************' does not have 阅读全文
posted @ 2024-05-10 20:56 编码者卢布 阅读(43) 评论(0) 推荐(0)
摘要: 问题描述 测试标准版本的Logic App应用,消费Service Bus中的消息。当Service Bus中堆积了大量消息的情况下,Workflow依旧只在一个实例上运行。 而Logic App的自动缩放设置的最大为20个,为什么没有自动缩放呢? 问题解答 因为这个Standard Logic A 阅读全文
posted @ 2024-05-09 20:00 编码者卢布 阅读(34) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Function中,部署了定时触发器函数(Timer Trigger),却无法按时触发。 问题解答 登录Function的Kudu站点,查看 logfiles中 application/function/host目录下的日志文件,发现错误消息: Singleton lock 阅读全文
posted @ 2024-05-08 20:20 编码者卢布 阅读(89) 评论(0) 推荐(0)
摘要: 0)[Information] Opened local gRPC endpoint: http://localhost:4001. 1)Failed to open local port 4001. This was attempt #1 to open a local port.. 2)Opened local gRPC endpoint: http://localhost:30721 阅读全文
posted @ 2024-05-07 20:01 编码者卢布 阅读(95) 评论(0) 推荐(0)
摘要: 问题描述 VS Code中,已经安装了Azure Function插件,在创建C# Function时候遇见 No .NET worker runtimes found. 如下图: 问题解答 最开始看见这个错误,还真的以为是自己的 Function runtime 没有安装,于是在 VS Code 阅读全文
posted @ 2024-05-06 21:00 编码者卢布 阅读(56) 评论(0) 推荐(0)
摘要: 问题描述 对于Standard Logic App,当使用HTTP请求来触发一个Workflow时,默认固定不变的SAS签名认证,因并且随着URL传递,存在泄露风险。 是否可以用Header中使用Bearer Token来进行验证呢? 问题解答 可以的,为Standard Logic App开启Ea 阅读全文
posted @ 2024-04-29 21:09 编码者卢布 阅读(82) 评论(0) 推荐(0)
摘要: 问题描述 创建Event Hub服务后,标准版的定价层功能中有Schema Registry的功能,但是根据官方文档,在门户中确无法创建。 问题解答 什么是 Azure 架构注册表?Azure 架构注册表是事件中心的一项功能,它为事件驱动的应用程序和以消息为中心的应用程序的架构提供一个中心存储库。 阅读全文
posted @ 2024-04-28 18:33 编码者卢布 阅读(53) 评论(0) 推荐(0)
摘要: 问题描述 使用Service Bus SDK编写消费端应用时,遇见了错误信息: SDK版本 <dependency> <groupId>com.azure</groupId> <artifactId>azure-messaging-eventhubs</artifactId> <version>5. 阅读全文
posted @ 2024-04-25 20:51 编码者卢布 阅读(52) 评论(0) 推荐(0)
摘要: 问题描述 使用中国区标准版本逻辑应用(Standard Logic App),常规情况下,可以正常查看历史执行中的输入/输出日志,方便排查。 但是,现在居然无法查看,这个情况有什么解决之道呢? 问题解答 Azure 门户报错调查第一规则:打开浏览器开发者模式,查看页面中所发送的网络请求,检查是否有请 阅读全文
posted @ 2024-04-24 20:51 编码者卢布 阅读(59) 评论(0) 推荐(0)
摘要: 问题描述 在使用Azure Redis服务时,发现指标 Connected Clinents 和 Connections Created/Closed Per Second 值之间关系无法理解。并不能简单的根据 Connected Clinents 的变化匹配上 Connections Create 阅读全文
posted @ 2024-04-23 21:40 编码者卢布 阅读(39) 评论(0) 推荐(0)
摘要: 问题描述 mandatoryRetentionPeriodEnabled 是Azure数据库的一个设置,用于启用或禁用强制保留期。 这是一种数据保护措施,确保在指定的保留期内,数据不能被删除或修改。 这个设置是为了满足某些行业或应用场景下的合规性需求,比如金融、医疗、政府等场景中,可能需要保留一段时 阅读全文
posted @ 2024-04-18 20:26 编码者卢布 阅读(44) 评论(1) 推荐(1)
摘要: 问题描述 在为APIM服务配置了诊断日志(Diagnostic Setting),把日志收集在Log A Workspace中,需要验证日志中是否能查看到请求的错误信息。 所以想人为的来制造一些错误。经过网络搜索,参考Policy的文档介绍后,完成了以下3种错误 第一种:使用 return-resp 阅读全文
posted @ 2024-04-17 20:32 编码者卢布 阅读(143) 评论(0) 推荐(1)
摘要: 问题描述 看见一个有趣的页面,可以把输入的文字信息,直接输出SVG图片,还可以实现动图模式。 示例URL: https://readme-typing-svg.demolab.com/?font=Fira+Code&pause=1000&color=F7F7F7&background=233911F 阅读全文
posted @ 2024-04-16 20:39 编码者卢布 阅读(246) 评论(0) 推荐(3)
摘要: = "#" & Number.ToText(Number.Round(Number.RandomBetween(1000001,9999999),0),"X") 阅读全文
posted @ 2024-04-11 21:07 编码者卢布 阅读(72) 评论(0) 推荐(0)
摘要: 问题描述 使用存储位于Azure的存储账号和ADLS Gen2,为存储账号的可用性配置了告警。 想了解: 1) 可用性报警对业务依赖并使用存储账号的业务程序是否会产生影响,比如是否会导致依赖存储账号的程序不能正常工作,报错等 2) 当可用性降低后,存储账号是否会产生故障转移?或者是在一定的可用率值的 阅读全文
posted @ 2024-04-10 19:45 编码者卢布 阅读(58) 评论(0) 推荐(1)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 32 下一页