Android Question WSS SSL Issues

techknight

Well-Known Member
Licensed User
So, I have a specific device running Android 4.4.4 which I cannot update or change for any reason.

I am developing an App for it which uses WSS, and I cannot get WSS to work.

I found this thread:

https://www.b4x.com/android/forum/threads/ssl-websocket-client.88472/page-2#post-560044

But, it requires the google play services which this device does NOT have or use, it has no google services at all outside of the OS. I can install APKs to the device, etc just like any normal device. But its a Sign controller so I cant actually click buttons or anything along those lines. its just an output device only.

So given that, How do I get the WSS to work? I attached the Error message screenshot I get when I run the network provider program.

download.jpg

Any ideas?
 

techknight

Well-Known Member
Licensed User

OliverA

Expert
Licensed User

techknight

Well-Known Member
Licensed User
B4X:
Dim ws1 As WebSocket
    Dim cs As CustomTrustManager
    cs.InitializeAcceptAll
    ws1.Initialize("ws")
    ws1.SetCustomSSLTrustManager(cs)
Depends on Net library.

It will probably won't help in this case.
It worked for the API server! Not your server though.
 
Top