Hi Jan,

thanks for your quick reply!
Updating the _security object did the trick. Thanks alot!

Am 10.03.2020 um 12:09 schrieb Jan Lehnardt:
Heya Marcus,

Newly created databases are admin-only by default in 3.0 (which is different from 2.x):

https://blog.couchdb.org/2020/02/26/the-road-to-couchdb-3-0-security/ <https://blog.couchdb.org/2020/02/26/the-road-to-couchdb-3-0-security/>

So you’ll have to make an authenticated request against /dbname/_all_docs or change that database’s _security object, if you want to make the database publicly readable.

SSL should not play into this, as you’re getting an error message transmitted via SSL.

I just note that you showed a `http://` <http://`/> and not a `https://` <https://`/> request.

Yes, this was the url to the dev machine, of cours with https to the live server.

Regards
Marcus


Best
Jan
—

On 10. Mar 2020, at 11:39, Marcus Bieber <[email protected]> wrote:

Hi everyone,

I have a dev environment with CouchDB 2.3.1 which is running well.
I have an admin and no ssl.
So calls like http://1xx.1xx.xxx.xx:5984/dbname/_all_docs are no problem.

So now I wanted to setup the live server. CouchDB 3.0 with ssl and an admin.
Running fine.
Replication worked.
Now I get on the same call:

{
"error": "unauthorized",
"reason": "You are not authorized to access this db."
}

Did I miss / forget something.
Is this a problem caused by changes in 3.0 or could this be a problem of the ssl?

Can someone help me please.

Thanks in advance and kind regards
Marcus

--
itspoon GmbH
https://itspoon.com
[email protected]

Flugplatzstraße 111
90768 Fürth
+4991197913107

Klosterplatz 2
91438 Bad Windsheim
+4998416827863

Dipl. BWL Margus Kohv
Steuernummer: 218 129 403 73
Ust.ID-Nr: DE311062253

Reply via email to