Skip to content

CouchDB replication Issue #2042

@sudhir-naico

Description

@sudhir-naico

We have some issues with CouchDB replication.

We have two azure VMs with OS ubuntu server 16.04.3 LTS and installed CouchDB in both VMs. CouchDB replication from one server to another server hosted in azure VM is not working. In the replication interface (fauxton), replication state is 'running', but in 'active tasks', there is no tasks corresponding to the replication. The replication was working fine before. After increasing azure disk space on the server, Public IP address of the server changed, and we edited the replication configuration with new IP. Since the replication was not working, we removed existing replication and configured a new replication. Still the replication is not working. We looked into CouchDB log file and found timeout error. Our CouchDB version is v.2.1.1.

Here is the error from log file:-

"
2019-04-30_03:21:35.81520 [error] 2019-04-30T03:21:35.814844Z couchdb@127.0.0.1 <0.24773.645> -------- exit:{http_request_failed,"GET","http://:5984//",{error,{error,{conn_failed,{error,etimedout}}}}}: Replication 9335757b5ea5def3e7896351b8ef34a5 failed to start "http://5984//" -> "http://:5984//" doc <<"shards/c0000000-dfffffff/_replicator.1516781452">>:<<"f48985560be6f8cbe3176255560b51d5">> stack:[{couch_replicator_api_wrap,db_open,3,[{file,"src/couch_replicator_api_wrap.erl"},{line,119}]},{couch_replicator_scheduler_job,init_state,1,[{file,"src/couch_replicator_scheduler_job.erl"},{line,590}]}]
"

Today, I created a new VM with Ubuntu Server 16.04.6. Installed CouchDB 2.3.1. Tried to configure replication from one of the existing Server to the newly created server via fauxton UI. But got the same error. I created a new test database in the new server and configure replication from the test database to a new database in the newly created server, but got same error.

Is there any issue or limitations with CouchDB replication?

CouchDB Replication Configuration

CouchDB_Replication_Configuration
CouchDB Replication Status

CouchDB_Replication_Status
CouchDB Replication Active Tasks

CouchDB_Replication_Active_Tasks

Environment

  • CouchDB Version used: 2.1.1
  • Browser name and version: Firefox 67
  • Operating System and version: Ubuntu Server 16.04.3 LTS (Azure VM)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions