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/01/23 18:23:25 UTC

[GitHub] [couchdb] wohali opened a new issue #2483: function_clause when replicator receives a 401 or 402

wohali opened a new issue #2483: function_clause when replicator receives a 401 or 402
URL: https://github.com/apache/couchdb/issues/2483
 
 
   ## Description
   
   If incorrect authentication is entered into a replicator document, the replicator crashes with:
   
   ```
   ChangesReader process died with reason: {function_clause,[{couch_replicator_api_wrap,'-changes_since/5-fun-2-',[401,[...
   ```
   
   This should be cleaned up.
   
   @willholley says "fwiw I've seen the same for 402 payment required errors which Cloudant sometimes sends."
   
   ## Steps to Reproduce
   
   Enable require_valid_user_true, set up user accounts, then attempt to replicate with missing or invalid credentials.
   
   ## Expected Behaviour
   
   Shouldn't result in a traceback in the logs.
   
   ## Your Environment
   
   * CouchDB version used: 2.3.1
   * Browser name and version: n/a
   * Operating system and version: Linux x64

----------------------------------------------------------------
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


With regards,
Apache Git Services