上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 34 下一页
摘要: 问题描述 在Azure Data Factory (数据工厂)中,调用同在Azure中的Function App函数,却出现403 - Forbidden错误。 截图如下: 问题解答 访问Azure Function App遇见403 - Forbidden错误,这是因为Function App启用 阅读全文
posted @ 2023-06-13 19:31 编码者卢布 阅读(79) 评论(0) 推荐(0)
摘要: az login | Decryption failed:[WinError -2146893813] Key not vaid for use in specified state | msal_extensions.persistence: DPAPI error likely caused by file content not previously encrypted. App developer should migrate by calling save(plaintext) first. | Please report to us via Github : https://github.com/Azure/azure-cli/issues/20231 阅读全文
posted @ 2023-06-12 17:33 编码者卢布 阅读(328) 评论(0) 推荐(1)
摘要: 问题描述 使用Azure Event Hub服务,除了正常的生产,消费消息以外,如果想拿到Event Hub中存储的历史消息?有什么方法呢? 问题解答 获取 Event Hubs 存储的历史消息,首先需要确保消息进入Event Hub的时间处于保留期限(Retention Days)内,因为超过这个 阅读全文
posted @ 2023-06-08 20:06 编码者卢布 阅读(75) 评论(0) 推荐(0)
摘要: 问题描述 在创建Azure App Service时,服务端的配置使用Java 8 + Tomcat 8.5。默认的根目录页面显示出App Service Tomcat版本信息,存在一定的安全隐患。 如何来避免这个问题呢? 问题解答 因为在初始创建App Service时,Azure会根据所选Sta 阅读全文
posted @ 2023-06-07 19:34 编码者卢布 阅读(224) 评论(0) 推荐(0)
摘要: 问题描述 创建Azure Kubernetes Service服务后,需要升级AKS集群的 kubernetes version。在AKS页面的 Cluster configuration 页面中,选择新的版本 1.25.5,确认升级。等待50分钟左右,却等到了升级失败的消息: Failed to 阅读全文
posted @ 2023-06-06 19:32 编码者卢布 阅读(310) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Kubernetes 服务中,创建一个Internal Load Balancer服务,使用以下yaml内容: internallb.yaml apiVersion: v1 kind: Service metadata: name: ilb-myapp annotations 阅读全文
posted @ 2023-05-31 19:17 编码者卢布 阅读(149) 评论(0) 推荐(0)
摘要: 问题描述 哪些客户端 IP 正在向/从Azure Event Hub发送/接收事件?如何来查看Event Hub的生产者端,消费者端的IP地址呢? 问题解答 如果需要查看Event Hub 服务端的日志,可以在Azure门户上开启诊断日志来查看。默认情况下,我们并不能看见Event Hub的生产者, 阅读全文
posted @ 2023-05-29 17:04 编码者卢布 阅读(69) 评论(0) 推荐(0)
摘要: 问题描述 Azure Media Service上传的视频资产,如何保证在Transfer编码后音频文件和视频文件不分成两个文件?保持在一个可以直接播放的MP4文件中呢? 问题解答 Azure Media Service上提供的 Build-in Transform 生成的资产中,音频与视频分别存储 阅读全文
posted @ 2023-05-25 20:22 编码者卢布 阅读(60) 评论(0) 推荐(0)
摘要: 问题描述 Azure Event Hub支持 kafka,所以为了测试消息生产者所在环境与Azure Event Hub之间发送消息的性能如何,特别使用 kafka 官方测试生产者,消费者的性能工具 : kafka-producer-perf-test.bat kafka-consumer-perf 阅读全文
posted @ 2023-05-23 21:15 编码者卢布 阅读(264) 评论(0) 推荐(0)
摘要: 问题描述 在Azure中创建逻辑应用(Logic App),有两种计划类型。一是消费型,另一种是标准型。 在消费型的Logic App Metrics页面中,我们可以看见Workflow的执行成功数指标和失败数指标。如: RunsCancelled 取消的运行数 Count 总计 已取消的工作流运行 阅读全文
posted @ 2023-05-22 20:21 编码者卢布 阅读(85) 评论(0) 推荐(0)
摘要: 问题描述 Azure Service Bus 的门户操作页面上,是否可以批量删除其中的Topics呢? 问题解答 Azure Service Bus门户或Service Bus Explorer工具没有提供批量删除Topic的方法。但是可以自己写脚本删除,并且可以在删除的时候自定义过滤条件。 以Py 阅读全文
posted @ 2023-05-17 20:26 编码者卢布 阅读(88) 评论(0) 推荐(1)
摘要: 问题描述 App Service上部署的Java应用,连接 Azure Database for MySQL 失败。错误信息:Create connection error, url: jdbc:mysql://....................... communications link 阅读全文
posted @ 2023-05-16 19:38 编码者卢布 阅读(175) 评论(0) 推荐(0)
摘要: 问题描述 当使用Azure Redis服务时,需要把一个Redis服务的数据导入到另一个Redis上,因为Redis服务没有使用高级版,所以不支持直接导入/导出RDB文件。 以编程方式来读取数据并写入到新的Redis服务端,使用开源工具 Redis-Copy 却遇见了 6379 端口无法连接的问题。 阅读全文
posted @ 2023-05-15 21:43 编码者卢布 阅读(343) 评论(0) 推荐(3)
摘要: 问题描述 在Azure门户上创建Transform Encoding时候,只能选择 Built-in Preset 编码方式(如:H265ContentAwareEncoding) 在创建编码任务时,除了在门户上可选的几种内置的编码格式外,还可以通过自定义的编码预设文件(Preset.json)对视 阅读全文
posted @ 2023-05-11 21:58 编码者卢布 阅读(89) 评论(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 编码者卢布 阅读(186) 评论(0) 推荐(2)
摘要: 问题描述 在Azure Blob的官方示例中,都是对文件进行上传到Blob操作,没有实现对已创建的Blob进行追加的操作。如果想要实现对一个文件的多次追加操作,每一次写入的时候,只传入新的内容? 问题解答 Azure Storage Blob 有三种类型: Block Blob, Append Bl 阅读全文
posted @ 2023-05-09 21:42 编码者卢布 阅读(362) 评论(0) 推荐(1)
摘要: 问题描述 查看Java Storage SDK,想找一个 uploadWithResponse 的示例代码,但是通过全网搜索,结果没有任何有帮助的代码。使用最近ChatGPT来寻求答案,得到非常有格式的内容: 问:java azure storage account to use uploadWit 阅读全文
posted @ 2023-05-08 21:49 编码者卢布 阅读(196) 评论(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 编码者卢布 阅读(161) 评论(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 编码者卢布 阅读(452) 评论(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 编码者卢布 阅读(270) 评论(0) 推荐(0)
摘要: 问题描述 在App Service中启用Identity后,使用系统自动生成 Identity。 使用如下代码连接数据库 SQL Server: SQLServerDataSource dataSource = new SQLServerDataSource(); dataSource.setSer 阅读全文
posted @ 2023-04-25 20:38 编码者卢布 阅读(117) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure API Management, 想对一些固定的IP地址进行访问次数的限制,如被限制的IP地址一分钟可以访问10次,而不被限制的IP地址则可以无限访问? ChatGPT 解答 最近ChatGPT爆火,所以也把这个问题让ChatGPT来解答,然后人工验证它的回答正确与否? 根据 阅读全文
posted @ 2023-04-24 20:16 编码者卢布 阅读(341) 评论(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 编码者卢布 阅读(73) 评论(0) 推荐(1)
摘要: 问题描述 在Azure App Service的门户上 Log Stream 日志无输出,需要如何操作让其输出Application Logs呢? 如下图所示: 问题解答 请注意,上图中提示说:Application logs are switched off. You can turn them 阅读全文
posted @ 2023-04-18 21:15 编码者卢布 阅读(184) 评论(0) 推荐(1)
摘要: 问题描述 PHP应用再连接Azure Redis服务时,出现Connection Timed out。当通过升级提高Azure Redis的性能时候,发现之前的数据丢失了。 问题解答 当Redis服务出现Timeout的情况时,可以从Redis服务的指标(Metrics)开始查看,如果出现负载(Se 阅读全文
posted @ 2023-04-17 21:00 编码者卢布 阅读(124) 评论(0) 推荐(0)
摘要: 问题描述 查看官方文档“ Get a user ” , 产生了一个操作示例的想法,在中国区Azure环境中,演示如何获取AAD User信息。 问题解答 使用Microsoft Graph API,演示如何获取AAD User信息,因参考文档是针对Global Azure,所以文档种的URL为: / 阅读全文
posted @ 2023-04-13 20:12 编码者卢布 阅读(744) 评论(0) 推荐(2)
摘要: 问题描述 在Azure上,如果需要恢复之前删除的存储账户(Storage Account), 有什么办法呢? 问题解答 Azure 现在推出了自主恢复已删除的存储账号的功能,具体步骤如下: 第一步: 进入Azure门户,导航到Storage Account服务(https://portal.azur 阅读全文
posted @ 2023-04-12 20:10 编码者卢布 阅读(149) 评论(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 编码者卢布 阅读(224) 评论(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 编码者卢布 阅读(211) 评论(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 编码者卢布 阅读(140) 评论(0) 推荐(1)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 34 下一页