功能主机未运行 [英] Function host is not running

查看:45
本文介绍了功能主机未运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我天蓝色有一个功能应用程序,当我点击该功能应用程序的URL时,它说功能主机未运行". 我不确定必须在哪里检查以及需要更改的内容. 我尝试重新启动,但仍然没有运气.

I have a Function App in azure and when I hit the URL of the function app it says "Function host is not running." I am not sure where I have to check and what needs to be changed. I tried restart but still no luck.

推荐答案

这通常意味着您的功能应用程序中存在一些错误的配置,导致主机无法启动. host.json无效或proxies.json无效文件是可能的原因.

This usually means that there is some bad configuration in your function app which is causing the host to fail to start up. Things like having an invalid host.json or an invalid proxies.json file are a possible cause.

要进行诊断,最好查看功能主机日志.如果您在Azure门户中打开功能应用程序并打开日志流,则应该能够获取有关正在发生的事情的更多信息.

To diagnose, it's best to look at the function host logs. If you open your function app in the Azure portal and turn on log streaming, you should be able to get more information about what's going on.

如果找不到任何内容,请公开或

If you're not able to find anything, please let us know the name of your function app either publicly or privately and we can help take a look at the logs for you.

这篇关于功能主机未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆