上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页
摘要: 问题描述 当使用Azure Redis服务时,需要把一个Redis服务的数据导入到另一个Redis上,因为Redis服务没有使用高级版,所以不支持直接导入/导出RDB文件。 以编程方式来读取数据并写入到新的Redis服务端,使用开源工具 Redis-Copy 却遇见了 6379 端口无法连接的问题。 阅读全文
posted @ 2023-05-15 21:43 路边两盏灯 阅读(298) 评论(0) 推荐(3)
摘要: 问题描述 在Azure门户上创建Transform Encoding时候,只能选择 Built-in Preset 编码方式(如:H265ContentAwareEncoding) 在创建编码任务时,除了在门户上可选的几种内置的编码格式外,还可以通过自定义的编码预设文件(Preset.json)对视 阅读全文
posted @ 2023-05-11 21:58 路边两盏灯 阅读(63) 评论(2) 推荐(0)
摘要: Azure.Identity.AuthenticationFailedException: 'ClientSecretCredential authentication failed: AADSTS90002: Tenant '********-****-****-****-************' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. 阅读全文
posted @ 2023-05-10 21:10 路边两盏灯 阅读(146) 评论(0) 推荐(2)
摘要: 问题描述 在Azure Blob的官方示例中,都是对文件进行上传到Blob操作,没有实现对已创建的Blob进行追加的操作。如果想要实现对一个文件的多次追加操作,每一次写入的时候,只传入新的内容? 问题解答 Azure Storage Blob 有三种类型: Block Blob, Append Bl 阅读全文
posted @ 2023-05-09 21:42 路边两盏灯 阅读(314) 评论(0) 推荐(1)
摘要: 问题描述 查看Java Storage SDK,想找一个 uploadWithResponse 的示例代码,但是通过全网搜索,结果没有任何有帮助的代码。使用最近ChatGPT来寻求答案,得到非常有格式的内容: 问:java azure storage account to use uploadWit 阅读全文
posted @ 2023-05-08 21:49 路边两盏灯 阅读(160) 评论(0) 推荐(0)
摘要: 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 路边两盏灯 阅读(123) 评论(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 路边两盏灯 阅读(409) 评论(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 路边两盏灯 阅读(206) 评论(0) 推荐(0)
摘要: 问题描述 在App Service中启用Identity后,使用系统自动生成 Identity。 使用如下代码连接数据库 SQL Server: SQLServerDataSource dataSource = new SQLServerDataSource(); dataSource.setSer 阅读全文
posted @ 2023-04-25 20:38 路边两盏灯 阅读(83) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure API Management, 想对一些固定的IP地址进行访问次数的限制,如被限制的IP地址一分钟可以访问10次,而不被限制的IP地址则可以无限访问? ChatGPT 解答 最近ChatGPT爆火,所以也把这个问题让ChatGPT来解答,然后人工验证它的回答正确与否? 根据 阅读全文
posted @ 2023-04-24 20:16 路边两盏灯 阅读(293) 评论(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 路边两盏灯 阅读(44) 评论(0) 推荐(1)
摘要: 问题描述 在Azure App Service的门户上 Log Stream 日志无输出,需要如何操作让其输出Application Logs呢? 如下图所示: 问题解答 请注意,上图中提示说:Application logs are switched off. You can turn them 阅读全文
posted @ 2023-04-18 21:15 路边两盏灯 阅读(151) 评论(0) 推荐(1)
摘要: 问题描述 PHP应用再连接Azure Redis服务时,出现Connection Timed out。当通过升级提高Azure Redis的性能时候,发现之前的数据丢失了。 问题解答 当Redis服务出现Timeout的情况时,可以从Redis服务的指标(Metrics)开始查看,如果出现负载(Se 阅读全文
posted @ 2023-04-17 21:00 路边两盏灯 阅读(90) 评论(0) 推荐(0)
摘要: 问题描述 查看官方文档“ Get a user ” , 产生了一个操作示例的想法,在中国区Azure环境中,演示如何获取AAD User信息。 问题解答 使用Microsoft Graph API,演示如何获取AAD User信息,因参考文档是针对Global Azure,所以文档种的URL为: / 阅读全文
posted @ 2023-04-13 20:12 路边两盏灯 阅读(653) 评论(0) 推荐(2)
摘要: 问题描述 在Azure上,如果需要恢复之前删除的存储账户(Storage Account), 有什么办法呢? 问题解答 Azure 现在推出了自主恢复已删除的存储账号的功能,具体步骤如下: 第一步: 进入Azure门户,导航到Storage Account服务(https://portal.azur 阅读全文
posted @ 2023-04-12 20:10 路边两盏灯 阅读(103) 评论(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 路边两盏灯 阅读(201) 评论(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 路边两盏灯 阅读(161) 评论(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 路边两盏灯 阅读(100) 评论(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 路边两盏灯 阅读(160) 评论(0) 推荐(1)
摘要: 问题描述 因 Blob 启用了防火墙功能,但是当把App Service 或 Function App的出站IP地址都加入到Blob的白名单中,为什么访问还是403错误呢? 问题解答 Azure Storage的IP网络规则不适用于同一数据中心的客户端。 存储帐户部署在同一区域中的服务使用专用的 A 阅读全文
posted @ 2023-03-30 19:38 路边两盏灯 阅读(80) 评论(0) 推荐(0)
摘要: 问题描述 很早之前,介绍了在 App Service for Linux中挂载 Storage Account共享文件,当时Windows无法实现这个功能。而现在,App Service For Windows也可以挂载Storage Account File Share了。以下内容未演示操作。 # 阅读全文
posted @ 2023-03-29 21:29 路边两盏灯 阅读(74) 评论(0) 推荐(0)
摘要: 问题描述 App Service 部署应用程序,然后通过App Gateway(WAF) 提供公网访问,但是一直遇见403报错,刷新页面,回退,重新Web页面能缓解403问题。 问题分析 通过浏览器F12抓取网络日志(Network Trace)来定位403返回的情况,发现请求返回的Status为  阅读全文
posted @ 2023-03-22 21:03 路边两盏灯 阅读(192) 评论(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 路边两盏灯 阅读(2235) 评论(0) 推荐(0)
摘要: 问题描述 1:如何来检查App Service上证书的完整性呢? 2:如何来检查App Service的实例上是否包含这个证书呢? Windows 环境 or Linux 环境? 问题解答 问题一:如何来检查App Service上证书的完整性呢? 可以使用OpenSSL工具来访问目标域名,根据输出 阅读全文
posted @ 2023-03-16 21:25 路边两盏灯 阅读(88) 评论(1) 推荐(0)
摘要: 问题描述 使用Azure Kubernetes服务(AKS),可以通过kubectl连接 pod 中查看日志,但是如何来查看节点的系统日志呢?如是否有ubuntu系统升级的记录? 问题解答 是的,可以进入AKS的节点查看系统文件,如日志文件(/var/log) 或者由应用生产的其他日志。 具体的操作 阅读全文
posted @ 2023-03-15 21:05 路边两盏灯 阅读(291) 评论(1) 推荐(2)
摘要: 问题描述 当在Azure中成功创建一个Service Fabric Cluster 服务后,我们能够在它的Overview页面中发现 Service Fabric Explorer的终结点,但是打开后,因为不知道如何获取证书,所以直接报错403。 那么,如何才能正确的访问 Service Fabri 阅读全文
posted @ 2023-03-14 20:16 路边两盏灯 阅读(56) 评论(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 路边两盏灯 阅读(158) 评论(0) 推荐(0)
摘要: 问题描述 使用StackExchange.Redis 作为Redis客户端SDK,连接Azure Redis服务,长期运行后发现,每天都偶发 Timeout Error。 错误消息如下: StackExchange.Redis.RedisTimeoutException: Timeout perfo 阅读全文
posted @ 2023-03-07 20:44 路边两盏灯 阅读(205) 评论(0) 推荐(0)
摘要: 问题描述 在 Spring Boot 项目中,使用 Redisson 连接 Azure Redis 服务,如下是详细的操作步骤(项目源代码文末可下载) 示例步骤 第一步: 在 Spring Boot 的项目中,添加 redisson-spring-boot-starter 依赖 在项目的pom.xm 阅读全文
posted @ 2023-03-06 20:06 路边两盏灯 阅读(744) 评论(0) 推荐(0)
摘要: 问题描述 在Java应用中,使用 Lettuce 作为客户端SDK与Azure Redis 服务连接,当遇见连接断开后,长达15分钟才会重连。导致应用在长达15分的时间,持续报错Timeout 问题解答 这是 Lettuce 目前的一个未解决的已知问题,可以查看此 github issue来了解这个 阅读全文
posted @ 2023-03-02 19:47 路边两盏灯 阅读(242) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页