Redis ECONREFUSE

Hi,

Since like 2 days everytime i try to :rebuild indexes on heroku, it gives me this error:

Running `rake thinking_sphinx:rebuild` attached to terminal... up, run.5304
Stopped search daemon (pid ).
rake aborted!
Error connecting to Redis on 127.0.0.1:6379 (ECONNREFUSED)

Tasks: TOP => thinking_sphinx:index => thinking_sphinx:lock_deltas
(See full trace by running task with --trace)

I searched around this as an issue of heroku, which apparently gets resolved if i install plugin redis to go and set the url in config. But we've been using this same version since forever. Why does sphinx suddenly need redis?

regards,
Hassan

  1. Hi Hassan

    Firstly: there’s nothing in Sphinx, Thinking Sphinx or Flying Sphinx that uses Redis. The ts-sidekiq-delta and ts-resque-delta gems do because of Sidekiq and Resque, but that means you would already be using Redis.

    Second: with Heroku, you want to use the fs tasks, not ts/thinking_sphinx tasks. So, try `heroku run rake fs:rebuild` instead?

    If the problem still persists beyond that, can you run the task with the —trace argument and let me know what the stack-trace is?

    Cheers

    Pat

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions