首页 > 解决方案 > 在 heroku 上部署 node.js 应用程序时出现 H18 错误

问题描述

我为邮件列表制作了一个注册页面。当我在本地运行我的网络应用程序时,我已经将我的网络应用程序与 mailchimp 实时 API 连接起来,以存储注册接收新闻通讯的用户的信息,它运行良好,没有任何服务器错误。但是当我使用 node.js buildpack 在 heroku 上部署我的 web 应用程序时,我遇到了这个错误。我正在获取我的主页以注册新闻通讯,但是当我单击提交注册时,我正面临这个问题。

'2021-06-06T11:25:41.491643+00:00 heroku[router]: sock=backend at=error code=H18 desc="Server Request Interrupted" method=POST path="/" host=affan-news-letter .herokuapp.com request_id=9541a436-b4ed-4cd2-a9a6-def1a088d121 fwd="106.193.229.246" dyno=web.1 connect=1ms service=80ms status=503 bytes=protocol=https'

这个问题的解决方案是什么?

标签: node.jsapiheroku

解决方案


推荐阅读