[CCBC-475] Better error messag when failing to connect using SSL Created: 11/Jul/14  Updated: 18/Jul/14  Resolved: 18/Jul/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.4.0-dp1
Fix Version/s: 2.4.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Patrick Varley Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: 3.0 Cluster
SSL


 Description   
When I try to connect to the cluster with .pem file that did not exist the error message suggested it was a network issue:

[patrick:~/Code/C/libcouchbase] master* 1 ± LCB_SSL_MODE=1 LCB_SSL_CACERT=bad.pem ~/Code/Python/set.py
Traceback (most recent call last):
  File "/Users/patrick/Code/Python/get-loop.py", line 5, in <module>
    cb = Couchbase.connect(bucket='beer-sample', host='192.168.71.101')
  File "/Library/Python/2.7/site-packages/couchbase/__init__.py", line 219, in connect
    **kwargs)
  File "/Library/Python/2.7/site-packages/couchbase/connection.py", line 153, in __init__
    self._do_ctor_connect()
  File "/Library/Python/2.7/site-packages/couchbase/connection.py", line 163, in _do_ctor_connect
    self._connect()
couchbase.exceptions._NetworkError_0x10 (generated, catch NetworkError): <RC=0x10[Network failure], There was a problem while trying to send/receive your request over the network. This may be a result of a bad network or a misconfigured client or server., C Source=(src/connection.c,878)>

It would be good if the error message was better.

get-loop.py

#!/usr/bin/python
import time
from couchbase import Couchbase

cb = Couchbase.connect(bucket='beer-sample', host='192.168.71.101')
while True:
    result = cb.get('new_holland_brewing_company-sundog')
    print result
    time.sleep(1)

 Comments   
Comment by Mark Nunberg [ 11/Jul/14 ]
http://review.couchbase.org/#/c/39320/




[CCBC-477] Configuration provider may erroneously revert to HTTP Created: 14/Jul/14  Updated: 18/Jul/14  Resolved: 18/Jul/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.4.0-dp1, 2.4.0-beta
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Major
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
The configuration provider may erroneously revert to CCCP in cases where the client sleeps in between operations. In this case the timer to request a new configuration expires during the sleep interval and the library then assumes that the provider has failed.

This is also caused by the CCCP provider not cancelling its timeout when a new configuration has been received, but only when the actual refresh has been paused.




[CCBC-473] cbc utility is not listed on man page index Created: 07/Jul/14  Updated: 18/Jul/14  Resolved: 18/Jul/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: docs
Affects Version/s: 2.3.2
Fix Version/s: 2.3.3
Security Level: Public

Type: Bug Priority: Major
Reporter: Matt Ingenthron Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
The cbc utility man page is not on the index so it's possible to get the man page only through installation.

 Comments   
Comment by Matt Ingenthron [ 07/Jul/14 ]
I could not find a .next to put the fix version on, please set that up.
Comment by Mark Nunberg [ 07/Jul/14 ]
Which index is this? - The new Doxygen pages will contain references to the relevant manpages on the side bar; so I guess this can be considered fixed in 2.4?
Comment by Matt Ingenthron [ 07/Jul/14 ]
The API reference off of the docs site. Given that it exists, it takes 2 minutes, we've somehow skipped this API reference publishing step for 2.3.1 and 2.3.2, it'd be really nice to fix it one-off for 2.3.2.
Comment by Mark Nunberg [ 07/Jul/14 ]
http://review.couchbase.org/#/c/39180/




[CCBC-476] Create EL7 repositories Created: 12/Jul/14  Updated: 17/Jul/14  Resolved: 17/Jul/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: None
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Major
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Mark Nunberg [ 15/Jul/14 ]
I've managed to build the RPMs. however I need a system to test this on...




Generated at Thu Jul 24 02:14:39 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.