随笔分类 -  【Azure 应用服务】

上一页 1 2 3 4 5 6 7 ··· 16 下一页
Azure 中使用App Service的各种疑难杂症
摘要:"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 路边两盏灯 阅读(27) 评论(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 路边两盏灯 阅读(632) 评论(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 路边两盏灯 阅读(25) 评论(0) 推荐(0)
摘要:问题描述 Azure Logic App连接到SQL数据库后,执行存储过程并转换执行结果为JSON数据的步骤 问题解答 在Logic App Design页面中,添加 Execute stored procedure组件,然后转换结果为JSON。 设计图如下: 关键步骤: 1) 添加 Sql Ser 阅读全文
posted @ 2024-06-24 20:17 路边两盏灯 阅读(40) 评论(0) 推荐(0)
摘要:SSL: CERITIFICATE_VERIFY_FAILED certificate verify failed: unable to get local issuer certificate 阅读全文
posted @ 2024-06-17 19:49 路边两盏灯 阅读(106) 评论(0) 推荐(0)
摘要:在前一篇文章中,我们是把.NET 8应用读取SSL证书(X509)示例部署在App Service Windows环境中,那么如果部署在Linux环境,以及Linux Container中呢? 根据前文中的第一种方法,直接在把证书文件包含在源文件中,通过相对路径读取证书文件的方式,经测试,可以正常工 阅读全文
posted @ 2024-06-01 09:25 路边两盏灯 阅读(153) 评论(0) 推荐(0)
摘要:问题描述 使用.NET 8开发应用,部署到Azure App Service后,需要直接访问一些静态图片/视频文件,但是直接通过相对路径获取文件时,遇见404错误........ 问题解答 在网上搜索“.NET应用读取静态文件”关键字,找到了问题原因。在IIS部署应用时代(.NET Core之前), 阅读全文
posted @ 2024-05-29 20:31 路边两盏灯 阅读(132) 评论(0) 推荐(0)
摘要:在使用App Service服务部署业务应用,因为有些第三方的接口需要调用者携带TLS/SSL证书(X509 Certificate),在官方文档中介绍了两种方式在代码中使用证书: 1) 直接使用证书文件路径加载证书 new X509Certificate2 2) 从系统的证书库中通过指纹加载证书 certStore.Certificates.Find 本文中,将分别通过代码来验证以上两种方式. 阅读全文
posted @ 2024-05-28 22:20 路边两盏灯 阅读(217) 评论(0) 推荐(1)
摘要:> git push azure master error: src refspec master does not match any error: failed to push some refs to 'https://xxxxxxxxx.scm.chinacloudsites.cn:443/xxxxxxxxx.git' 阅读全文
posted @ 2024-05-13 19:53 路边两盏灯 阅读(84) 评论(0) 推荐(0)
摘要:问题描述 作为Azure资源管理人员,对每一种资源操作时,都需要考虑权限设置。否则,会遇见类似如下错误: The client '***************' with object id '********-****-****-****-************' does not have 阅读全文
posted @ 2024-05-10 20:56 路边两盏灯 阅读(26) 评论(0) 推荐(0)
摘要:问题描述 测试标准版本的Logic App应用,消费Service Bus中的消息。当Service Bus中堆积了大量消息的情况下,Workflow依旧只在一个实例上运行。 而Logic App的自动缩放设置的最大为20个,为什么没有自动缩放呢? 问题解答 因为这个Standard Logic A 阅读全文
posted @ 2024-05-09 20:00 路边两盏灯 阅读(16) 评论(0) 推荐(0)
摘要:问题描述 在Azure Function中,部署了定时触发器函数(Timer Trigger),却无法按时触发。 问题解答 登录Function的Kudu站点,查看 logfiles中 application/function/host目录下的日志文件,发现错误消息: Singleton lock 阅读全文
posted @ 2024-05-08 20:20 路边两盏灯 阅读(68) 评论(0) 推荐(0)
摘要:0)[Information] Opened local gRPC endpoint: http://localhost:4001. 1)Failed to open local port 4001. This was attempt #1 to open a local port.. 2)Opened local gRPC endpoint: http://localhost:30721 阅读全文
posted @ 2024-05-07 20:01 路边两盏灯 阅读(72) 评论(0) 推荐(0)
摘要:问题描述 VS Code中,已经安装了Azure Function插件,在创建C# Function时候遇见 No .NET worker runtimes found. 如下图: 问题解答 最开始看见这个错误,还真的以为是自己的 Function runtime 没有安装,于是在 VS Code 阅读全文
posted @ 2024-05-06 21:00 路边两盏灯 阅读(32) 评论(0) 推荐(0)
摘要:问题描述 对于Standard Logic App,当使用HTTP请求来触发一个Workflow时,默认固定不变的SAS签名认证,因并且随着URL传递,存在泄露风险。 是否可以用Header中使用Bearer Token来进行验证呢? 问题解答 可以的,为Standard Logic App开启Ea 阅读全文
posted @ 2024-04-29 21:09 路边两盏灯 阅读(47) 评论(0) 推荐(0)
摘要:问题描述 使用中国区标准版本逻辑应用(Standard Logic App),常规情况下,可以正常查看历史执行中的输入/输出日志,方便排查。 但是,现在居然无法查看,这个情况有什么解决之道呢? 问题解答 Azure 门户报错调查第一规则:打开浏览器开发者模式,查看页面中所发送的网络请求,检查是否有请 阅读全文
posted @ 2024-04-24 20:51 路边两盏灯 阅读(43) 评论(0) 推荐(0)
摘要:问题描述 在App Service中启用了HTTP 2.0后,如何来验证它可以正常接受HTTP 2.0的请求呢? 问题解答 如果直接使用浏览器访问,无法直接判断出来是否使用 HTTP 2.0,所以本文中使用.NET Console代码来测试HTTP 2.0. 第一步:打开Visual Studio 阅读全文
posted @ 2024-04-08 20:39 路边两盏灯 阅读(33) 评论(0) 推荐(0)
摘要:It does this by draining instances of their current function executions and then removes those instances. This behavior is logged as drain mode. 阅读全文
posted @ 2024-04-02 20:03 路边两盏灯 阅读(8) 评论(0) 推荐(0)
摘要:问题描述 在Function App中配置了无代码模式的Application Insights,但有时候发现,超过1MB的文件上传/下载操作成功。但是在Application Insights中,却没有发现请求日志?这是一种什么情况呢? 问题解答 Application Insights 是具有采 阅读全文
posted @ 2024-04-01 20:31 路边两盏灯 阅读(34) 评论(0) 推荐(0)
摘要:Azure App Service .NET Profiler 在App Service服务中,如果部署了.NET应用,平台有一个非常好的工具可以查看请求的性能分布及异常时的Stack Traces。 进入路径: App Service Azure Overview --> Networking(网 阅读全文
posted @ 2024-03-18 20:36 路边两盏灯 阅读(27) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 16 下一页