You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/05/14 15:25:55 UTC
[GitHub] [couchdb] SajanGone opened a new issue #2887: CouchDB 2.1.1 replication -- could not setup replication all of a sudden
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 couchdb@127.0.0.1 <0.5186.0> 4f5d551751 rexi_server: from: couchdb@127.0.0.1(<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:
users@infra.apache.org
[GitHub] [couchdb] wohali closed issue #2887: CouchDB 2.1.1 replication -- could not setup replication all of a sudden
Posted by GitBox <gi...@apache.org>.
wohali closed issue #2887:
URL: https://github.com/apache/couchdb/issues/2887
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [couchdb] SajanGone commented on issue #2887: CouchDB 2.1.1 replication -- could not setup replication all of a sudden
Posted by GitBox <gi...@apache.org>.
SajanGone commented on issue #2887:
URL: https://github.com/apache/couchdb/issues/2887#issuecomment-628821337
Thanks wohali. Very much appreciate your comments. Very helpful.
I will use the chat room and mailing list for this discussion and anything of such sort go forward.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [couchdb] wohali commented on issue #2887: CouchDB 2.1.1 replication -- could not setup replication all of a sudden
Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2887:
URL: https://github.com/apache/couchdb/issues/2887#issuecomment-628780558
That's a timeout on calling the validate_document_update. Your server is likely too busy to process the request.
You can try bumping the timeout value (`[couchdb] os_process_timeout`), or you can allocate more CPU and RAM to your machine and try again.
Also, this is not a CouchDB bug. GitHub is for actual CouchDB bugs only. Sorry about that.
If you are looking for general support with using CouchDB, please try one of these other options:
* The user mailing list. Signup instructions are [here](http://couchdb.apache.org/#mailing-lists)
* The Slack/IRC chat room. Joining instructions are [here](http://couchdb.apache.org/#chat)
----------------------------------------------------------------
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:
users@infra.apache.org