我是heroku的新手。所以,抱歉这个愚蠢的问题。我的问题是,我不知道错误是什么,但是可以肯定的是,我无法通过 ssh 连接到我的 heroku 服务器。如果可能的话,我想知道如何获得更详细的错误日志或类似的东西。我试过添加-v或--verbose切换到heroku命令,但没有运气。
波纹管是我所做的完整动作,嗯,基本上我遵循了heroku网站上写的内容。
以下是根据 heroku 的教程站点通过 ssh 连接的方法。
Run Code Online (Sandbox Code Playgroud)xxx@yyy:~/xwprog/heroku-sample-gradle1 $ heroku ps:exec Establishing credentials... done Connecting to web.1 on ? guarded-fjord-42322... ? There was an error connecting to the dyno!
当前正在运行的进程
Run Code Online (Sandbox Code Playgroud)xxx@yyy:~/xwprog/heroku-sample-gradle1 $ heroku ps Free dyno hours quota remaining this month: 550h 0m (100%) For more information on dyno sleeping and how to upgrade, see: https://devcenter.heroku.com/articles/dyno-sleeping === web (Free): build/install/gradle-getting-started/bin/gradle-getting-started (1) web.1: up 2018/03/10 16:56:04 +0700 (~ 16m ago)
试图运行 bash,但它实际上是有效的。缺点是每次我断开连接时,状态也会重置,并且容易断开连接,并显示错误消息ECONNRESET: read ECONNRESET
Run Code Online (Sandbox Code Playgroud)xxx@yyy:~/xwprog/heroku-sample-gradle1 $ heroku run bash Running bash on ? guarded-fjord-42322... up, run.3587 (Free) ~ $
谢谢你。
| 归档时间: |
|
| 查看次数: |
1040 次 |
| 最近记录: |