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

undefined method `return_code=' for nil:NilClass #150

Open
JimiSmith opened this issue Jul 13, 2018 · 0 comments
Open

undefined method `return_code=' for nil:NilClass #150

JimiSmith opened this issue Jul 13, 2018 · 0 comments

Comments

@JimiSmith
Copy link

Hi

I'm seeing the following crash when using typhoeus

For some context this is being called as part of a fluentd plugin. There is the potential that two different hydra instances are being used when in seperate threads but as far as I can tell the same hydra instance will only be used from one thread.

undefined method `return_code=' for nil:NilClass

/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/ethon-0.11.0/lib/ethon/multi/operations.rb:148:in `check'
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/ethon-0.11.0/lib/ethon/multi/operations.rb:164:in `run'
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/ethon-0.11.0/lib/ethon/multi/operations.rb:43:in `perform'
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/runnable.rb:15:in `run'
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/memoizable.rb:51:in `run'
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

1 participant