iOS Question [SOLVED] B4i->B4J server SSL connection failure

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hello

We have a B4J websocket server using SSL. It uses a keystore file for the SSL and the ports are configurable(HTTP/SSL). We have been using this for all our android apps and it works great. We have lots of customers using our server suite(they are are a few servers that do different tasks all with their own SSL ports using the Keystore file.). Last week I upgraded one of our iOS apps to connect to the status event server(server app that process events from our SOS app). I get the following error from in iOS app when it try's to connect to the SSL port.

B4X:
02/01/2021 09:10:48.585 - Atlas SOS - cls_status_event::Initialize
02/01/2021 09:10:48.593 - Atlas SOS - cls_status_event::Start wss://customer.domain.com:2002/se_sos_android
02/01/2021 09:10:48.712 - Atlas SOS - cls_status_event::wsh_Closed, Reason=Error Domain=NSOSStatusErrorDomain Code=-9807 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9807, _kCFStreamErrorDomainKey=3}
02/01/2021 09:10:48.715 - Atlas SOS - cls_status_event::Service_Destroy

se_sos_android is the class that services the connection and process's the data received. As I mentioned we have lots of customers using the software, each customer has their own registered domain.

How do I overcome this error. I tried using the non secure port and it obviously worked.

All suggestions/recommendations would be appreciated.


Regards

John.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…