on 07-17-2015 5:42 PM
Hi We are trying to synchronize data through relay server and getting the Mobilink Communication Error - code 48. We have added the certificate in the code explicitly. Can you please let us know what can be done to resolve this. Test running from android emulator. Before adding the certificate through code we were getting Mobilink communication error code 24. SUP101DB.setApplication(app); SUP101DB.getSynchronizationProfile().setServerName(HOST); // Convenience only SUP101DB.getSynchronizationProfile().setPortNumber(443); SUP101DB.getSynchronizationProfile().setNetworkProtocol("https"); SUP101DB.getSynchronizationProfile().setNetworkStreamParams("url_suffix=/ias_relay_server/client/rs_client.dll/mysupclustersbx.rep"); ConnectionProfile dbSynchronizationConnectionProfile = SUP101DB.getSynchronizationProfile(); dbSynchronizationConnectionProfile.getStreamParams().setTrusted_Certificates(certificatePath); Thanks
Hello Vidyadhar,
wich version of Relay Server, which version of SMP are you using?
Did you already take a look at our Infocenter like e.g.Sample Code: Mutual Authentication
Is the behaviour the same on an emulator as on a real device?
KR
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas We are using SMP 2.3 SP5. This works on IOS device, but not working on android emulator. We are using the code SUP101DB.getSynchronizationProfile().setUserName(USERNAME); SUP101DB.getSynchronizationProfile().setPassword(PASSWORD); SUP101DB.getSynchronizationProfile().setServerName(HOST); // Convenience only SUP101DB.getSynchronizationProfile().setPortNumber(PORT); SUP101DB.getSynchronizationProfile().setNetworkProtocol("https"); SUP101DB.getSynchronizationProfile().setNetworkStreamParams("url_suffix=/ias_relay_server/client/rs_client.dll/id"); ConnectionProfile dbSynchronizationConnectionProfile = SUP101DB.getSynchronizationProfile(); dbSynchronizationConnectionProfile.getStreamParams().setTrusted_Certificates(certificatePath); Thanks
Hello Vidyadhar,
without more details about versioning and source code it's almost impossible to verify the issue.
1- Please first take a look at SAP KBA 1928774 https://service.sap.com/sap/support/notes/1928774
2 - If the KBA does not help please also take a look at:Communicating with SAP Mobile Server Through a Reverse Proxy
Thanks,
Andreas
Hi Andreas
I have tried the code mentioned in Note 1928774, but still getting Mobilink communication error 24.
We have tried with the same MBO package and the same client application with the same certificate on IOS simulator and android simulator. Synchronization works fine on IOS.
I am thinking whether this could be an issue with SQLAnywhere 16 as mentioned in Note 2134354
07-23 15:29:53.577: I/MocaLog(680): UltraLiteJ Error[-1305]: MobiLink communication error -- code: 24, parameter: , system code: 336134278
07-23 15:29:53.577: I/MocaLog(680): com.ianywhere.ultralitejni16.implementation.JniException: UltraLiteJ Error[-1305]: MobiLink communication error -- code: 24, parameter: , system code: 336134278
Our certificate is a Verisign certificate.
Certificate - .crt format - IOS - issue with reading certificate, Android - Mobilink communication error - 48
Certificate - .der format - IOS - works fine, Android - Mobilink communication error - 24
Thanks
Vidyadhar
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.