Hi all, I'm tring to make our ios app working with relay server and sup 2.1.3.
I'm getting an error on db.subcribe method: onHttpCommunicationError errorCode 216.
I think could be something regarding connection settings. Relay Server and SUP server are correctly configured, i would like to know how parameters i have to set into user application connection into scc and the parameters to set into Xcode application.
Now my configurations are:
SCC application connection:
FarmID: MBSFARMID
ServerName: relayserver.sybase.com
ServerPort: 80
SynchronizationPort: 5001
XCODE SupConnectionProfile:
ServerName: relayserver.sybase.com
PortNumber: 80
NetworkProtocol: http
DomainName: default
NetworkStreamParams: trusted_certificates=;compression=none;url_suffix=/ias_relay_server/client/rs_client.dll/MBSFARMID
Thank you
Thank you, but i already seen your post and that configurations give me the HttpCommunicationError. I read that 2.1.3 version works with RBS also for ios app but if i set RBS farm into scc connection I get another error.
I think the problem is the configuration of IOS app with 2.1.3 via relay server.
In the code in the networkStreamParams you have to provide RBS farmID for url_suffix
You are right, i found some minute before you reply this doc: https://docs.google.com/viewer?a=v&q=cache:9bkfE-N8RMcJ:www.sdn.sap.com/irj/scn/index%3Frid%3D/library/uuid/40df7004-63a6-2f10-a29a-b626dea85bfa%26overridelayout%3Dtrue+&hl=en&pid=bl&srcid=ADGEEShPM5xKwfEj0LSzwD-vrNMsLI6PfjYX2sg7d8YgFKL2f1NlZfk9uefKTfKTjQH7lcCl2aYPkLUaH88neIWpGwzyNOdZA1PtUdtnu8RVb3wseHCvCU1xfRca1oSeRacdm7Mo0cm6&sig=AHIEtbROF0zqjv3yn7sk5rwoBrGxx2zB-A
Now subscribe works, but I have an error on syncronization: Sync failed: -857, Failure occured while executing user supplie.
Wich syncronization port I have to set into scc? The default is 2480 but if I use a workflow app via relay server we see that we have to set 5001.
the synchronization port has to be 2480, where as in the code if you are going through a relay server the port number has to be 80
-Srinivas Divakarla
I don't know why but deleting and reinstalling the app into the simulator the synchronization now works.
grazie Srinivas
Hi Alessandro,
Basically what happens is, android simulator works in a different way, when ever you re-launch the android simulator it will create a Unique device ID internally, unlike iOS simulator, so in this scenario, what you have to do is, you have to delete the SUP user from SCC and re-create the SUP user, where as this problem can not be seen in a device.
Regards,
Srinivas Divakarla
Hi Alessandro,
If you are using the android simulator no need to uninstall the app. Go to settings ->manage app-> select your app->force stop & clear data. Now it will work.
Regards
Midhun
Hi Alessandro,
Need to know the procedure like how you Added your sybase unwired server in Sybase Relay Hosted server.
After subscribing,in manage account,i clicked on Add sybase unwired Farm.In that i have checked Replication Based for SUP 2.1.3,entered random farm ID,but confused in entering server name???.....
Since it is alphanumeric i cant enter my Server IP,I have entered my Local hostname of SUP server......is it correct???
Regards,
Rehan