Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using CouchDB Replication via HTTPS

Tags:

https

couchdb

I am able to replicate local and remote databases using the CouchDB replication feature. However, if I specify the source to be a secure URL (e.g. https://www.mysecurehost.com) CouchDB returns a 500 error. I am able to successfully replicate if I specify the target to be a secure URL). I am using CouchDB V1.0.2. Any help regarding this matter would be greatly appreciated.

like image 247
JimZ Avatar asked Apr 22 '26 17:04

JimZ


2 Answers

According to Cloudant support,

CouchDB (including version 1.0.1) has trouble with HTTPS replication. If you can, try replicating with plain HTTP. Otherwise you’ll have to wait until CouchDB 1.1 is released (ETA early 2011).

They reference bug COUCHDB-491 ("Support replication over SSL"), which appears to be closed, but not actually fixed.

Update: According to Cloudant, the problem is still present if you're using a version of Erlang older than R14.

like image 52
Matt Passell Avatar answered Apr 25 '26 19:04

Matt Passell


The current CouchDB release 1.0.2 fixes these issues.

like image 32
Jan Lehnardt Avatar answered Apr 25 '26 19:04

Jan Lehnardt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!