Hi,
I have following problem. We have couch DB on Server, but for outside we made apache reverse proxy and from outside our couch DB server visible as our.server.address/couchdb.
Replication from mobile Android device to to a database our.server.address/couchdb/mydatabase does not work. I looked into logs in Android Studio, and saw that couchbase lite does following:
GET our.server.address/couchdb/mydatabase/_session
Got error status: 404 for our.server.address/couchdb/mydatabase/_session
GET our.server.address/_session
connection refused
Which is of course wrong. If the logic is to make _session request to Couch DB instance, then the second request should be our.server.address/couchdb/_session.
I understand that in REST world we it is not clear that database instance under /couchdb, maybe should a new setting or property be introduced for that?
Currently we solved issue with a simple redirect in Apache Proxy from our.server.address/_session to our.server.address/couchdb/_session, but this is no good.
Thanks in advance