Couchbase lite android url

Using Couchbase lite in an Ionic cordova app using this library

If my device is connected to wifi and I install my app the url return from cblite.getUrl is as follows


and everything works fine.

If I then disconnect from wifi and use 4g the url changes to


and then I start getting 403 everywhere.

No idea why. IOS works fine.