Details
-
Improvement
-
Resolution: Done
-
Major
-
None
-
None
Description
On test environment setup, with couchbase servers and sync gateway machines are in data center, and Android devices have Android 9 (Pie) running on couchbase-corp network, HTTP is no longer allowed. Solution either to upgrade TestServer running on HTTPS or add network security config to bypass the security policy so websocket connection won't get closed by Android OS.
https://developer.android.com/training/articles/security-config#base-config
http://www.douevencode.com/articles/2018-07/cleartext-communication-not-permitted/
adb log captured –
10-28 13:06:01.356 15332 15400 V CouchbaseLite/REPLICATOR: {Repl#9} Remote-DB ID 1 found for target <ws://172.23.106.104:4984/db/_blipsync>
10-28 13:06:01.356 15332 15406 W CouchbaseLite/NETWORK: WebSocketListener.onFailure() response -> null (java.net.UnknownServiceException: CLEARTEXT communication to 172.23.106.104 not permitted by network security policy)
Attachments
Issue Links
- relates to
-
CM-303 Android P security policy support for Xamarin-Android
- Done