# Connection closed/connection refused problem with aaf

**URL:** <https://www.ruby-forum.com/t/connection-closed-connection-refused-problem-with-aaf/117256>\
**Category:** Ferret\
**Created:** [October 15, 2007, 1:02pm UTC](https://www.ruby-forum.com/t/connection-closed-connection-refused-problem-with-aaf/117256 "2007-10-15T13:02:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![myowntribe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a88e4f/32.png) [@myowntribe](https://www.ruby-forum.com/u/myowntribe)\
**Post date:** [October 15, 2007, 1:02pm UTC](https://www.ruby-forum.com/t/connection-closed-connection-refused-problem-with-aaf/117256/1 "2007-10-15T13:02:20Z")

</div>

Hi

I just uploaded my full site and I get this error due to acts\_as\_ferret  
configuration:

Processing LoginController#login (for 122.169.134.187 at 2007-10-15  
10:38:03) [POST]  
Session ID: e51aa5f632cc0227c2e259ea240ff97e Parameters:  
{“user”=\>{“name”=\>“nanda”, “password”=\>“hahaha”}, “action”=\>“login”,  
“controller”=\>“login”}  
default field list: [:name]

DRb::DRbConnError (connection closed):  
/usr/local/lib/ruby/1.8/drb/drb.rb:570:in `load' /usr/local/lib/ruby/1.8/drb/drb.rb:632:in`recv\_reply’  
/usr/local/lib/ruby/1.8/drb/drb.rb:921:in `recv_reply' /usr/local/lib/ruby/1.8/drb/drb.rb:1195:in`send\_message’  
/usr/local/lib/ruby/1.8/drb/drb.rb:1086:in `method_missing' /usr/local/lib/ruby/1.8/drb/drb.rb:1170:in`open’  
/usr/local/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing' /usr/local/lib/ruby/1.8/drb/drb.rb:1103:in`with\_friend’  
/usr/local/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing' /vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in`send’  
/vendor/plugins/acts\_as\_ferret/lib/remote\_index.rb:16:in  
`method_missing' /vendor/plugins/acts_as_ferret/lib/act_methods.rb:189:in`acts\_as\_ferret’ /app/models/user.rb:2  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/dependencies.rb:495:in  
`require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in`new\_constants\_in’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/dependencies.rb:495:in  
`require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:104:in`require\_or\_load’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/dependencies.rb:248:in  
`load_missing_constant' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in`const\_missing’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/dependencies.rb:464:in  
`const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:260:in`load\_missing\_constant’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/dependencies.rb:468:in  
`const_missing' /app/controllers/login_controller.rb:140:in`login’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action\_controller/base.rb:1095:in  
`send' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in`perform\_action\_without\_filters’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action\_controller/filters.rb:632:in  
`call_filter' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:619:in`perform\_action\_without\_benchmark’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action\_controller/benchmarking.rb:66:in  
`perform_action_without_rescue' /usr/local/lib/ruby/1.8/benchmark.rb:293:in`measure’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action\_controller/benchmarking.rb:66:in  
`perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/rescue.rb:83:in`perform\_action’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action\_controller/base.rb:430:in  
`send' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in`process\_without\_filters’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action\_controller/filters.rb:624:in  
`process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:in`process’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action\_controller/base.rb:330:in  
`process' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in`dispatch’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in  
`process' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in`synchronize’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in  
`process' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in`process\_client’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in  
`each' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in`process\_client’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in`initialize’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in  
`new' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in  
`initialize' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in`new’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in  
`each' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel\_rails:127:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel\_rails:243  
/usr/local/bin/mongrel\_rails:16:in `load’  
/usr/local/bin/mongrel\_rails:16

And this is the configuration I gave in ferret\_server.yml file:

production:  
host: localhost  
port: my port number  
pid\_file: log/ferret.pid  
log\_file: log/ferret\_server.log  
log\_level: warn

Could anyone please help me in this?

Cheers

Cass
