Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant Faraday::Error::TimeoutError #654

Open
kapso opened this issue May 4, 2020 · 2 comments
Open

uninitialized constant Faraday::Error::TimeoutError #654

kapso opened this issue May 4, 2020 · 2 comments

Comments

@kapso
Copy link

kapso commented May 4, 2020

Running into namespace issue.

Using the following version -

Typhoeus - 1.3.1
Rails - 6.0.2.2
Ruby - 2.7.1
Faraday - 1.0.1

Error

2020-05-04T16:11:18.258299+00:00 app[worker_a.7]: pid=4 tid=1y4k WARN: NameError: uninitialized constant Faraday::Error::TimeoutError
2020-05-04T16:11:18.258300+00:00 app[worker_a.7]: Did you mean?  Faraday::TimeoutError
2020-05-04T16:11:18.258379+00:00 app[worker_a.7]: pid=4 tid=1y4k WARN: /app/vendor/bundle/ruby/2.7.0/gems/typhoeus-1.3.1/lib/typhoeus/adapters/faraday.rb:100:in `block in request'
@millsaj
Copy link

millsaj commented May 11, 2020

I had this issue too but it seems to have been fixed with Typhoeus 1.4.0

Ruby 2.7.1
Rails (6.0.3)
Faraday (1.0.1)
Typhoeus (1.4.0)

@BanzaiMan
Copy link

It might be a good idea to have a 1.3.2 release that specifies faraday < 1.0 as a dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants