I am experiencing the following problem that I would like kindly to ask you to help me with.
On a backend server I set up a consolidated SQL Anywhere database that is started with the Mobilink Server and runs fine. I also connceted afterwards successfully the Mobilink and SQL Anywhere Outbound enabler to a Relay Server. So the server side appears to be fine for me.
Now, on a Linux virtual machine client I am using the following script for my remote database:
/sqlanywhere12/bin32/dbmlsync -c "host=localhost;uid=DBA;pwd=sql" -o logMOB.txt -e "ctp=http;adr='host=myServer;port=1080;url_suffix=/cli/iarelayserver/Farm.MOB/'"
with myServer being reachable and Farm specifing the server farm. Now when I send this command I receive the following error: E. 2011-11-10 12:20:37. An error status was returned: '400'.
On the server side the Mobilink outbound enabler reports: E. 2011-11-10 03:20:41. <backend-0000> Session was disconnected at the middle of a packet sequence. Aborting sidx=65535
and the Mobilink server reports: E. 2011-11-10 03:20:41. <main> [-10376] Received unexpected HTTP traffic on port 2439
I would appreciate very much any help you could give me on this matter.
Thank you very much.
Best regards Sebastian
My guess would be that MobiLink is listening for TCPIP on port 2439 while the client is talking HTTP. If this is the case the MobiLink -x option would be used to setup the intended sync stream. e.g. -x http(port=2439). If you go to another port for HTTP such as 80, then you would need to update the rsoe command line accordingly.
answered 10 Nov '11, 10:40
Your URL suffix looks different than I was expecting. I would have expected the URL suffix to look more like :
If you change the URL, does that help? What does your start line for the RSOE look like? I'm not convinced the server side is setup correctly either.
answered 10 Nov '11, 09:01