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

上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
Azure 中使用App Service的各种疑难杂症
摘要:问题描述 通过Docker Desktop for Linux,配置Nginx镜像后,自定义nginx.conf文件,修改启动目录和对 /out 路径的反向代理到博客园的博文地址 (https://www.cnblogs.com/lulight/p/15180884.html), 然后部署到Azur 阅读全文
posted @ 2021-08-26 22:32 路边两盏灯 阅读(513) 评论(0) 推荐(1) 编辑
摘要:问题描述 如何定期自动重启 Azure App Service Plan(应用服务计划)? 因一个App Service Plan 下包含多个应用服务,如果能统一通过应用服务计划来重启所有的应用,则有利于统一管理。 问题回答 应用服务计划( Azure App Service Plan )是没有办法 阅读全文
posted @ 2021-08-25 21:17 路边两盏灯 阅读(308) 评论(0) 推荐(0) 编辑
摘要:问题描述 在.Net Core 5.0 项目中,添加 Microsoft.Extensions.Logging.AzureAppServices 和 Microsoft.Extensions.Logging.Abstractions插件后,需要在构建Host的代码中添加 logging.AddAzu 阅读全文
posted @ 2021-08-24 22:10 路边两盏灯 阅读(594) 评论(0) 推荐(1) 编辑
摘要:问题描述 将 JS项目打包为静态文件后,通过 FTP 上传到 App Service For Linux 的 /home/site/wwwroot文件夹中。但打开App Service URL 后依旧显示 Azure 默认页面 (Hey, xxx developers! 欢迎页面)。 是否可以修改默 阅读全文
posted @ 2021-08-24 17:52 路边两盏灯 阅读(192) 评论(0) 推荐(0) 编辑
摘要:问题描述 在App Service Authentication 中配置 Azure AD 注册的应用信息后,根据官方文档,可以让前端应用实现用户 AAD 登录,然后通过前端应用获取的Token,来访问后端的API应用。 前端用户登录 》 获取访问前端应用Token 》调用后端API时候传递Toke 阅读全文
posted @ 2021-08-23 19:33 路边两盏灯 阅读(149) 评论(0) 推荐(0) 编辑
摘要:问题描述 Azure Function HTTP 触发后, 230秒就超时,而其他方式触发的Function, 执行5分钟后也超时,如何调整超时时间? HTTP触发的Function 报错500 - The Request timed out 消息截图: 问题分析 查阅官方文档,对函数应用超时持续时 阅读全文
posted @ 2021-08-05 22:50 路边两盏灯 阅读(553) 评论(1) 推荐(0) 编辑
摘要:通过Azure App Service门户,启用Health Check来监视应用服务的实例,当发现其中一个实例处于不健康(unhealthy)状态时,通过重新路由(即把有问题的实例从负载均衡器中移除, Load Balancer)的方式把请求发送到健康的实例上。并且如果不健康的实例一直存在问题,系 阅读全文
posted @ 2021-08-04 21:45 路边两盏灯 阅读(665) 评论(1) 推荐(1) 编辑
摘要:问题描述 如何让webapp 支持 delete 方法? 在不修改设置的情况下,调用DELETE方法出现405错误 - 方法不被允许 问题解决 基于当前App Service在Windows的环境中运行,所以可以使用配置IIS的方式在web.config中对Delete方法进行允许访问,正确的设置如 阅读全文
posted @ 2021-08-02 22:25 路边两盏灯 阅读(91) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Azure App Service上部署了站点,想要在网站的响应头中加一个字段(Cache-Control),并设置为固定值(Cache-Control:no-store) 效果类似于本地IIS中设置IIS响应标头 有时,也会根据不同的安全要求,需要添加Response Header,如 阅读全文
posted @ 2021-08-01 23:57 路边两盏灯 阅读(560) 评论(0) 推荐(0) 编辑
摘要:问题描述 App Service For Linux 中安装paping的操作步骤 解决步骤 1) 登录App Service的Kudu站点,点击Bash 2)使用命令下载paping压缩文件:#wget https://storage.googleapis.com/google-code-arch 阅读全文
posted @ 2021-07-27 20:06 路边两盏灯 阅读(289) 评论(0) 推荐(0) 编辑
摘要:问题描述 App Service 服务URL无法访问,进入门户中的Advanced Tools(Kudu)、App Service Editor (Preview)等页面无法打开, 打开就出现 The service is unavailable 错误。 问题排查和解决 由于无法打开高级工具(Kud 阅读全文
posted @ 2021-07-26 21:09 路边两盏灯 阅读(350) 评论(0) 推荐(0) 编辑
摘要:问题描述 App Service 配置 Application Settings 访问Storage Account。如下: { "name": "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING", "value": "[concat('DefaultEndpoin 阅读全文
posted @ 2021-07-24 12:20 路边两盏灯 阅读(175) 评论(0) 推荐(0) 编辑
摘要:问题描述 在使用Azure Function App的 SendGrid Binging 功能,调用SendGrid服务器发送邮件功能时,遇到见间歇性,偶发性的异常。在重新运行SendGrid的Function,却又能恢复运行。 所以本文基于Azure Function使用SendGrid的异常错误 阅读全文
posted @ 2021-07-13 18:54 路边两盏灯 阅读(1709) 评论(0) 推荐(0) 编辑
摘要:问题描述 使用PowerShell脚本执行获取Azure订阅列表的指令(Get-Azsubscription -TenantId tenantIDDefaultProfilecxt)。在本地调试后,指令成功运行。 但是当指令并运行在Azure Function时,则出现了异常:详细的异常信 阅读全文
posted @ 2021-07-10 10:36 路边两盏灯 阅读(193) 评论(0) 推荐(0) 编辑
摘要:一切为了安全,所有的云上资源如支持内网资源访问,则都可以加入虚拟网络 问题描述 使用Azure Function处理Storage Account中Blob 新增,更新,删除等情况。Storage Account启用虚拟网络中的服务终结点(Service Endpoint)后,可以实现只能从内网访问 阅读全文
posted @ 2021-06-30 20:23 路边两盏灯 阅读(327) 评论(0) 推荐(1) 编辑
摘要:问题背景 什么是TCP timestamps(TCP 时间戳)? The remote host implements TCP Timestamps, as defined by RFC1323 (https://www.ietf.org/rfc/rfc1323.txt). A side effec 阅读全文
posted @ 2021-06-12 10:11 路边两盏灯 阅读(765) 评论(0) 推荐(1) 编辑
摘要:问题描述 在Azure上创建的数据库,单独通过SQL的连接工具是可以访问,但在Web App却无法访问,错误信息为: { "timestamp": "2021-05-20T05:21:04.672+0000", "status": 500, "error": "Internal Server Err 阅读全文
posted @ 2021-06-07 18:25 路边两盏灯 阅读(338) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Azure Function Portal上显示: Azure Functions runtime is unreachable,引起的结果是Function App目前不工作,但是此前一直都是正常工作的,且没有对Azure Function做过任何的改动,那它是为什么出现这样的问题呢? 阅读全文
posted @ 2021-06-05 23:14 路边两盏灯 阅读(328) 评论(0) 推荐(0) 编辑
摘要:问题描述 Azure Function 不能被Postman 触发,错误信息如下: Error: write EPROTO 4020778632:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third 阅读全文
posted @ 2021-06-02 16:34 路边两盏灯 阅读(312) 评论(0) 推荐(0) 编辑
摘要:问题描述 使用Azure Spring Cloud服务,在部署时候失败,收到错误消息为: c:\project\hellospring>az spring-cloud app deploy -g dev -s testdemo -n demo -p ./hellospring-0.0.1-SNAPS 阅读全文
posted @ 2021-05-28 13:35 路边两盏灯 阅读(154) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
点击右上角即可分享
微信分享提示