上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页
摘要: Azure 容器实例(Azure Container Instances,简称 ACI)是一个无服务器容器解决方案,允许用户在 Azure 云环境中运行 Docker 容器,而无需设置虚拟机、集群或编排器。ACI 适用于任何可以在隔离容器中操作的场景,包括事件驱动的应用程序、从容器开发管道快速部署、数据处理和生成作业。 阅读全文
posted @ 2024-08-13 20:55 路边两盏灯 阅读(93) 评论(0) 推荐(1)
摘要: [Reason - The key used is expired.,Thumbprint of key used by client: '3D****************', Found key 'Start=04/28/2024 11:10:00, End=07/28/2024 11:10:00',Please visit the Azure Portal, Graph Explorer or directly use MS Graph to see configured keys for app Id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'.Review the documentation at https://docs.microsoft.com/en-us/graph/deployments to determine the corresponding service endpoint 阅读全文
posted @ 2024-07-29 20:49 路边两盏灯 阅读(65) 评论(0) 推荐(0)
摘要: "code": "InvalidParameters", "message": "Invalid parameter: This request is not authorized to perform this operation.\r\nParameter name: backupContainerName (value: [backupcontainer])", 阅读全文
posted @ 2024-07-26 19:52 路边两盏灯 阅读(58) 评论(0) 推荐(0)
摘要: "module not found" error: "Failure Exception: ImportError: libpq.so.5: cannot open shared object file: No such file or directory. Cannot find module." 阅读全文
posted @ 2024-07-18 20:21 路边两盏灯 阅读(30) 评论(0) 推荐(0)
摘要: 问题描述 在查看.NET代码的时候,发现一个静态方法,第一个参数使用 this 关键字,它在这里是什么作用呢? public static XElement AquireElement(this XContainer container, string name, bool addFirst = f 阅读全文
posted @ 2024-07-16 20:13 路边两盏灯 阅读(27) 评论(0) 推荐(0)
摘要: 介绍一个简单的工具,用于将Redis数据从一个redis端点复制到另一个redis端点,基于原始存储库转换为.NET 8:https://github.com/LuBu0505/redis-copy-net8 阅读全文
posted @ 2024-07-11 20:20 路边两盏灯 阅读(316) 评论(1) 推荐(2)
摘要: 问题一:Key Vault 和 Event Grid 通过将 Key Vault 与事件网格集成,可以在密钥保管库中存储的机密的状态发生更改时收到通知。 状态更改将定义为即将到期的机密(到期前 30 天)、已过期的机密或具有可用新版本的机密。 支持所有三种机密类型(密钥、证书和机密)的通知。无法自定 阅读全文
posted @ 2024-07-10 20:23 路边两盏灯 阅读(79) 评论(0) 推荐(0)
摘要: REST API: write EPROTO 8936192:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:..\..\third_party\boringssl\src\ssl\tls_record.cc:231. Python: urllib3.exceptions.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1000) 阅读全文
posted @ 2024-07-09 20:02 路边两盏灯 阅读(661) 评论(0) 推荐(0)
摘要: 问题描述 iOS Objective-C 应用,连接Azure Storage Account, 根据官网Example代码,在没有关闭Storage Account的匿名访问时,程序正常运行。 但是,只要关闭了匿名访问,上传blob到Container中,就会报错:Public access is 阅读全文
posted @ 2024-07-05 21:47 路边两盏灯 阅读(48) 评论(0) 推荐(0)
摘要: 问题描述 在AKS中连接Redis,当遇到Azure Redis 升级或者Failover时,NodeJS应用中使用ioredis sdk 在很长一段时间内无法恢复和 Azure Redis服务端的连接,对于这种想象的可能性推断。 问题解答 使用 Azure Cache for Redis 时,一个 阅读全文
posted @ 2024-07-02 20:27 路边两盏灯 阅读(55) 评论(0) 推荐(0)
摘要: 问题描述 App Service上可以收.NET 应用的Profile Trace文件,并且可以自动分析报告。 Collect a Profiler Trace If your app is down or performing slow, you can collect a profiling t 阅读全文
posted @ 2024-07-01 20:11 路边两盏灯 阅读(29) 评论(0) 推荐(0)
摘要: Access to XMLHttpRequest at 'file:///C:/Users/.../failedrequests.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge. reportdata/failedrequests.json:1 Failed to load resource: net::ERR_FAILED 阅读全文
posted @ 2024-06-27 20:51 路边两盏灯 阅读(136) 评论(0) 推荐(0)
摘要: 问题描述 Azure Logic App连接到SQL数据库后,执行存储过程并转换执行结果为JSON数据的步骤 问题解答 在Logic App Design页面中,添加 Execute stored procedure组件,然后转换结果为JSON。 设计图如下: 关键步骤: 1) 添加 Sql Ser 阅读全文
posted @ 2024-06-24 20:17 路边两盏灯 阅读(44) 评论(0) 推荐(0)
摘要: 问题描述 原生应用中使用RabbitMQ,是否可以不改动代码的情况下直接转换为使用Azure Event Hub呢? 问题解答 Rabbit MQ使用的协议是AMQP 0-9-1,而Azure Event Hub 或 Service Bus 使用的是AMQP1.0,所以无法直接复用之前的代码。需要使 阅读全文
posted @ 2024-06-20 20:03 路边两盏灯 阅读(41) 评论(0) 推荐(0)
摘要: To connect to a sovereign cloud, set the microsoft-sovereign-cloud.environment setting. This is new as of v0.8.0 and is a result of our migration to the built-in Microsoft authentication extension which replaces the Azure Account extension. Learn more in the release notes. 阅读全文
posted @ 2024-06-18 21:12 路边两盏灯 阅读(383) 评论(0) 推荐(0)
摘要: SSL: CERITIFICATE_VERIFY_FAILED certificate verify failed: unable to get local issuer certificate 阅读全文
posted @ 2024-06-17 19:49 路边两盏灯 阅读(112) 评论(0) 推荐(0)
摘要: 问题描述 如果在使用.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 路边两盏灯 阅读(26) 评论(0) 推荐(0)
摘要: 问题描述 在使用Service Fabric服务后,想删除资源。却遇见无法删除的问题。在查看错误消息中,看见把中文的资源组名称转换为乱码了,十分怀疑是中文字符无法识别的原因。 日志中的资源信息: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/ 阅读全文
posted @ 2024-06-12 20:49 路边两盏灯 阅读(41) 评论(0) 推荐(0)
摘要: 问题描述 在部署Azure Spring App应用后,访问应用,遇见了502 Bad Gateway Nginx。 问题解答 502 Bad Gateway, 并且由Nginx返回。而自己的应用中,并没有定义Nginx相关内容,所以需要查看问题是否出现在Azure Spring App服务的设置上 阅读全文
posted @ 2024-06-11 19:47 路边两盏灯 阅读(47) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Service Bus SDK, 从生产端发送消息进入Service Bus中,频繁遇见如下错误,不知消息是否有成功发送到Service Bus中。 发送代码 public void sendMessage(String msg) { // create a Service 阅读全文
posted @ 2024-06-06 22:13 路边两盏灯 阅读(28) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Identity,根据指定的客户端凭据获取Access Token中,先后遇见了 “ValueError: "get_token" requires at least one scope” “ClientSecretCredential.get_token failed: 阅读全文
posted @ 2024-06-03 19:33 路边两盏灯 阅读(89) 评论(0) 推荐(0)
摘要: 在前一篇文章中,我们是把.NET 8应用读取SSL证书(X509)示例部署在App Service Windows环境中,那么如果部署在Linux环境,以及Linux Container中呢? 根据前文中的第一种方法,直接在把证书文件包含在源文件中,通过相对路径读取证书文件的方式,经测试,可以正常工 阅读全文
posted @ 2024-06-01 09:25 路边两盏灯 阅读(160) 评论(0) 推荐(0)
摘要: 问题描述 使用.NET 8开发应用,部署到Azure App Service后,需要直接访问一些静态图片/视频文件,但是直接通过相对路径获取文件时,遇见404错误........ 问题解答 在网上搜索“.NET应用读取静态文件”关键字,找到了问题原因。在IIS部署应用时代(.NET Core之前), 阅读全文
posted @ 2024-05-29 20:31 路边两盏灯 阅读(150) 评论(0) 推荐(0)
摘要: 在使用App Service服务部署业务应用,因为有些第三方的接口需要调用者携带TLS/SSL证书(X509 Certificate),在官方文档中介绍了两种方式在代码中使用证书: 1) 直接使用证书文件路径加载证书 new X509Certificate2 2) 从系统的证书库中通过指纹加载证书 certStore.Certificates.Find 本文中,将分别通过代码来验证以上两种方式. 阅读全文
posted @ 2024-05-28 22:20 路边两盏灯 阅读(224) 评论(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 路边两盏灯 阅读(14) 评论(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 路边两盏灯 阅读(34) 评论(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 路边两盏灯 阅读(55) 评论(0) 推荐(0)
摘要: 问题描述 介绍一段Python脚本,可以在微软云中国区使用。 用于计算Azure Storage Account中Container中Blob类型文件的数量和大小,脚本中允许按照容器,层(热/冷/归档),前缀,软删除/非软删除来计算数量和容量大小, 默认使用的时间为以Blob的最后修改时间作为参考。 阅读全文
posted @ 2024-05-20 19:21 路边两盏灯 阅读(151) 评论(0) 推荐(0)
摘要: 问题描述 对于Azure资源进行配置操作,门户上可以正常操作。但是想通过Python代码实现,这样可以批量处理。那么在没有SDK的情况下,是否有快速办法呢? 问题解答 当然可以,Azure Portal上操作的所有资源都是通过REST API来实现的,所以只要找到正确的API,就可以通过浏览器中抓取 阅读全文
posted @ 2024-05-15 20:33 路边两盏灯 阅读(136) 评论(0) 推荐(1)
摘要: 问题描述 把应用部署到Azure Container Apps(容器应用),可以在Container App Environemnt级别设置诊断日志,把日志收集到Event Hub / Log Analystic Workspace / Storage Account中。 虽然,这样能把日志导出到目 阅读全文
posted @ 2024-05-14 19:57 路边两盏灯 阅读(31) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页