我有一个Oython应用程序。它是一个带有aiohttp的脚本。我有requirements.txt和Procfile。我的部署阶段完成成功,但我不知道如何打开应用程序与正确的端口。
我的应用程序听Heroku PORT env。
Heroku日志返回:
2019-04-19T13:34:44.150477+00:00 app[api]: Release v7 created by user
doubledare704@gmail.com
2019-04-19T13:34:44.150477+00:00 app[api]: Deploy 1b35a335 by user
doubledar
我正在尝试从PyCharm部署Heroku Dash应用程序。在运行部署它的代码后,我得到了Heroku error code "H14 - No web dynos running“,其解决方案应该是heroku ps:scale web=1。下面是我在尝试运行该行时得到的错误: Scaling dynos... !
▸ Couldn't find that process type (web). 其他有这个问题的人已经被建议检查他们的procfile。我的文件格式正确,名称为“Procfile”。其中是web: gunicorn main:server,其中
我无法启动我的应用程序,它一直失败,有以下错误:
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
我在application.js文件夹中创建了config文件,内容如下:
module.exports = {
port: process.env.PORT || 1337
};
但这没什么用。
我的应用程序的结构如下。我对Heroku有两种不同的申请。它们都有完全相同的代码,除了不同的Procfile(以便我可以启动不同的脚本)。第一个应用是我的实际
根据Heroku站点,当我得到错误H14“没有网络进程运行”时,这是因为我需要:
heroku ps:scale web=1
然而,当我这样做时,我得到了以下错误:
Scaling web processes... failed
! No such type as web
有人知道怎么解决这个问题吗?我想让我的网站恢复正常!
当我运行heroku ps时,我什么也看不到。
更新:它没有检测到我的Procfile。我没有明确的Procfile,以前也没有使用过。这是绝对必要的吗?
我使用Django 3.1.5创建了一个应用程序,但由于某些原因,它不能正确部署。我会分享我的所作所为,并拥有它。
我已经设置了我的Procfile和我的requirements.txt,我按照我在网站上所说的做了部署,但我仍然收到一个错误。
在我的settings.py上,我有这个:
# on the top of the file
import django_heroku
# on the bottom of the file
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'stati
我的express.js代码出现了问题,它在本地主机上运行正常,但在Heroku上运行不正常,我认为这是某种错误,这是我的代码和我面临的错误 server.js const express = require("express")
const app = express()
let PORT = process.env.PORT || 3000
//for __dirname
const path = require('path')
//Render css if it wasnt included in html file
app.use(expre
Heroku日志 我正在尝试在heroku上部署django应用程序,这是我在heroku上部署的第一个应用程序,构建成功,但当我运行URL时,它显示应用程序错误和日志显示以下内容。 2020-07-29T07:58:24.000000+00:00 app[api]: Build started by user ketanpatil3106@
gmail.com
2020-07-29T07:58:59.203607+00:00 app[api]: Deploy 26b25759 by user ketanpatil310
6@gmail.com
2020-07-29T07:58:59.203
我使用Maven制作了一个简单的Java应用程序,我正在尝试部署它。首先,我有一个错误:
error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com: etc ...'
但是,我在这里找到了一个解决方案:
过了一会儿,我在我的终端中得到了以下信息:
remote: [INFO] BUILD SUCCESS
remote: [INFO] ------------------------------------------
这是我上一个问题的延续:
目前,我有错误,code=H14 desc="No web processes running" wihch建议没有dynos。我试图通过执行heroku ps:scale web=1来修复这个问题,但是却得到了错误:Scaling dynos... ! ▸ Couldn't find that process type (web).。这个建议“通过heroku仪表板简单地禁用/启用”。不过,我看不出有什么办法能做到。其他一些可能的解决方案建议问题在于Procfile、它的位置或它的内容。
这是我的过程文件
web: gunicorn k
我在Heroku日志上看到以下错误:
2018-10-29T00:48:34.198959+00:00 heroku[reminder.1]: State changed from up to crashed
2018-10-29T00:48:59.855673+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=promo-reminder.herokuapp.com request_id=253b5e26-384e-4
我对蟒蛇和烧瓶很陌生。烧瓶的文件说你可以把你的应用程序部署到heroku,供公众访问。所以我转到heroku网站。我一步一步地遵循着入门指南。我成功地部署了这个应用程序,但是当我用给定的url (比如 )进行测试时,它说有错误。
错误信息是:
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
我尝试了her
2020-06-08T13:29:34.646588+00:00 heroku[web.1]: State changed from crashed to down
2020-06-08T13:29:43.000000+00:00 app[api]: Build succeeded
2020-06-08T13:30:05.843602+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=ocr101.herokuapp.c
我正在尝试使用Heroku部署我的应用程序。
我尝试通过CLI,并在他们的用户门户图形化。
我在构建日志中发现了这个问题:
Procfile declares types -> (none)
它不是在读我的过程文件。
下面是我的错误日志的一些最新行:
2020-05-08T04:32:57.546072+00:00 app[api]: Deploy 02e1e06c by user djrgrey@gmail.com
2020-05-08T04:32:57.546072+00:00 app[api]: Release v7 created by user djrgrey@gmail.c