Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

couchbase Client Time out with ruby 1.9.3

2 replies [Last post]
  • Login or register to post comments
Fri, 08/24/2012 - 16:06
tocsin
Offline
Joined: 08/24/2012
Groups: None

After we upgrade to rails 3.2.8 with ruby 1.9.3 (from 1.8.7), our couchbase client could no longer access our AWS cluster (couchbase 1.8 community edition).

1.9.3p194 :011 > c = Couchbase.new("http://ec2-184-169-237-63.us-west-1.compute.amazonaws.com:8091")
=> #

1.9.3p194 :012 > c.get("hello")
Couchbase::Error::Timeout: failed to get value (key="hello", error=0x16)
from (irb):12:in `get'
from (irb):12
from /Users/playmeshinc/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in `start'
from /Users/playmeshinc/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/commands/console.rb:8:in `start'
from /Users/playmeshinc/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/commands.rb:41:in `'
from script/rails:6:in `require'
from script/rails:6:in `'

On the admin panel, we cannot even see any request reaching the server.

However, if we use the memcache protocol on port 11211, everything works well. If we try the same code and same call on our local couchbase cluster (osx), things works just fine.

Any idea what might have happened? Is that because ruby couchbase client is not compatible with AWS or ruby 1.9.3?

Many Thanks.

Top
  • Login or register to post comments
Sun, 08/26/2012 - 19:53
scalabl3
Offline
Joined: 07/18/2012
Groups:

Is this the same question as the StackOverflow one? http://stackoverflow.com/questions/12117746/client-timeout-on-aws-couchb...

Thanks!

__________________

@scalabl3
Technical Evangelist
Couchbase Inc.
 

Top
  • Login or register to post comments
Mon, 08/27/2012 - 10:04
tocsin
Offline
Joined: 08/24/2012
Groups: None

Yes, it is the same questions and I already figured it out. Thanks!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker