Skip to Content
Author's profile photo Andre Fischer

SSO problem with the SAP Gateway Client /IWFND/GW_CLIENT

Since I ran into the same problem two times this week I thought it would be a good idea to post the solution in a small blog …

When configuring a demo system for SAP Gateway I tried to test an OData service using the SAP Gateway client /IWFND/GW_CLIENT and got the following error message:

HTTP Send failed:  

HTTPIO_ERROR_CUSTOM_MYSAPSSO~Fehlermeldung beim

Senden der Daten.

HTTPIO_ERROR_CUSTOM_MYSAPSSO.PNG

Since Single Sign-On is one of the key features of the SAP Gateway Client such an error message is quite annoying.

First possible root cause

The reason was that the following instance profile parameters were not set correctly.

login/accept_sso2_ticket

login/create_sso2_ticket

The correct values are (as mentioned in the Online Help 😉 😉 😉 Profile Parameters – SAP Gateway Foundation (SAP_GWFND) – SAP Library )

login/accept_sso2_ticket = 1

login/create_sso2_ticket = 2

So always read our documentation carefully 🙂 .

To test the settings without maintaining the instance profile you can use transaction RZ11.

rz11.PNG

Press the Display button and the following window opens:

rz11_2.#PNG.PNG

Here you can choose the Change Value button that lets you change the parameter value immediately (but not permanently) so that I was able to proceed with my testing.

Second possible root cause

The same error also occurred in a second system but here the SSO problem did not vanish after changing the profile parameters mentioned above.

The error was more basic here since the certificates in that demo system were not valid anymore.

Looking into STRUST showed that something was wrong with the certificates.

An error that should hopefully not occur to often ;-).

STRUST_Problem.png

Best Regards,

Andre

Assigned Tags

      13 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mahendra Bhandari
      Mahendra Bhandari

      Perfect Andre! It's very useful....

      KR,

      ~ MB

      Author's profile photo wangyuewu CCC
      wangyuewu CCC

      very useful....


      thanks

      Author's profile photo Martin Simois
      Martin Simois

      Great! Thanks for this help!

      Author's profile photo challoju ravi
      challoju ravi

      Thank you  Andre Fischer


      My issue has been solved with your good guidance


      Ravi.Ch

      Author's profile photo Hernan Henriquez
      Hernan Henriquez

      Very nice, this solved my issue as well

      Author's profile photo Michael Pytel
      Michael Pytel

      Solved my issue!

      Author's profile photo Suman Biswas
      Suman Biswas

      Thanks Andre! Solved me issue!..:)

      Author's profile photo Katharina Santacroce
      Katharina Santacroce

      thanks!

       

      Author's profile photo Former Member
      Former Member

      Thanks Andre! Solved also my issue 🙂

      Author's profile photo Pradeep Reddy pp
      Pradeep Reddy pp

      Andre - I am facing HTTP receive failed: ICM_HTTP_CONNECTION_FAILED when I try to execute  or when I do f4 on EntitySets in /IWFND/GW_CLIENT.

      I have checked in config, RFC connections and also your blog to check profile parameters and STRUST, and also in SICF and proxy settings everything is as mentioned by you but I am keep getting when I try to click execute or click entityset button

       

       

      Author's profile photo Andre Fischer
      Andre Fischer
      Blog Post Author

      Ensure that the server is reachable at the specified port number. Have you tried via browser using /iwfnd/maint_service ?

       

      Author's profile photo Pradeep Reddy pp
      Pradeep Reddy pp

      Yes Andre, I can see the table records when I take the link and execute in browser.  I checked service name/port and its active in SMICM. I am able to work with webdynpro  links in browser. I don't see any issue with the server.  When I try to execute in /IWFND/GW_CLIENT, I see this pop up message.  I re created project couple of times and no luck.

      Author's profile photo Rafael Guimbala
      Rafael Guimbala

      Genius!