You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
Please read these guidelines before opening an issue.
Bug Description
cloudant.couchdb does not work with ipv6 server addresses like
http://[fd78:3214:6290:d772::1:51]:5984
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
2. What you expected to happen
the couchdb server should be connected
3. What actually happened
requests.exceptions.InvalidURL: Failed to parse: http://fd78:3214:6290:d772::1:51:5984/_session
Environment details
Python 3.6
Remark:
the erroneous code can be found in the constructor of CouchDB()
here netloc is composed from parsed_url.hostname (without brackets) and the port number
the behaviour can easily be corrected by replacing with
The text was updated successfully, but these errors were encountered: