cancel
Showing results for 
Search instead for 
Did you mean: 

Https communication not connecting from sm59

Former Member
0 Kudos

Hi Team,

Scenario is , via sm59 we are connecting https URL  to third-party using a proxy server within our network  , and https port also opened in proxy server.


Is there any configurations required in sap for https communication with third party URL.


Error Logs:- While trying to connect https connection from proxy server to a third party URL , we are getting proxy 502 error.


My doubt is do we need to activate https service from ICM , Also  is it required to open 443 port number on that particular box


Can anyone help on this. Really appreciate your inputs.


Please suggest.


Regards,

Pradeep G.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

No need to activate https locally. Make sure the target application is https enabled.

In my understanding, from sm59 you are giving the url of the proxy server and the proxy is forwarding the request to the target application ? Is it apache proxy server ?

In that case, in the proxy server https enabled ?  Try to check the proxy server logs.

by which port the connection is happening ? is it default 443 or any other?

Try to telnet <hostname> <port> from sap server to proxy server and then proxy server to target app server .

If telnet fails then port has to be opened.

Regards,

Amit Jana.

Former Member
0 Kudos

Hi Amit,

Port is opened from SAP APP server to Proxy server and from proxy to target it's able to telnet.

But while communicating from sm59 connection is failing.

Thanks,

Pradeep G.

Former Member
0 Kudos

Are you able to find any logs in proxy server ?

Former Member
0 Kudos

Hi Amit,

Please find the below ,

Status HTTP Response    502

Status Text    Proxy Error ( No data record is available.  )

Duration Test Call    18895 ms

Technical Information (for support personnel)

  • Error Code 11004: Host not found
  • Background: This error indicates that the gateway could not find the IP address of the website you are trying to access, possibly due to lack of information in the DNS server.
  • Date: 2/07/2014 11:36:51 AM [GMT]
  • Server: adelisa001.originenergy.com.au
  • Source: DNS error

Thanks,

Pradeep G.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Pradeep,

1st.Check for this remote host is reachable from OS level using ping and telnet. Also, update your host and service file.

2nd. check for https parameters.

divyanshu

Former Member
0 Kudos

Hi Pradeep,

This error is frm proxy server or sap?

You mentioned from proxy to target you are able to telnet then how 'could not find the IP address' error is coming?

Better crosscheck if the target application is up and running .

Is the 3rd party url in a different network. In that case ports have to be opened from their end also.

I would suggest 1st do telnet and ping from SAP -> PROXY and PROXY -> 3RD PARTY. Then contact network team .

Amit.

patelyogesh
Active Contributor
0 Kudos

Hello Pradeep,

Can you please ask your network team to check DNS entry for server you trying to reach from SAP server?

OR

You can put target server name and IP in to host file on SAP server and try again.

Regards,

Yogesh

former_member188883
Active Contributor
0 Kudos

Hi Pradeep,

Inorder to use https url, you need to have https port activated in smicm.

general port is 443 for https.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,,

So do i need to open this port on SAP Appserver and then activate from smicm.

Please suggest.

Regards,

Pradeep G.

former_member188883
Active Contributor
0 Kudos

Hi Pradeep,

Ports needs to be enabled in /etc/services ( if not already done).

Also it has to be activated under smicm by seting icm\xx parameters. restart of SAP application is required post these changes.

Hope this helps.

Regards,

Deepak Kori