It looks like you're doing something that's searching while the Rails app is being loaded - in an initializer, perhaps?
Is there a stack trace when you run that rake task, and can you share it with us? -- Pat On 30/01/2011, at 1:02 PM, tashfeen.ekram wrote: > I had originalyl posted my issue here: > > http://groups.google.com/group/thinking-sphinx/browse_thread/thread/bf78f59e29d8d168/a09c3841fddd84d5?lnk=gst&q=conneciton+refused#a09c3841fddd84d5 > > But, I upgraded everything and it seemed like that solved the problem. > Now, when I run in developmemnt mode everything runs fine. However, > when I try to do it in produciton mode, i run into the same error. > > rake RAILS_ENV=production thinking_sphinx:configure --trace > (in /var/www/xxx) > ** Invoke thinking_sphinx:configure (first_time) > ** Invoke thinking_sphinx:app_env (first_time) > ** Execute thinking_sphinx:app_env > Sat Jan 29 20:57:54 -0500 2011 > rake aborted! > Connection to 127.0.0.1 on 9312 failed. Connection refused - > connect(2) > > i am running rails 3.0.3, riddle 1.2.2, and thinking-sphinx 2.0.2. > > thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
