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

上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
Azure 中使用App Service的各种疑难杂症
摘要:Microsoft.Azure.WebJobs.Extensions.ServiceBus: Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.32.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. 阅读全文
posted @ 2023-12-11 20:38 路边两盏灯 阅读(44) 评论(0) 推荐(0) 编辑
摘要:问题描述 在一个App Service中,部署多个应用,每个应用相互独立,类似与IIS中在根目录下创建多个子应用的情况。 问题解答 可以的。通过App Service Configuration页面,添加virtual application,站点链接即对应的virtual path, 在virtu 阅读全文
posted @ 2023-11-30 20:26 路边两盏灯 阅读(23) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Function的Code+Test界面进行函数触发可以成功。因为Function为Blob Trigger,当在Blob容器下上传文件后,Function可以被正常触发但是报 outofmemory java heap space的错误 通过日志打印处JVM的内存信息,发现才778MB 阅读全文
posted @ 2023-11-22 21:32 路边两盏灯 阅读(24) 评论(0) 推荐(0) 编辑
摘要:问题描述 创建PowerShell Azure Durable Function,执行大量的PowerShell脚本操作Azure Resource,遇见了一个非常非常奇怪的问题: Function 'Hello1 (Activity)' failed with an error. Reason: 阅读全文
posted @ 2023-11-08 21:06 路边两盏灯 阅读(113) 评论(0) 推荐(1) 编辑
摘要:问题描述 在使用Terraform创建Function App 后,部署函数时候遇见 ServiceUnavailable (Bad Request -- Encountered an error (ServiceUnavailable) from host runtime.) 问题。 查看Func 阅读全文
posted @ 2023-11-06 20:39 路边两盏灯 阅读(70) 评论(0) 推荐(0) 编辑
摘要:问题描述 Azure Web Job执行Powershell脚本报错 Select-AzContext : The term 'Select-AzContext' is not recognized as the name of a cmdlet, function, script file, or 阅读全文
posted @ 2023-11-02 20:58 路边两盏灯 阅读(24) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Azure Function代码中,有默认的ILogger对象来记录函数的日志,如果函数引用了一些静态对象,是否有办法使用这个默认的ILogger对象来记录日志呢? using System.Net; using Microsoft.Azure.Functions.Worker; usi 阅读全文
posted @ 2023-10-31 20:09 路边两盏灯 阅读(39) 评论(0) 推荐(0) 编辑
摘要:问题描述 当在Azure中创建了一个函数应用(Function App)后,访问默认URL会得到一个默认的页面。是否有办法修改这个默认页面呢? 问题解答 在之前的博文中,介绍了修改App Service的默认页面。 1:【Azure 应用服务】App Service 默认页面暴露Tomcat版本信息 阅读全文
posted @ 2023-10-30 20:01 路边两盏灯 阅读(37) 评论(0) 推荐(1) 编辑
摘要:问题描述 消费型逻辑应用(Consumption Logic App)使用触发器模式消费 Azure Service Bus的消息,当Service Bus中存在大量消息等待消费时,Logic App消费速度太慢,并发数无法满足需求。造成消息积压,有什么办法可以优化吗? 问题解答 在Logic Ap 阅读全文
posted @ 2023-10-25 20:40 路边两盏灯 阅读(30) 评论(0) 推荐(0) 编辑
摘要:问题描述 在App Service中,为App Service配置了访问限制,结果导致在克隆App Service的代码时候,遇见403错误。 问题解答 因为在使用 git clone App Service的应用代码时,使用的URL地址为 https://***.scm.chinacloudsit 阅读全文
posted @ 2023-10-24 20:00 路边两盏灯 阅读(26) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Azure Logic App的官网介绍中,使用SMTP组件发送邮件非常简单(https://docs.azure.cn/zh-cn/connectors/connectors-create-api-smtp#connect-to-smtp)。 本文通过实际操作,配置SMTP,然后设置E 阅读全文
posted @ 2023-10-23 20:37 路边两盏灯 阅读(180) 评论(0) 推荐(2) 编辑
摘要:问题描述 在App Service Linux环境中,如部署Tomcat 应用后,如果访问的页面找不到,应用会返回一个由Azure生成的404页面,那么是否可以修改它呢? PS: 如果是App Service for Windows,可以参考博文 [ App Service for Windows 阅读全文
posted @ 2023-10-18 21:56 路边两盏灯 阅读(40) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Azure Logic App中,使用Transform XML组件进行XML内容的转换,但是最近这个组件运行始终失败。 问题解答 点击Transform XML组件上的错误案例,并不能查看到详细的错误消息。 最后在Azure Logic App的产品团队确认下,发现这是Logic Ap 阅读全文
posted @ 2023-10-08 19:31 路边两盏灯 阅读(10) 评论(0) 推荐(1) 编辑
摘要:问题描述 编写Python Function,并且在Function中通过 subprocess 调用powershell.exe 执行 powershell脚本。 import azure.functions as func import logging import subprocess app 阅读全文
posted @ 2023-10-07 20:06 路边两盏灯 阅读(269) 评论(0) 推荐(1) 编辑
摘要:问题描述 启用App Service Local Git 部署,在Clone 代码库到本地时候,卡在Clone ‘xxxxxx’ ... ... 一动不动的问题? 问题解答 因为Git Clone没有任何日志输出,所以在其他IDE上也尝试Git App Service的代码库。在intellj的gi 阅读全文
posted @ 2023-09-26 20:11 路边两盏灯 阅读(14) 评论(0) 推荐(1) 编辑
摘要:"message": "You have exceeded the maximum amount of scale changes within the past hour(23 changes and limit is 20). Please retry later." 阅读全文
posted @ 2023-09-25 19:35 路边两盏灯 阅读(20) 评论(0) 推荐(0) 编辑
摘要:问题描述 Azure Function默认的Timeout时间是否可以调整呢? 问题解答 可以的,根据创建Function的时候选择的定价层不同,Function 默认的Timeout时间也不同。 消耗层的 functionTineout默认是5分钟,最大可修改为10分钟 高级和专用计划的默认值为3 阅读全文
posted @ 2023-09-12 19:37 路边两盏灯 阅读(169) 评论(0) 推荐(0) 编辑
摘要:问题描述 使用Azure App Service For Container 拉取 应用镜像,发现拉取失败。 错误消息: “Image pull failed since Inspect image returned null: xxxxxxx.azurecr.cn/dataapi:20230830 阅读全文
posted @ 2023-08-30 20:18 路边两盏灯 阅读(98) 评论(0) 推荐(0) 编辑
摘要:问题描述 在App Service For Linux 中,部署NodeJS应用,应用启动失败。 报错信息为: 2023-08-29T11:21:36.329731566Z RangeError: Incorrect locale information provided2023-08-29T11: 阅读全文
posted @ 2023-08-29 19:24 路边两盏灯 阅读(116) 评论(0) 推荐(0) 编辑
摘要:Exception while executing function: Functions.AzureBlobTrigger ---> Microsoft.Azure.WebJobs.Script.Workers.WorkerProcessExitException : node exited with code -1073740791 (0xC0000409) 阅读全文
posted @ 2023-08-21 20:14 路边两盏灯 阅读(62) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
点击右上角即可分享
微信分享提示