Is RhoConnect Client compatible with native net stack?
using android_net_curl = 1 I can login:
2023-12-05 10:42:39.298 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:298 2a295cb0 Net| POST request (Pull):
sync.myappdomain.com/rc/v1/app/login2023-12-05 10:42:39.335 1073-1165 ASH and....sensors@2.0-service.multihal I @ 7437.056: tcs3701: Recording lux = 244.401687 when prox NEAR
2023-12-05 10:42:39.335 1073-1165 ASH and....sensors@2.0-service.multihal I @ 7437.056: tcs3701: PROX sample: NEAR (0243), POFFSET: 004d, ORE: -1
2023-12-05 10:42:39.344 31445-31445 chromium com.myapps.myapp E [ERROR:page_load_metrics_update_dispatcher.cc(179)] Invalid first_paint 1.515 s for first_image_paint 1.381 s
2023-12-05 10:42:39.368 1073-1165 ASH and....sensors@2.0-service.multihal I @ 7437.089: tcs3701: PROX sample: FAR (0017), POFFSET: 004d, ORE: -1
2023-12-05 10:42:39.424 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:424 2a295cb0 Net| == Info (27 bytes): Trying 44.205.223.164...
2023-12-05 10:42:39.462 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:461 2a295cb0 Net| == Info (66 bytes): Connected to sync.myappdomain.com (44.205.223.164) port 443 (#0)
2023-12-05 10:42:39.462 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:462 2a295cb0 SSLImplJava| SSL connect to sync.myappdomain.com:443
2023-12-05 10:42:39.463 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:463 2a295cb0 SSLImplJava| Creating secure SSL factory
2023-12-05 10:42:39.518 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:517 2a295cb0 SSLImplJava| Creating TrustManager for system certificates
2023-12-05 10:42:39.518 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:518 2a295cb0 SSLImplJava| Loading all SSL certificates from config
2023-12-05 10:42:39.518 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:518 2a295cb0 SSLImplJava| SSL certificates loaded: 0
2023-12-05 10:42:39.518 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:518 2a295cb0 SSLImplJava| Creating TrustManager for custom certificates
2023-12-05 10:42:39.518 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:518 2a295cb0 SSLImplJava| clientSSLCertificate is
2023-12-05 10:42:39.521 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:521 2a295cb0 SSLImplJava| Secure SSL factory initialization completed
2023-12-05 10:42:39.687 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:687 2a295cb0 Net| => Send headers (184 bytes): POST /rc/v1/app/login HTTP/1.1
Host: sync.myappdomain.com
Accept: */*
Accept-Encoding: deflate, gzip
Connection: Keep-Alive
Content-Type: application/json
Content-Length: 80
2023-12-05 10:42:39.687 31445-31521 APP com.myapps.myapp I I 12/05/2023 10:42:39:687 2a295cb0 Net| => Send data (80 bytes): {"login”:”my”email@gmail.com,”password”:”mypassword”,”remember_me":1}
However, using android_net_curl = 0 and android_net_native_prebuilt extension, I cannot login:
2023-12-05 10:39:12.980 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:12:980 2603ecb0 Net| POST request (Pull):
sync.myappdomain.com/rc/v1/app/login2023-12-05 10:39:12.981 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:12:981 2603ecb0 SSLImplJava| Creating secure SSL factory
2023-12-05 10:39:13.017 1073-1165 ASH and....sensors@2.0-service.multihal I @ 7230.739: tcs3701: Recording lux = 308.398010 when prox NEAR
2023-12-05 10:39:13.017 1073-1165 ASH and....sensors@2.0-service.multihal I @ 7230.739: tcs3701: PROX sample: NEAR (03ff), POFFSET: 004d, ORE: -1
2023-12-05 10:39:13.051 1073-1165 ASH and....sensors@2.0-service.multihal I @ 7230.772: tcs3701: PROX sample: FAR (000b), POFFSET: 004d, ORE: -1
2023-12-05 10:39:13.115 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:115 2603ecb0 SSLImplJava| Creating TrustManager for system certificates
2023-12-05 10:39:13.115 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:115 2603ecb0 SSLImplJava| Loading all SSL certificates from config
2023-12-05 10:39:13.115 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:115 2603ecb0 SSLImplJava| SSL certificates loaded: 0
2023-12-05 10:39:13.115 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:115 2603ecb0 SSLImplJava| Creating TrustManager for custom certificates
2023-12-05 10:39:13.115 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:115 2603ecb0 SSLImplJava| clientSSLCertificate is
2023-12-05 10:39:13.116 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:116 2603ecb0 SSLImplJava| Secure SSL factory initialization completed
2023-12-05 10:39:13.126 30837-30983 TrafficStats com.myapps.myapp D tagSocket(246) with statsTag=0xffffffff, statsUid=-1
2023-12-05 10:39:13.574 30837-30983 pps.myapp com.myapps.myapp W Attempt to remove non-JNI local reference
2023-12-05 10:39:13.576 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:576 2603ecb0 ClientRegister| Dropping credentials - sess:
2023-12-05 10:39:13.576 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:576 2603ecb0 ClientRegister| Starting ClientRegister...
2023-12-05 10:39:13.576 30837-30925 APP com.myapps.myapp I I 12/05/2023 10:39:13:576 26344cb0 ClientRegister| Try to (un)register: 3
2023-12-05 10:39:13.576 30837-30925 APP com.myapps.myapp I I 12/05/2023 10:39:13:576 26344cb0 ClientRegister| Session is empty, don't need to unregister
2023-12-05 10:39:13.576 30837-30925 APP com.myapps.myapp I I 12/05/2023 10:39:13:576 26344cb0 ClientRegister| Unregistered: 3
2023-12-05 10:39:13.576 30837-30925 APP com.myapps.myapp I I 12/05/2023 10:39:13:576 26344cb0 ClientRegister| ClientRegister thread shutdown
2023-12-05 10:39:13.581 30837-30929 APP com.myapps.myapp I I 12/05/2023 10:39:13:581 2603ecb0 Sync| Login callback: Url :; Params: . Error code: 9. Message: Unable to authenticate ''