上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 31 下一页
摘要: 问题描述 使用中国区的Azure,在获取Token时候,参考了 adal4j的代码,在官方文档中,发现了如下的片段代码: ExecutorService service = Executors.newFixedThreadPool(1); AuthenticationContext context 阅读全文
posted @ 2022-05-01 10:03 路边两盏灯 阅读(766) 评论(0) 推荐(1)
摘要: 问题描述 使用Azure Notification Hub + Baidu 推送遇见的两次报错为: 1. {"request_id":2921358089,"error_code":30602,"error_msg":"request params not valid. parameter user 阅读全文
posted @ 2022-04-30 14:16 路边两盏灯 阅读(140) 评论(0) 推荐(0)
摘要: 问题描述 部署在App Service for Linux环境中的Web App。出现了字体文件缺失的问题,页面显示本来时中文的地方,区别变为方框占位。 问题分析 在应用中,通常涉及到显示问题的有两个方面, 一是乱码:”����Ҫ�¨²�ѧϰ������“ , ”由月è¦�好好学 阅读全文
posted @ 2022-04-28 17:43 路边两盏灯 阅读(537) 评论(0) 推荐(1)
摘要: 问题描述 App Service运行过程中,突然出现了 There is not enough space on the disk : 'D:localTempASPNETCORE_xxxxxx-xxxx-xxxx-xxxx-bb51xxxxxxxx.tmp' 问题分析 在云中的App Servic 阅读全文
posted @ 2022-04-27 19:40 路边两盏灯 阅读(158) 评论(0) 推荐(1)
摘要: 问题描述 当一个资源从Azure中删除后,是否有地方可以查看到这些操作的记录呢?如操作人,操作时间等。 问题解答 可以的。通过 Azure订阅页面的活动日志,可以查看所有对订阅下资源的操作记录,包含Delete操作的资源。 登录Portal,选择“订阅”。入口:https://portal.azur 阅读全文
posted @ 2022-04-26 16:47 路边两盏灯 阅读(102) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Alert 门户中,可以列举出所有Azure资源的Alert rule信息,如下图: 如果像通过Python SDK来获取所有的Alert Rule,有什么可以参考的代码吗? 问题分析 由于Azure Alert门户是把所有的资源中配置了Alert Rule都进行了汇总显示, 阅读全文
posted @ 2022-04-24 21:04 路边两盏灯 阅读(102) 评论(1) 推荐(0)
摘要: 问题描述 通过PowerShell 连接到Microsoft Graph 中国区Azure,一直出现AADSTS700016错误, 消息显示 the specific application was not installed in your tenant. 解决办法 根据弹出框中的错误提示, 这是 阅读全文
posted @ 2022-04-23 14:23 路边两盏灯 阅读(1119) 评论(0) 推荐(2)
摘要: 问题描述 编写Powershell Function,登录到China Azure并获取Azure AD User信息,但是发现遇见了 [Error] ERROR: ManagedIdentityCredential authentication failed: An unexpected erro 阅读全文
posted @ 2022-04-21 20:15 路边两盏灯 阅读(657) 评论(0) 推荐(2)
摘要: 问题描述 在使用CURL通过REST API获取Azure Key Vaualt的Secrets值,提示Missing Token, 问如何来生成正确的Token呢? # curl 命令 curl -k --request GET -H "Content-type: application/json 阅读全文
posted @ 2022-04-20 21:14 路边两盏灯 阅读(460) 评论(0) 推荐(0)
摘要: 问题描述 使用Azure Event Hub的Java SDK 作为消费端消费消息,集成在项目中后,发现大量日志产生,并且都是Debug 级别日志,如何来关闭这部分日志输出呢? import com.azure.messaging.eventhubs.EventHubClientBuilder; i 阅读全文
posted @ 2022-04-19 19:51 路边两盏灯 阅读(176) 评论(0) 推荐(0)
摘要: 问题描述 怎样关闭Azure Service Fabric服务呢?在Azure门户上没有找到 Stop 按钮。 问题回答 Azure Service Fabric 默认是无法停止的,可以删除。 虽然可以在VMSS(运行Service Fabric的虚拟机集群中停止所有的VM,但是这样做很容易会导致A 阅读全文
posted @ 2022-04-18 20:18 路边两盏灯 阅读(79) 评论(0) 推荐(0)
摘要: 问题描述 Azure Function在执行Function的时候,如果失败了,是否可以重试呢? 问题解答 Function app默认是不开启重试的,但是可以修改 host.json 文件来定义重试策略(retry),具体内容如下: { "retry": { "strategy": "fixedD 阅读全文
posted @ 2022-04-15 19:27 路边两盏灯 阅读(113) 评论(0) 推荐(0)
摘要: 问题描述 为APIM添加AAD Group时候,等待很长很长的时间,结果添加失败。错误消息为: Write Groups ValidationError :Failed to query Azure Active Directory graph due to error: An error occu 阅读全文
posted @ 2022-04-13 19:25 路边两盏灯 阅读(178) 评论(0) 推荐(0)
摘要: 问题描述 在Spring Boot应用中集成Event Hub,发送消息时指定Partition Key,日志中发现异常: 应用使用Event Hub版本为 <dependency> <groupId>com.azure.spring</groupId> <artifactId>azure-spri 阅读全文
posted @ 2022-04-11 20:09 路边两盏灯 阅读(238) 评论(0) 推荐(0)
摘要: 问题描述 在Azure中国区上面创建一个云服务(外延支持)后,根据官方文档(在云服务(外延支持)中应用 Azure 诊断扩展: https://docs.azure.cn/zh-cn/cloud-services-extended-support/enable-wad),启用了WAD扩展来收集实例的 阅读全文
posted @ 2022-04-08 19:19 路边两盏灯 阅读(277) 评论(0) 推荐(0)
摘要: 问题描述 Service Fabric 在升级 Application 过程中,发布了新的代码后,启动应用中遇见了如下错误: Error message: System.Hosting' reported Error for property 'CodePackageActivation:Code: 阅读全文
posted @ 2022-04-03 17:51 路边两盏灯 阅读(178) 评论(0) 推荐(0)
摘要: 问题描述 为App Service配置了应用服务网关(Application Gateway),并且为Application Gateway配置了自定义域名,通过浏览器访问时,出现域名跳转问题,由自定义域名跳转到App Service的默认域名。 问题解答 应用服务是多租户服务,因此它会使用请求中的 阅读全文
posted @ 2022-04-01 21:02 路边两盏灯 阅读(293) 评论(0) 推荐(0)
摘要: 问题描述 编写PowerShell脚本,以多维(3维)数组中第二维度的值进行过滤,并打印出结果 #三维数组源数据 “A”, “11”, “Cheng Du” “B”, “21”, “Chong Qing” “C”, “31”, “Shang Hai” “D”, “41”, “Bei Jing” “E 阅读全文
posted @ 2022-03-30 20:56 路边两盏灯 阅读(146) 评论(0) 推荐(0)
摘要: 问题描述 一问:App Service有那些访问限制的方式 二问:访问限制中,是否可以通过域名来进行限制,而不只是IP地址 三问:App Service如何查看到访问者(客户端)的IP地址,访问时间 四问:Azure AD的登录日志是否可以查看到某个应用的登录情况呢?或者是Azure用户的登录情况 阅读全文
posted @ 2022-03-29 20:48 路边两盏灯 阅读(124) 评论(0) 推荐(0)
摘要: 问题描述 如图上,是App Services在Windows环境中,系统自带了MySQL In App功能。而在,Linux环境中,没有发现Mysql in App功能,是不是无法在Linux中使用呢? 问题解答 Linux环境中的Mysql In App 功能与windows是不一样的,它需要在D 阅读全文
posted @ 2022-03-28 21:00 路边两盏灯 阅读(63) 评论(0) 推荐(0)
摘要: 问题描述 为App Service For Linux配置CI/CD,源代码在GitHub私有库中,在发布时候报错 Cannot find SourceControlToken with name Bitbucket. 这样的情况如何来解决呢?在参考了文章 1:AZURE CONTINUOUS DE 阅读全文
posted @ 2022-03-26 17:18 路边两盏灯 阅读(146) 评论(0) 推荐(0)
摘要: 问题描述 Azure App Service创建后,默认会有一个 Azure App Service创建后,默认会有一个 https://xxxxxxxxxxxxx.chinacloudsites.cn/ 的默认域名,因为中国区域名需要ICP备案,所以Azure平台要求对App Service进行自 阅读全文
posted @ 2022-03-25 19:39 路边两盏灯 阅读(364) 评论(0) 推荐(0)
摘要: 问题描述 在App Service中调用外部服务API时需要携带客户端证书,而多次调用的情况下会出现WindowsCryptographicException Keyset does not exist异常。 错误Tarce: Exception: Internal.Cryptography.Cry 阅读全文
posted @ 2022-03-23 21:00 路边两盏灯 阅读(231) 评论(0) 推荐(1)
摘要: 问题描述 Azure Redis Cluster 在增加分片数时失败,错误消息为: ResponseBody: { "error": { "details": [], "code": "SubnetIsFull", "message": "Subnet Redis with address pref 阅读全文
posted @ 2022-03-22 20:17 路边两盏灯 阅读(57) 评论(0) 推荐(0)
摘要: 问题描述 使用Kafka消费Azure EventHub中数据,遇见消费慢的情况可以如何来调节呢? 问题解答 查看Kafka Consumer的配置参数,其中最只要的一个参数为:max.poll.records, 表示Consumer每次调用poll()时取到的records的最大数。一般情况,在增 阅读全文
posted @ 2022-03-21 20:23 路边两盏灯 阅读(236) 评论(0) 推荐(0)
摘要: 问题描述 在IntelliJ IDEA Community Edition 2021.2.3中开发Azure Function程序,最后准备部署到中国区 Azure Function中。如下,在IntelliJ IDEA2021却无法切换到中国区,无法完成部署。 问题解答 Azure 文档中有介绍如 阅读全文
posted @ 2022-03-19 15:58 路边两盏灯 阅读(168) 评论(1) 推荐(1)
摘要: 问题描述 App Service 的.NET Version选择为.NET6,是否可以同时支持运行ASP.NET V4.8的应用呢? 问题解答 答案是可以的,Azure App Service .NET可以同时支持多种.NET框架。因为在Azure App Service Window 环境中,已经 阅读全文
posted @ 2022-03-19 10:42 路边两盏灯 阅读(119) 评论(0) 推荐(1)
摘要: 问题描述 APIM默认提供了开发者门户,可以让用户体验如何来调用接口。但如果不想开发这个功能的情况下,是否有办法关闭呢? 问题解答 答案是:开发人员门户是没有办法关闭的。但是作为另一种的代替方案,如自定义域名时,不为开发者门户配置DNS,删除开发者门户的登录权限(Identities)。从而实现让用 阅读全文
posted @ 2022-03-18 20:36 路边两盏灯 阅读(122) 评论(0) 推荐(1)
摘要: 问题描述 Azure API Management服务支持使用自建网关来实现API服务,这样APIM的所有请求都可以走在自管理的企业内网中。流量都更加安全。当根据官网文档搭建后,如果在本地环境中部署超过10个Self-host gateway,并且这些Self-host gateway的主机出口IP 阅读全文
posted @ 2022-03-17 20:15 路边两盏灯 阅读(152) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Key Vault中,我们可以从Azure门户中下载证书PEM文件到本地。 可以通过OpenSSL把PFX文件转换到PEM文件。然后用TXT方式查看内容,操作步骤如下图: OpenSSL转换命令为: openssl pkcs12 -in "C:\Users\Downloads 阅读全文
posted @ 2022-03-16 22:43 路边两盏灯 阅读(554) 评论(0) 推荐(1)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 31 下一页