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 2023/01/04 16:56:44 UTC

[GitHub] [couchdb-fauxton] glynnbird commented on issue #1382: Replicator {error, undef} after update to 3.3.0

glynnbird commented on issue #1382:
URL: https://github.com/apache/couchdb-fauxton/issues/1382#issuecomment-1371180369

   I attempted to reproduce and creating a document using Fauxton in the `_replicator` database, with a valid `source` and `target` worked just fine. But using form (e.g. http://127.0.0.1:5984/_utils/#/replication/_create) instead did fail with HTTP 403:
   
   ```
   {"error":"forbidden","reason":"{error,undef}"}
   ```
   
   (Mac M1 using Firefox)
   
   In the logs, from the point when I submit the form I see:
   
   ```
   [notice] 2023-01-04T16:54:43.991445Z couchdb@localhost <0.17434.0> 27974b6a26 127.0.0.1:5984 127.0.0.1 admin GET /_replicator/yyy 404 ok 2
   [notice] 2023-01-04T16:54:44.012962Z couchdb@localhost <0.17818.0> c91eb7297a 127.0.0.1:5984 127.0.0.1 admin GET / 200 ok 4
   [notice] 2023-01-04T16:54:44.020925Z couchdb@localhost <0.17818.0> 8726111c37 127.0.0.1:5984 127.0.0.1 admin GET / 200 ok 4
   [notice] 2023-01-04T16:54:44.036423Z couchdb@localhost <0.17434.0> 5af0cdfc7c 127.0.0.1:5984 127.0.0.1 admin POST /_replicator 403 ok 8
   [notice] 2023-01-04T16:54:44.848812Z couchdb@localhost <0.407.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
   [error] 2023-01-04T16:54:44.848940Z couchdb@localhost emulator -------- Error in process <0.17848.0> on node couchdb@localhost with exit value:
   {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,430}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,405}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,434}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,100}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,214}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,160}]}]}
   ```


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org