Redirection limit for this URL

I have just installed Portal Server 2005q1 on Linux RedHat 3.0update4 on a machine with also the SRAP (gateway) component on a separate machine.

When I try to connect to the Portal thru the gateway in HTTPS I have the following error :

" Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked"

I have this problem on Firefox 1.0.6 or Konqueror on Linux

and also on Windows XP. Of course I have un-blocked cookies, disabled popup blocking but it does not change anything.

On WinXP IE it's even worse because the URL seems to be looping and nothing happens.

Any clues ?

Any help would be appreciated.

Thank you for your time.

[754 byte] By [jct266] at [2007-11-25 20:11:03]
# 1

Whenever I had such a problem, the destination host doesn't

recognize the session cookie.

I would check

Service configuration -> SRA Configuration -> Gateway ->

[Instance] -> URLs to which User Session Cookie is Forwarded

This should include the address of your portal server; i.e.

http://portalserver.domain.com:8081

In addition, I would check

Service Configuration -> Access Manager Configuration ->

Platform -> Cookie Domains.

I always add all domains that are used by the portal and it's

gateways.

jmaihoefner2 at 2007-7-4 14:40:55 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

After some research and some help from SUN colleagues, I have found a solution to this problem.

On the gateway (SRAP) server host go to the directory

/etc/opt/sun/identity/config (on Linux) or

/etc/opt/SUNWam/config (on Solaris)

and edit the file AMConfig.properties.

Change the value of the parameter

com.iplanet.am.cookie.encode

from false (default)

to true and restart the gateway server.

Everything works fine now !

jct266 at 2007-7-4 14:40:55 > top of Java-index,Web & Directory Servers,Portal Servers...