首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >azure上的railway.js节点网站返回错误且不记录日志

azure上的railway.js节点网站返回错误且不记录日志
EN

Stack Overflow用户
提问于 2012-08-21 23:13:32
回答 1查看 230关注 0票数 0

当我尝试在azure上运行railway.js节点应用程序时,我得到了一个iisnode错误500。遗憾的是,LogFiles/nodejs和wwwroot/server.js.logs中的日志文件中没有任何内容

下面是响应

代码语言:javascript
复制
iisnode encountered an error when processing the request.

HRESULT: 0x2
HTTP status: 500
HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The node.exe process has not written any information to the stdout or stderr.

该应用程序在本地运行良好,我还可以将一个普通的hello world node应用程序(而不是railway.js应用程序)部署到Azure。如何获取有关该错误的更多信息,是否可以查看控制台输出?

EN

回答 1

Stack Overflow用户

发布于 2012-09-08 04:59:09

重新启动可以解决这个问题。它看起来可能与您用于会话缓存的机制有关,因为默认设置与在多个实例下运行不兼容。

要打开日志记录,请确保在iisnode.yml文件中设置了loggingEnabled: true,这样您就应该能够下载日志了

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12058022

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档