0

所以我在 GitLab 上的一些Twitter 机器人的管道未能部署到 Heroku。我使用了一种解决方法在 Heroku 上更新它,但我需要修复这个管道。我为 Travis CI 的用户找到了具有类似错误的其他答案,因此它让我认为存在某种身份验证错误。我仔细检查了 Heroku 的 API 密钥,并没有更改任何管道 YAML,所以我正在寻找后续步骤或一些帮助。这是我的管道中的错误。错误是关于法拉第默认适配器,我不确定我是否可以访问它,因为它是在管道中自动运行的。

Preparing deploy
No stash entries found.
/usr/local/bundle/gems/faraday-2.0.0/lib/faraday/rack_builder.rb:230:in `ensure_adapter!': An attempt to run a request with a Faraday::Connection without adapter has been made. (RuntimeError)
Please set Faraday.default_adapter or provide one when initializing the connection.
For more info, check https://lostisland.github.io/faraday/usage/.
    from /usr/local/bundle/gems/faraday-2.0.0/lib/faraday/rack_builder.rb:166:in `app'
    from /usr/local/bundle/gems/faraday-2.0.0/lib/faraday/rack_builder.rb:153:in `build_response'
    from /usr/local/bundle/gems/faraday-2.0.0/lib/faraday/connection.rb:445:in `run_request'
    from /usr/local/bundle/gems/faraday-2.0.0/lib/faraday/connection.rb:200:in `get'
    from /usr/local/bundle/gems/dpl-heroku-1.10.16/lib/dpl/provider/heroku/generic.rb:43:in `check_auth'
    from /usr/local/bundle/gems/dpl-1.10.16/lib/dpl/provider.rb:187:in `block in deploy'
    from /usr/local/bundle/gems/dpl-1.10.16/lib/dpl/cli.rb:41:in `fold'
    from /usr/local/bundle/gems/dpl-1.10.16/lib/dpl/provider.rb:186:in `deploy'
    from /usr/local/bundle/gems/dpl-1.10.16/lib/dpl/cli.rb:32:in `run'
    from /usr/local/bundle/gems/dpl-1.10.16/lib/dpl/cli.rb:7:in `run'
    from /usr/local/bundle/gems/dpl-1.10.16/bin/dpl:5:in `<top (required)>'
    from /usr/local/bundle/bin/dpl:25:in `load'
    from /usr/local/bundle/bin/dpl:25:in `<main>'
4

0 回答 0