Open dominicbarnes opened 6 years ago
can you share your exact setup, leaving out the password of course? I was not able to reproduce the problem with @hoodie/server
myself
oh could it be we run into https://github.com/pouchdb/pouchdb/issues/5814#issuecomment-347981790? PouchDB is a great project to contribute to as well, happy to help out if you get stuck
Currently, if you use a Cloudant backend along with a
dbUrl
config that is missing a/
at the end, you'll end up with an error like this:The fix is ensuring the URL has a
/
appended, and this appears to be caused by this "hack". In my case, it ended up making the db hostname<account>.cloudant.comhack
, which triggers the above DNS lookup error.Possible solutions here include:
/
and throw an error/
when missing