Error con bundle exec sidekiq

17 views
Skip to first unread message

Johan Donado B.

unread,
Oct 29, 2018, 7:01:08 PM10/29/18
to ror-es


Saludos.

Agradecería si alguien me puede orientar con este tema.

Al levantar el servicio de sidekiq me da estos errores.

Tengo esto en mis gemfile:

gem 'redis', '~> 4.0', '>= 4.0.2'
gem
'sidekiq', '~> 5.2', '>= 5.2.2'


Tengo instalado y ejecutando redis como servicio "redis-2.4.6" para windows.

Windows Server 2008 R2 Enterprise.  También lo probé en un equipo con Windows 10 y da el mismo error; sin embargo en otros equipos también con Windows 10 funciona.

Rails 5.1.6
ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]


De antemano muchas gracias.


bundle exec sidekiq


2018-10-29T22:51:59.090Z 7484 TID-1y31w INFO: Running in ruby 2.3.3p222 (2016-11
-21 revision 56859) [i386-mingw32]
2018-10-29T22:51:59.090Z 7484 TID-1y31w INFO: See LICENSE and the LGPL-3.0 for l
icensing details
.
2018-10-29T22:51:59.090Z 7484 TID-1y31w INFO: Upgrade to Sidekiq Pro for more fe
atures
and support: http://sidekiq.org
2018-10-29T22:51:59.090Z 7484 TID-1y31w INFO: Booting Sidekiq 5.2.2 with redis o
ptions
{:id=>"Sidekiq-server-PID-7484", :url=>nil}
ERR
Syntax error, try CLIENT (LIST | KILL ip:port)
C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t
.rb:119:in `call'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t.rb:102:in `
block in connect'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t.rb:294:in `with_reconnect'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t
.rb:98:in `connect'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t.rb:367:in `
ensure_connected'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t.rb:222:in `block in process'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t
.rb:307:in `logging'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t.rb:221:in `
process'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis/clien
t.rb:118:in `call'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis.rb:27
4:in `block in info'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis.rb:45
:in `
block in synchronize'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis.rb:45
:in `synchronize'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/redis-4.0.2/lib/redis.rb:27
3:in `
info'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.2.2/lib/sidekiq.r
b:113:in `block in redis_info'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.2.2/lib/sidekiq.r
b
:95:in `block in redis'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.2/lib/c
onnection_pool.rb:65:in `
block (2 levels) in with'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.2/lib/c
onnection_pool.rb:64:in `handle_interrupt'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.2/lib/c
onnection_pool
.rb:64:in `block in with'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.2/lib/c
onnection_pool.rb:61:in `
handle_interrupt'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.2/lib/c
onnection_pool.rb:61:in `with'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.2.2/lib/sidekiq.r
b
:92:in `redis'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.2.2/lib/sidekiq.r
b:106:in `
redis_info'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.2.2/lib/sidekiq/c
li.rb:80:in `run'

C
:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.2.2/bin/sidekiq:1
2:in `<top (required)>'
C:/RailsInstaller/Ruby2.3.3/bin/sidekiq:22:in `
load'
C:/RailsInstaller/Ruby2.3.3/bin/sidekiq:22:in `<main>'

Johan Donado B.

unread,
Oct 30, 2018, 9:55:54 AM10/30/18
to ror-es
Era la versión de Redis.  Se requería una versión superior.  Tuve que buscar por toda la web una versión superior para windows.

Gracias.

Matias Mascazzini

unread,
Oct 30, 2018, 10:27:29 AM10/30/18
to ror...@googlegroups.com
Que bien que lo hayas resuelto y que bueno que te hayas tomado el tiempo de publicarlo acá, así queda para futuras búsquedas.

Saludos
Matías Mascazzini



--
--
You received this message because you are subscribed to the Google
Groups "ror-es" group.
To post to this group, send email to ror...@googlegroups.com
To unsubscribe from this group, send email to
ror_es+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ror_es?hl=en
Rails no escala.

---
You received this message because you are subscribed to the Google Groups "ror-es" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ror_es+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Johan Donado B.

unread,
Oct 30, 2018, 10:34:24 AM10/30/18
to ror-es

Sí.  Lo complicado de esto es que las versiones actualizadas de Redis que se consiguen son para linux;  para windows encontré una versión desactualizada y ese era el problema.

Dejo el link donde conseguí una versión más actualizada para Windows:


El instalador .msi no me funcionó en el servidor;  el instalador se detenía.  Tuve que descargar la versión .zip.  Esta tiene unos ejecutables para iniciar el servidor Redis desde línea de comandos e instrucciones para crear el servicio si así lo queremos.

Espero le sirva a alguien.
Reply all
Reply to author
Forward
0 new messages