RuntimeError: An attempt to run a request with a Faraday::Connection without adapter has been made #1247
Open
Description
I'm using dpl in GitLab for Heroku CI/CD and I have the next error:
/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>'
It looks like a problem in the faraday-2.0.0 release which was a few minutes ago here
Metadata
Assignees
Labels
No labels