The Forge Reference Project

 

Topic: FindPlay down?
Started by: Artanis
Started on: 1/22/2007
Board: CRN Games


On 1/22/2007 at 11:41am, Artanis wrote:
FindPlay down?

Hello Clinton

I was suggesting a registration on FindPlay to somebody today but the code doesn't seem to work any more, I get the following error when I try to sign in or register:

[code]could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5410?[/code]
[code]/app/models/player.rb:9:in `authenticate'
/app/controllers/player_controller.rb:37:in `login'[/code]

The "Show Framework Trace" link reports the following:
[code]/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `connect'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in `send'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in `connection='
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:108:in `retrieve_connection'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:239:in `connection'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:873:in `sanitize_sql'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:873:in `collect'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:873:in `sanitize_sql'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:756:in `add_conditions!'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:744:in `construct_finder_sql'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:343:in `find'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:341:in `find'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in `perform_action_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/filters.rb:295:in `perform_action_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `measure'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `process'
/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:144:in `process_request'
/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:64:in `process!'
/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in `each_cgi'
/usr/lib/site_ruby/1.8/fcgi.rb:597:in `session'
/usr/lib/site_ruby/1.8/fcgi.rb:104:in `each_request'
/usr/lib/site_ruby/1.8/fcgi.rb:36:in `each'
/usr/lib/site_ruby/1.8/fcgi.rb:597:in `each_cgi'
/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in `process!'
/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:21:in `process!'
/var/www/virtual/anvilwerks.com/rails/findplay.anvilwerks.com/public/dispatch.fcgi:24[/code]

Below that there's a button and then the following text:

[code]Request

Parameters: None

Show session dump

---
flash: !ruby/hash:ActionController::Flash::FlashHash {}

Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}[/code]

When I click the "Retry with Breakpoint" button I get this:
[code]Application error
Rails application failed to start properly[/code]

Hopefully this will be of use to you.

Message 23128#228907

Previous & subsequent topics...
...started by Artanis
...in which Artanis participated
...in CRN Games
...including keyword:

 (leave blank for none)
...from around 1/22/2007