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 开发者_Go百科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.
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.
The current CouchDB release 1.0.2 fixes these issues.
精彩评论