Hello all,
I am implmenting SAP CRM Sales Mobile,
well
everything looks good but i should create a remote connection system for sybase and backend systems.
I can easily connect in local environment but i must do it also remotly
.
Here is my relay server config. What should be my IPAD Crm Sales connection parameters ?
Host Name, Port , FarmID (probably 1 , i created 1 for it ) .
Ty
Hi,
On the client side:
Host name : the server name which relay server implemented
port : relay server port http or https
farmid: relayserver farm
example according to your attachment
hostname: 10.0.0209
port : 8001
farmid : <host>MBS
hope it helps.
Regards
Tahir
Hi,
what did you do so far ? can u give me more info ? Have you implement outbound enabler ? If its ios it has to be Messaging type and make sure its running successfully. After you do that you have to set farm id as your outbound enabler.
hello,
after configuring outbound enabler and start it, it gave me an error , like ;
I. 2012-06-18 16:05:58. <OEHost> [Outbound Enabler]
I. 2012-06-18 16:05:58. <OEHost> verbosity = 4
I. 2012-06-18 16:05:58. <OEHost> farm = 1
I. 2012-06-18 16:05:58. <OEHost> server_id = 2
I. 2012-06-18 16:05:58. <OEHost> token = ******
I. 2012-06-18 16:05:58. <OEHost> backend connect = host=localhost;port=5001;
I. 2012-06-18 16:05:58. <OEHost> rs connect = host=10.0.0.209;https=0;port=8001;url_suffix='/ias_relay_server/client/rs_client.dll';http_userid='STQWE\sttadm';http_password='******';
I. 2012-06-18 16:05:58. <OEHost> reconnect delay = 5
I. 2012-06-18 16:05:58. <OEHost> receive queue limit = 20
I. 2012-06-18 16:05:58. <OEHost>
I. 2012-06-18 16:05:58. <OEHost> Successfully connected to the relay server. Retrieving relay servers list..
I. 2012-06-18 16:05:58. <OEHost> Mac address: 00-50-56-aa-91-24!!
I. 2012-06-18 16:05:58. <OEHost> doHTTPRequest: sending POST request..
I. 2012-06-18 16:05:58. <OEHost> parseHTTP(): HTTP status received: 405
E. 2012-06-18 16:05:58. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed
Allow: GET, HEAD, OPTIONS, TRACE
Content-Type: text/html
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Mon, 18 Jun 2012 13:05:58 GMT
Content-Length: 1293
E. 2012-06-18 16:05:58. <OEHost> doHTTPRequest: read reply failed
well,
i fixed post method error,
now error changed to this ,
it stops at the end of packet read.
I. 2012-06-18 17:03:01. <OEHost> [Outbound Enabler]
I. 2012-06-18 17:03:01. <OEHost> verbosity = 4
I. 2012-06-18 17:03:01. <OEHost> farm = 1
I. 2012-06-18 17:03:01. <OEHost> server_id = 2
I. 2012-06-18 17:03:01. <OEHost> token = ******
I. 2012-06-18 17:03:01. <OEHost> backend connect = host=localhost;port=5001;
I. 2012-06-18 17:03:01. <OEHost> rs connect = host=10.0.0.209;https=0;port=8001;url_suffix='/ias_relay_server/client/rs_client.dll';http_userid='STQWE\sttadm';http_password='******';
I. 2012-06-18 17:03:01. <OEHost> reconnect delay = 5
I. 2012-06-18 17:03:01. <OEHost> receive queue limit = 20
I. 2012-06-18 17:03:01. <OEHost>
I. 2012-06-18 17:03:01. <OEHost> Successfully connected to the relay server. Retrieving relay servers list..
I. 2012-06-18 17:03:01. <OEHost> Mac address: 00-50-56-aa-91-24!!
I. 2012-06-18 17:03:01. <OEHost> doHTTPRequest: sending POST request..
I. 2012-06-18 17:03:01. <OEHost> parseHTTP(): HTTP status received: 200
I. 2012-06-18 17:03:01. <OEHost> parseHeaders: successfully parsed Content-Length: 0
I. 2012-06-18 17:03:01. <OEHost> Connection established to RS..
I. 2012-06-18 17:03:01. <OEHost> attempting to packet read..
Hi Bilen,
I am too facing the same problem, please let me know how did you fix it.
Thanks,
Elans
hello
i fixed it via some port forwarding techniques
no need for relay server for remote access.
Hi Bilen,
I'm facing the same error:
<OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed
Cache-Control: private
Allow: GET, HEAD, OPTIONS, TRACE
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Date: Thu, 02 Aug 2012 09:49:38 GMT
Content-Length: 5822
<OEHost> doHTTPRequest: read reply failed
Would you kindly provide how you fix the post method error?
Thank you!
Elina
hello, i fixed the error via some IIS configuration but i dont remember on which forum i found the solution ( it was an ASP.NET forum ) .
But it doesnt work ![]()
i solved whole solution via port forwarding try it.
Hi Bilen,
Many thank of your update.
I've add POST to my IIS. But here comes socket error.....
Would you mind providing those required port numbers such as 80,443,5001,2480?
How you fix port forwarding problem as well?
Thank you sooooooooooooo much!
Elina
hello,
we are installing relay server for remote access to sap crm sales,
well, another alternate is using port forwarding,
so we need a server which has a public ip and an open port for port forwarding.
after that, write this codes to server which has a public ip and open port for remote access for crm sales to inner servers.
netsh interface portproxy add v4tov4 listenport=12345 listenaddress=[publicipadress] connectport=5001 connectaddress=192.168.1.1
this will solve remote aaccess problem whiout installing relay server.
same logic.
for relay server you also need a public ip and port for remote acess.
Hello,
Still trying...
Many thank of quick update.
Best Regards,
Elina
hello,
port forwarding will work trust me
i am using same method. relay server give really strange errors.
trust me i am a doctor
gl hf.
Hi,
you have to configure RSOE (Outbound Enabler) on your SUP server configuration for message base communication.
Then on your device just use:
hostname: <relay server public address>
port : <server port> (usually 80 or 443)
farmid : <farmid> (as configured in the RSOE)
that's it
Regards,
Ivan
You can also find Relay Server configuration information on Sybase Product Documentation here:
Select the version of SUP you're using, then look at the Installation Guide for Runtime and Sybase Control Center (admin console).
--Emily