SajanGone opened a new issue #2887: URL: https://github.com/apache/couchdb/issues/2887
[NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ ) ## Description [NOTE]: # ( Describe the problem you're encountering. ) [TIP]: # ( Do NOT give us access or passwords to your actual CouchDB! ) ## Steps to Reproduce [NOTE]: # ( Include commands to reproduce, if possible. curl is preferred. ) ## Expected Behaviour [NOTE]: # ( Tell us what you expected to happen. ) ## Your Environment [TIP]: # ( Include as many relevant details about your environment as possible. ) [TIP]: # ( You can paste the output of curl http://YOUR-COUCHDB:5984/ here. ) * CouchDB version used: 2.1.1 * Browser name and version: Google Chrome * Operating system and version: CentOS 7.6.1810 ## Additional Context I am relatively new to CouchDB, we just started doing a POC on it for our Customer Grid like application. We installed it on a CentOS machine using yum repositories and Everything worked well for some time and I was able to replicate from one database to another locally and also to a remote database. All of a sudden the replication setup stopped working. Whenever I try to set a new replication channel I am getting an "undefined" message on the browser. This is happening even when Source/Destination are specified to be local databases. I have tried uninstalling, wiping off the data/log directories and did a fresh install of couchdb 2.1.1 but the issue still persists. I can't wrap my head around on what is going on here. Any help, thoughts or suggestions is greatly appreciated. Many thanks in advance. Attached is the log file. Here is a small snippet of it. ------- [error] 2020-05-14T14:58:50.825757Z [email protected] <0.5186.0> 4f5d551751 rexi_server: from: [email protected](<0.2152.0>) mfa: fabric_rpc:update_docs/3 exit:{timeout,{gen_server,call,[couch_proc_manager,{get_proc,{doc,<<"_design/_replicator">>,{1,[<<133,169,97,208,217,178,53,183,180,240,123,174,209,163,143,218>>]},{[{<<"language">>,<<"javascript">>},{<<"validate_doc_update">>,<<"\n function(newDoc, oldDoc, userCtx) {\n function reportError(error_msg) {\n log('Error writing document `' + newDoc._id +\n '\\' to the replicator database: ' + error_msg);\n throw({forbidden: error_msg});\n }\n\n function validateEndpoint(endpoint, fieldName) {\n if ((typeof endpoint !== 'string') &&\n ((typeof endpoint !== 'object') || (endpoint === null))) {\n\n reportError('The `' + fieldName + '\\' property must exist' +\n ' and be either a string or an object.');\n }\n\n if (typeof endpoint === 'object') {\n if ((typeof endpoint.url !== 'string') || !endpoint.url) {\n reportError('The url property must exist in the `' +\n fieldName + '\\' field and must be a non-empty string.');\n }\n [couchdb.log](https://github.com/apache/couchdb/files/4629355/couchdb.log) Thanks, Sajan Gone. [TIP]: # ( Add any other context about the problem here. ) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
