【问题标题】:Push failed: Could not get a logplex token for this app推送失败:无法获取此应用的 logplex 令牌
【发布时间】:2025-12-27 15:25:06
【问题描述】:

我正在尝试遵循 SFDC 集成工作簿。 http://www.salesforce.com/us/developer/docs/integration_workbook/integration_workbook.pdf

我卡在教程 #1 步骤:4:要将本地代码部署到 Heroku,请执行以下命令:git push heroku master

我收到此错误:

!     Push failed: Could not get a logplex token for this app. Please try the request again.
!     If the problem persists, see http://help.heroku.com and provide Request ID b6b5a577-2056- 4956-addb-8649abfaef2d.


To git@heroku.com:young-sierra-3666.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:young-sierra-3666.git'

我使用过 Rails+Heroku,但本教程使用 Java Spring MVC 框架...知道发生了什么吗?

由于某种原因,我的应用接缝被创建...

$ heroku info
=== young-sierra-3666
Git URL:       git@heroku.com:young-sierra-3666.git
Owner Email:   lutgardo21@gmail.com
Region:        us
Stack:         cedar
Web URL:       http://young-sierra-3666.herokuapp.com/

但不会出现在 Heroku 仪表板上

【问题讨论】:

  • 从错误来看,git服务器中有一个pre-receive钩子,它拒绝了你的push。你可以检查一下。

标签: git heroku github token


【解决方案1】:

这可能是一个临时问题,正如 status.heroku.com 网站确实提到的 (incident 167):

我们发现 Logplex 耗尽管理和尾部会话存在问题。
客户看到“!无法创建 Logplex 会话。请稍后再试。”
heroku logs 命令的错误,用于创建新的排水管或删除它。现有下水道不受影响。我们会继续调查。

【讨论】: