othmanechentouf opened a new issue #3561:
URL: https://github.com/apache/couchdb/issues/3561


   Hello everyone,
   I'm new to couchdb and I'm trying to connect to a remote server to start 
retrieving and adding to a database within the server.
   My code is pretty simple so far as I can't get far anymore as it raises an 
error through this code, the server uses a certificate and it is installed on 
my mac (I think the problem might be coming from that but I don't know how to 
fix it) :
   
   `import couchdb
   
   couchserver = couchdb.Server("https://%s:%[email protected]/"; % (login, pwd))
   couchserver.resource.session.disable_ssl_verification()
   
   for dbname in couchserver:
   --->print(dbname)`
   
   The error I get :
   
   ~/miniconda3/lib/python3.8/site-packages/couchdb/http.py in request(self, 
method, url, body, headers, credentials, num_redirects)
   419 raise Unauthorized(error)
   420 elif status == 403:
   --> 421 raise Forbidden(error)
   422 elif status == 404:
   423 raise ResourceNotFound(error)
   
   Forbidden: b''


-- 
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:
[email protected]


Reply via email to