heroku - 部署在 heroku 上的 MERN 堆栈应用程序的 503(服务不可用)
问题描述
我已经在 heroku 上部署了我的 MERN 堆栈应用程序,但现在我在通过表单向我的后端发出 POST 请求时遇到了问题。
我已经运行了命令heroku logs --tail
我收到以下错误
at=error code=H12 desc="Request timeout" method=POST path="/api/auth" host=still-island-81891.herokuapp.com request_id=b151ea11-23e7-4677-a6d9-d8fd9a213098 fwd="47.30.225.200" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
谢谢!
解决方案
推荐阅读
- mysql - 在插入之前检查复合键是否存在的有效方法
- r - dplyr 的 sample_frac 函数返回错误
- microsoft-graph-api - MS Graph API 团队:获取消息计数
- scip - SCIP:在特定节点以各种模式获取下限和上限
- swift - 如何在collectionview中查看pdf文件?
- python - Python selenium 一直等待整个页面加载,即使有显式等待
- c - 无法将结构指针传递给 C 中函数内的函数
- swift - 将承载令牌添加到 Swift 中的标头的问题(HTTP POST 调用)
- gatsby - Gatsby、RSS 提要和无头 CMS
- javascript - “下载”图像并添加到数组