Closed yuvalIndie closed 5 months ago
no implicit conversion of String into Integer
suggest it's trying to use a string key on an array,. e.g.:
foo = []
foo["blah"]
It's not clear from the information you posted what exactly is wrong, but something must be wrong.
Either way, I'm quite certain the issue isn't in redis-rb
but even it it was, 4.x
is EOL so nothing for me to do.
I suggest you put some debug statement in that code to see what value is being passed.
Hey there ! trying to run websockets using action_cable sidekiq and redis (heroku redis addon). on staging env that has same redis machine im able to run everything smoothly but on production upon trying to connect to websocket: wss://XXXXXX.herokuapp.com/cable i get the next error:
/app/vendor/bundle/ruby/2.7.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:22:in
initialize': no implicit conversion of String into Integer (TypeError)`full trace from heroku logs:
cable.rb:
sidekiq.rb initilazer:
redis.rb initializer
configuration added:
Gemfile.lock related gems: sidekiq (6.5.12) connection_pool (>= 2.2.5, < 3) rack (~> 2.0) redis (>= 4.5.0, < 5)
thanks !