Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Weird behavior Couchbase::Error::Protocol: failed to execute HTTP request

1 reply [Last post]
  • Login or register to post comments
Wed, 09/26/2012 - 03:45
pretif
Offline
Joined: 04/17/2012
Groups: None

Hello

I am trying to use Couchbase as a kind of small real time bus

Events are written in a bucket, readed and enriched with data and send to a second bucket.
This second bucket is accessed by clients. Volumes are low (a few thousand items per bucket)

Everything is fine except that I am getting "Couchbase::Error::Protocol: failed to execute HTTP request" quite regulary with "status="500" (Internal Server Error), error=0x15"

The HTTP request on the view is sane by itself and can be executed by hands in a browser with correct results
Looks like "sometimes" maybe when indexing, the server doesn't correctly answer

Typical request looks like : http://192.168.79.208:8092/brehat/_design/idx/_view/date_enrg?startkey=2...

This error can be trace down to D:/Ruby192/lib/ruby/gems/1.9.1/gems/couchbase-1.2.0.z.beta2-x86-mingw32/lib/couchbase/view.rb:288:in `continue' where it goes into C code

I am using the latest 2.0-beta with latest ruby SDK

Any idea on how to find more information
Rgds,
Philippe

Top
  • Login or register to post comments
Wed, 09/26/2012 - 03:56
pretif
Offline
Joined: 04/17/2012
Groups: None

seems that the error comes from the "updater"

[ns_server:error,2012-09-26T12:43:46.919,ns_1@192.168.79.208:<0.30837.1>:ns_memcached:verify_report_long_call:274]call topkeys took too long: 640000 us
[couchdb:error,2012-09-26T12:43:52.945,ns_1@192.168.79.208:<0.19122.139>:couch_log:error:42]Set view `brehat`, main group `_design/dev_idx`, doc loader error
error: {case_clause,{error,eacces}}
stacktrace: [{couch_db,fast_reads,2},
{couch_set_view_updater,'-load_changes/7-fun-2-',6},
{lists,foldl,3},
{couch_set_view_updater,load_changes,7},
{couch_set_view_updater,'-update/7-fun-2-',10}]

[couchdb:error,2012-09-26T12:43:52.945,ns_1@192.168.79.208:<0.20086.0>:couch_log:error:42]Set view `brehat`, main group `_design/dev_idx`, received error from updater: {case_clause,
{error,
eacces}}
[ns_server:error,2012-09-26T12:43:56.816,ns_1@192.168.79.208:<0.30841.1>:ns_memcached:verify_report_long_call:274]call topkeys took too long: 515000 us

Rgds
Philippe

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