Skip to content

Not accessable from local machine but it works from my amazon server  #55

@blazetango

Description

@blazetango

Initally I was able to work on my local machine and access simple db record easliy but from last few months i m faceing lot of issues .
when i try to access SimpleDb Records i get this
Retailer.all
Aws::AwsError: sdb.ap-southeast-2.amazonaws.com temporarily unavailable: (execution expired)
from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/http_connection-1.4.4/lib/right_http_connection.rb:335:in request' from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/http_connection-1.4.4/lib/right_http_connection.rb:325:inloop'
from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/http_connection-1.4.4/lib/right_http_connection.rb:325:in request' from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/aws-2.9.1/lib/awsbase/awsbase.rb:560:inrequest_info_impl'
from /home/chetan/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/1.8/benchmark.rb:293:in measure' from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/aws-2.9.1/lib/awsbase/benchmark_fix.rb:30:inadd!'
from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/aws-2.9.1/lib/awsbase/awsbase.rb:560:in request_info_impl' from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/aws-2.9.1/lib/awsbase/awsbase.rb:319:inrequest_info2'
from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/aws-2.9.1/lib/sdb/sdb_interface.rb:106:in request_info' from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/aws-2.9.1/lib/sdb/sdb_interface.rb:704:inselect'
from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/simple_record-2.1.0/lib/simple_record/active_sdb.rb:411:in sql_select' from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/simple_record-2.1.0/lib/simple_record/active_sdb.rb:293:infind_with_metadata'
from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/simple_record-2.1.0/lib/simple_record.rb:963:in find' from /home/chetan/.rvm/gems/ruby-1.8.7-p371/gems/simple_record-2.1.0/lib/simple_record.rb:1002:inall'
from (irb):2

The same code is working on amazon Ec2 medium instance (amazon LInux )
ruby 1.8.7
rails 3.2.11
and simple_record 2.1.0
Please can you help me out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions