上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 32 下一页
摘要: Warning: Unexpected call to 'log' on the context object after function execution has completed. Please check for asynchronous calls that are not awaited or calls to 'done' made before function execution completes. The context.done method is deprecated,Now, it's recommended to remove the call to context.done() and mark your function as async so that it returns a promise (even if you don't await anything). 阅读全文
posted @ 2023-05-06 20:49 路边两盏灯 阅读(140) 评论(0) 推荐(2)
摘要: 问题描述 使用 Azure AD 注册应用 Oauth2 v2.0的终结点(OAuth 2.0 token endpoint (v2): https://login.partner.microsoftonline.cn/<your tenant id>/oauth2/v2.0/token ) 获取T 阅读全文
posted @ 2023-05-04 20:31 路边两盏灯 阅读(419) 评论(0) 推荐(1)
摘要: Spec. Rule 1.3 - onSubscribe, onNext, onError and onComplete signaled to a Subscriber MUST be signaled serially 阅读全文
posted @ 2023-04-26 20:51 路边两盏灯 阅读(226) 评论(0) 推荐(0)
摘要: 问题描述 在App Service中启用Identity后,使用系统自动生成 Identity。 使用如下代码连接数据库 SQL Server: SQLServerDataSource dataSource = new SQLServerDataSource(); dataSource.setSer 阅读全文
posted @ 2023-04-25 20:38 路边两盏灯 阅读(92) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure API Management, 想对一些固定的IP地址进行访问次数的限制,如被限制的IP地址一分钟可以访问10次,而不被限制的IP地址则可以无限访问? ChatGPT 解答 最近ChatGPT爆火,所以也把这个问题让ChatGPT来解答,然后人工验证它的回答正确与否? 根据 阅读全文
posted @ 2023-04-24 20:16 路边两盏灯 阅读(306) 评论(0) 推荐(1)
摘要: 问题描述 在Azure的Spring Cloud服务 (官名为:Spring Apps)中,在Metrics 页面中查看 App Memory Usage 和 jvm.memory.use,发现两则在下图中出现巨大差距。 App Memory Usage还是在逐渐上升 jvm.memory.use 阅读全文
posted @ 2023-04-20 20:26 路边两盏灯 阅读(46) 评论(0) 推荐(1)
摘要: 问题描述 在Azure App Service的门户上 Log Stream 日志无输出,需要如何操作让其输出Application Logs呢? 如下图所示: 问题解答 请注意,上图中提示说:Application logs are switched off. You can turn them 阅读全文
posted @ 2023-04-18 21:15 路边两盏灯 阅读(163) 评论(0) 推荐(1)
摘要: 问题描述 PHP应用再连接Azure Redis服务时,出现Connection Timed out。当通过升级提高Azure Redis的性能时候,发现之前的数据丢失了。 问题解答 当Redis服务出现Timeout的情况时,可以从Redis服务的指标(Metrics)开始查看,如果出现负载(Se 阅读全文
posted @ 2023-04-17 21:00 路边两盏灯 阅读(99) 评论(0) 推荐(0)
摘要: 问题描述 查看官方文档“ Get a user ” , 产生了一个操作示例的想法,在中国区Azure环境中,演示如何获取AAD User信息。 问题解答 使用Microsoft Graph API,演示如何获取AAD User信息,因参考文档是针对Global Azure,所以文档种的URL为: / 阅读全文
posted @ 2023-04-13 20:12 路边两盏灯 阅读(680) 评论(0) 推荐(2)
摘要: 问题描述 在Azure上,如果需要恢复之前删除的存储账户(Storage Account), 有什么办法呢? 问题解答 Azure 现在推出了自主恢复已删除的存储账号的功能,具体步骤如下: 第一步: 进入Azure门户,导航到Storage Account服务(https://portal.azur 阅读全文
posted @ 2023-04-12 20:10 路边两盏灯 阅读(116) 评论(0) 推荐(1)
摘要: 问题描述 在安全级别要求高的公司中,任何系统都会进行安全扫描。比如Azure 云上的Redis服务,也在扫描的范围中,最后发现Redis 4.0存在以下漏洞: CVE-2019-10192:https://nvd.nist.gov/vuln/detail/CVE-2019-10192 CVE-201 阅读全文
posted @ 2023-04-11 20:25 路边两盏灯 阅读(209) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Redis服务,客户端使用Redisson 3.X , 在近期Microsoft Azure对Redis服务进行大规模变动升级( Redis 版本由 4 升级到 6),对于这次升级的影响有以下的问题? 问题解释 问题一:Redis 6.0 和 Redisson 3.X 之间 阅读全文
posted @ 2023-04-07 20:57 路边两盏灯 阅读(183) 评论(0) 推荐(0)
摘要: { "code":"DeploymentFailed", "message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details":[ {"message":"Linux Version is too long. It cannot be more than 4000 characters."} ] } 阅读全文
posted @ 2023-04-06 20:48 路边两盏灯 阅读(110) 评论(0) 推荐(1)
摘要: "Code": "Conflict","Message": "No available instances to satisfy this request. App Service is attempting to increase capacity. Please retry your request later. If urgent, this can be mitigated by deploying this to a new resource group." 阅读全文
posted @ 2023-03-31 21:45 路边两盏灯 阅读(167) 评论(0) 推荐(1)
摘要: 问题描述 因 Blob 启用了防火墙功能,但是当把App Service 或 Function App的出站IP地址都加入到Blob的白名单中,为什么访问还是403错误呢? 问题解答 Azure Storage的IP网络规则不适用于同一数据中心的客户端。 存储帐户部署在同一区域中的服务使用专用的 A 阅读全文
posted @ 2023-03-30 19:38 路边两盏灯 阅读(104) 评论(0) 推荐(0)
摘要: 问题描述 很早之前,介绍了在 App Service for Linux中挂载 Storage Account共享文件,当时Windows无法实现这个功能。而现在,App Service For Windows也可以挂载Storage Account File Share了。以下内容未演示操作。 # 阅读全文
posted @ 2023-03-29 21:29 路边两盏灯 阅读(85) 评论(0) 推荐(0)
摘要: 问题描述 App Service 部署应用程序,然后通过App Gateway(WAF) 提供公网访问,但是一直遇见403报错,刷新页面,回退,重新Web页面能缓解403问题。 问题分析 通过浏览器F12抓取网络日志(Network Trace)来定位403返回的情况,发现请求返回的Status为  阅读全文
posted @ 2023-03-22 21:03 路边两盏灯 阅读(215) 评论(0) 推荐(0)
摘要: 问题描述 Redission客户端连接Azure:客户端出现 Unable to send PING command over channel ... ... io.netty.channel.StacklessClosedChannelException: null at io.netty.cha 阅读全文
posted @ 2023-03-20 21:56 路边两盏灯 阅读(2269) 评论(0) 推荐(0)
摘要: 问题描述 1:如何来检查App Service上证书的完整性呢? 2:如何来检查App Service的实例上是否包含这个证书呢? Windows 环境 or Linux 环境? 问题解答 问题一:如何来检查App Service上证书的完整性呢? 可以使用OpenSSL工具来访问目标域名,根据输出 阅读全文
posted @ 2023-03-16 21:25 路边两盏灯 阅读(108) 评论(1) 推荐(0)
摘要: 问题描述 使用Azure Kubernetes服务(AKS),可以通过kubectl连接 pod 中查看日志,但是如何来查看节点的系统日志呢?如是否有ubuntu系统升级的记录? 问题解答 是的,可以进入AKS的节点查看系统文件,如日志文件(/var/log) 或者由应用生产的其他日志。 具体的操作 阅读全文
posted @ 2023-03-15 21:05 路边两盏灯 阅读(303) 评论(1) 推荐(2)
摘要: 问题描述 当在Azure中成功创建一个Service Fabric Cluster 服务后,我们能够在它的Overview页面中发现 Service Fabric Explorer的终结点,但是打开后,因为不知道如何获取证书,所以直接报错403。 那么,如何才能正确的访问 Service Fabri 阅读全文
posted @ 2023-03-14 20:16 路边两盏灯 阅读(70) 评论(0) 推荐(1)
摘要: 问题描述 在ADF(Azure Data Factory)中,调用Azure Function App中的Function,遇见了 Failed to get MI access token There was an error while calling endpoint with error m 阅读全文
posted @ 2023-03-08 18:00 路边两盏灯 阅读(161) 评论(0) 推荐(0)
摘要: 问题描述 使用StackExchange.Redis 作为Redis客户端SDK,连接Azure Redis服务,长期运行后发现,每天都偶发 Timeout Error。 错误消息如下: StackExchange.Redis.RedisTimeoutException: Timeout perfo 阅读全文
posted @ 2023-03-07 20:44 路边两盏灯 阅读(224) 评论(0) 推荐(0)
摘要: 问题描述 在 Spring Boot 项目中,使用 Redisson 连接 Azure Redis 服务,如下是详细的操作步骤(项目源代码文末可下载) 示例步骤 第一步: 在 Spring Boot 的项目中,添加 redisson-spring-boot-starter 依赖 在项目的pom.xm 阅读全文
posted @ 2023-03-06 20:06 路边两盏灯 阅读(777) 评论(0) 推荐(0)
摘要: 问题描述 在Java应用中,使用 Lettuce 作为客户端SDK与Azure Redis 服务连接,当遇见连接断开后,长达15分钟才会重连。导致应用在长达15分的时间,持续报错Timeout 问题解答 这是 Lettuce 目前的一个未解决的已知问题,可以查看此 github issue来了解这个 阅读全文
posted @ 2023-03-02 19:47 路边两盏灯 阅读(253) 评论(0) 推荐(0)
摘要: 问题描述 Azure Storage Account 下的 Table 查询的性能调优? 问题解答 因为Azure Storage Table服务(表服务) 与常规的关系型数据库不一样(例如:MySQL, SQL Server等),他里面存储的实体(Entity,表示一条数据)不能通过添加索引来优化 阅读全文
posted @ 2023-02-28 19:38 路边两盏灯 阅读(113) 评论(1) 推荐(0)
摘要: 问题描述 使用Azure Storage Table的REST API,实现根据过滤条件删除满足条件的数据,调用方法为 Delete Entity (Azure Storage) 问题实现 第一步:通过Azure Stroage 门户或者是其他工具(如:Azure Storage Explorer) 阅读全文
posted @ 2023-02-27 20:23 路边两盏灯 阅读(94) 评论(0) 推荐(0)
摘要: 问题描述 在应用中,需要访问另一个服务接口,这个接口需要使用客户端证书进行认证。在代码中使用 System.Security.Cryptography.X509Certificates 加载Window系统中 Current User\My 下的证书。 然后把证书通过App Service门户页面上 阅读全文
posted @ 2023-02-24 20:34 路边两盏灯 阅读(103) 评论(0) 推荐(0)
摘要: 问题描述 在Azure App Service for Windows的环境中,部署.NET应用,其中使用了 SAP NetWeaver RFC函数 (需要加载 sapnwrfc.dll)。详细的错误为: “System.DllNotFoundException: Unable to load DL 阅读全文
posted @ 2023-02-21 20:02 路边两盏灯 阅读(227) 评论(0) 推荐(0)
摘要: 问题描述 Azure Event Hub 在消费数端中,经常性遇见 Expired Heartbeat 错误 (consumer-xxxxxxxxxxxxx-c84873c6c828e8df6c843861ad36affb from group xxxxxxxxxxxx due to expired 阅读全文
posted @ 2023-02-20 19:04 路边两盏灯 阅读(64) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 32 下一页