sensiblearts commented on issue #5343: URL: https://github.com/apache/couchdb/issues/5343#issuecomment-2499141725
I'm embarrassed to say I'm not sure, but I'm pretty sure it was 3.3.?. I probably updated it to the latest version in July 2024. It was at least 3.2, I'm sure. I don't see anything in the log files that could be useful, other than possibly an `undefined`: ``` [notice] 2024-11-25T21:23:44.133642Z [email protected] <0.5938.0> 7a195f7abb localhost:5984 127.0.0.1 undefined OPTIONS /userdb-6e6a612d34613136386430372d323037352d343235342d613262642d396465666130366230656530/_all_docs?startkey=%22djrn:%22&endkey=%22djrn:%EF%BF%B0%22&include_docs=true 204 ok 1 [error] 2024-11-25T21:23:44.136634Z [email protected] <0.10389.0> 4e967067dd rexi_server: from: [email protected](<0.5938.0>) mfa: fabric_rpc:open_shard/2 throw:{unauthorized,<<"You are not authorized to access this db.">>} [{couch_db,open,2,[{file,"src/couch_db.erl"},{line,177}]},{mem3_util,get_or_create_db,2,[{file,"src/mem3_util.erl"},{line,602}]},{fabric_rpc,open_shard,2,[{file,"src/fabric_rpc.erl"},{line,331}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,141}]}] [notice] 2024-11-25T21:23:44.137230Z [email protected] <0.5938.0> 4e967067dd localhost:5984 127.0.0.1 undefined GET /userdb-6e6a612d34613136386430372d323037352d343235342d613262642d396465666130366230656530/_all_docs?startkey=%22djrn:%22&endkey=%22djrn:%EF%BF%B0%22&include_docs=true 401 ok 2 ``` Some relevant request headers for the above: ``` access-control-allow-origin: * origin: http://localhost:4000 referer: http://localhost:4000/ sec-fetch-mode: cors sec-fetch-site: cross-site x-auth-couchdb-roles: x-auth-couchdb-token: 817f08ab61ec96b...blah..blah.. x-auth-couchdb-username: nja-4a168d07-2075-4254-a2bd-9defa06b0ee0 ``` The `secret` in Fauxton is the same. (I use the `secret` to generate the per-user token for the `x-auth` header, above.) The token and the username are the same, and the database has not changed, nor has the local.ini file. The only thing I know that changed is whatever the apt upgrade did, and now I get 401. (I can still log in to Fauxton as admin and view all dbs.) Thanks for any advice. I'm still in dev mode, so I think I'll just start from scratch with a fresh database and see what I can figure out. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
