cancel
Showing results for 
Search instead for 
Did you mean: 

redirect via webdispacther; can't get passed logon screen

former_member195792
Participant
0 Kudos

Hi all,

Im trying to access our SAP ABAP system via our webdispatcher.

The redirect works, as Im getting the logon screen from our SAP abap system that I want to login to.

However, when I fill in my userID and password, nothing happens. The login screen appears again.

Our Webdispatcher doesnt have a DNS name(yet) so I am accessing it via IP :

http://<ip webdispather>:8101

As Im getting the logon screen of our ABAP system, I can assume that the redirect is working fine, and all profile parameters are correct in the webdispatcher.

The only thing I can think of, but cannot test yet, is that the webdispatcher needs to have a DNS name to able to get this working ?
Does anyone have any suggestions ?

Thanks in advance,

Menno

Accepted Solutions (1)

Accepted Solutions (1)

former_member188883
Active Contributor
0 Kudos

Hi Meeno,

It is a good practise to use FQDN in webdispatcher and other SAP url.

Secondly check in SMICM whether http port is active

Also check in SICF whether relevant services are active.

You may perform manual checks with testing the webgui ITS service using saplogon pad.

Regards,

Deepak Kori

former_member195792
Participant
0 Kudos

HI,

When I go to the ABAP system, and test the SICF service, it goes OK.

The port are open, as I get the logon screen.This tells me the ports are open (I can also telnet them)

As I dont have a FQDN for the webdispatcher server (yet) I can only use IP address at this point.

Thanks,

Menno

former_member195792
Participant
0 Kudos

via webdispatcher, it just seems that the logon info is not passed through to the SAP system.

former_member188883
Active Contributor
0 Kudos

Hi Menno,

Could you share the full url which is being used for testing

Secondly share configuration of webdispatcher profile.

Regards,

Deepak Kori

former_member195792
Participant
0 Kudos

Hi Deepak,

webdispatcher URL :

http://213.207.88.127:8101

When you enter this you will see the redirect works.

former_member195792
Participant
0 Kudos

Ports 8100 is the MS port of ABAP system.

Port 8101 is the port of the webdispatcher used.

former_member188883
Active Contributor
0 Kudos

Hi Menno.

Please use ABAP MS port in the url

Also for testing specify full path of webgui from sicf.

for eg: <ip of webdispatcher>:<ms port>/sap/bc/.....webgui

Test with this

Regards,

Deepak Kori

former_member195792
Participant
0 Kudos

Hi Deepak,

Thank you for your reply,

That won't work for Obvious reasons:

The webdispatcher URL is only available with the port I defined when installing the webdispacther, (and shown in the instance profile of the webdispatcher with parameter )

From there it will redirect to the ABAP system ms port, and from there it will connect to the ICM of the SAP system.

When I am on the SAP server, and test the SICF service, it goes Ok.
This tells me that the SICF service is working fine.
Also, when I test the /sap/bc/.../webgui URL from the webdispatcher, I get the same result:
logon screen --> enter userID and password --> nothing happens

Regards,,

Menno

former_member188883
Active Contributor
0 Kudos

Hi Menno,

As suggested earlier could you test using FQDN and share the results.

Regards,

Deepak Kori

Former Member
0 Kudos

Hello,

I think the problem is indeed the use of an ip adress instead of a FQDN. When you logon successfully, you are supposed to get a MYSAPSSO2 cookie and to resend it for each successive URL.

A web browser sends only a cookie to all the servers part of the domain of the cookie.

As you don't use a domain no cookie is sent and you are not athenticated.

You should be able to verify this using an httpwatch trace.

Best Regards,

Olivier

Answers (4)

Answers (4)

former_member195792
Participant
0 Kudos

Hi All,

Indeed the issue is caused by using ipaddress instead of FQDN.

I added the ABAP system in the hostfile of the webdispacther, and added the webdispatcher server in the hostfile of the ABAP server.

I added both systems in my own hostfile on my laptop.

Also I added the fqdn in the instance profile of the webdispatcher, instead of the ipadress.

Thank you all for pointing me in the right direction.

Best regards,

Menno

former_member195792
Participant
0 Kudos

Hi all,

I have asked for a DNS name for our webdispatcher.

As soon as this is available I will let you know the results.

@Joshua: I can telnet from ABAP to Webdispatcher and vise versa on the ports that are defined, so no port issue.

Former Member
0 Kudos

You can use your own hosts file and don't have to wait for DNS entry.

Add to C:\Windows\System32\drivers\etc\hosts and entry

ip_of_webdispatcher     name_for_webdispatcher

and try to login

Former Member
0 Kudos

What happens when you try to login to the abap server (http) and not via the webdispatcher  ?

former_member195792
Participant
0 Kudos

Hi Adi,

If I logon to the ABAP server, and test the sicf service it works.

Former Member
0 Kudos

If i understand correct you installed the webdispatcher on a server and you try to redirect communication to a different ABAP server.

In order to investigate I would start by installing the web dispatcher locally on the ABAP server first.

Use the minimal .pfl file you can

Here is an example of a simple and working pfl (using 8080 as the webdispatcher port)

Try to login to the webdispatcher admin console:

http://<server>:<webdips_port>/sap/wdisp/admin/default.html

Make sure the status is green and running.

After that do the following:

1. Open a new browser session. If you use Internet Explorer go to file >> new session

2. try to login to the webgui using server name but this time use the webdispacther port:

http://<server>:<webdisp_port>/sap/bc/gui/sap/its/webgui

Update on the results (if you wish try this).

Former Member
0 Kudos

I'm assuming your web dispatcher is on the same network zone than your abap system?

This isn't a Firewall port issue is it?

Can you telnet from the dispatcher to the abap server on the port being used?

former_member182657
Active Contributor
0 Kudos

Hi,

Please share the screenshot for same.

Thanks,

Gaurav

former_member195792
Participant
0 Kudos

Hi Gaurav,

Screenshot of the logon screen :

I can fill in my user name and password, when I click "log on" , The same screen appears.

former_member182657
Active Contributor
0 Kudos

Hi ,

Please check you've activated webgui in transaction code SICF under bc -> gui

Also your access link would be like http://<your IP or FDQN Name>:8001/sap/bc/gui/sap/its/webgui.

As suggested by Deepak good to maintain FDQN for SAP urls.

Thanks,

Gaurav

former_member195792
Participant
0 Kudos

Hi Gaurav,

In sicf everything is activated: I can do a test of this service,and I get the same logon screen,only from within sicf, I can actually logon.

I will try to get DNS name and FQDN up and running asap, but to my understanding for testing purposes, IP address should also work.

I just cant figure out why this is happening....