Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Login Redirect Looping from Main.aspx back to Default.aspx

web-app

Server:
2003
IIS6 using port 80 and Apache using port 81
Gemini 2.2 (forms authentication)
SQL Server 2005

Client:
Windows XP
IE 7.0

Logging into the Gemini while on the server works fine, no problems at all. When I attempt to log in from another computer, I can't log in. The only way that I can is to log in using the Default page and while it is hanging, change the url to /main.aspx at which point I'm in. Using Fiddler, I see that the site is in an endless loop, from default.aspx to main.aspx to default.aspx to ....

I really need to get this fixed as it is holding up production/development. Thanks in advance for any assistance you can provide. I've spent several hours trying to think of a solution. Here is the export of sessions/requests...

POST /issuetracker/default.aspx HTTP/1.1
Accept: /
Referer: http://myintraspek.com/issuetracker/
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
Proxy-Connection: Keep-Alive
Content-Length: 503
Host: myintraspek.com
Pragma: no-cache
Cookie: .ASPXANONYMOUS=r1tDYjwSyAEkAAAANTk5ZGE3NGUtZWEwOC00NDkxLWIyZjYtYzcyYmM0Y2ZjZGViGS9s7hUSOwDDlGJ4z3L1wCfI6eo1; ASP.NETSessionId=pwrvgbuj4ax20nmgizvzxnaf; CATS=q4s3drvd1denjbojhh098clsb1


HTTP/1.1 302 Found
Date: Sat, 11 Aug 2007 01:58:31 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /issuetracker/Main.aspx
Set-Cookie: Gemini22=354523CE29F0982A77A8CB71A6369B365E9F8F8B6AC09AD367EE2D55FB571550DD8F059303EFBB3B1A1C5B57AEC1F6BD14EE8FD5A26D691C4EE36A5C24D094ADB9B4D4132523918C60167044FB37C56431CEED207FF4B95F4E1C6B0AF129C02DC4D02B3AC93911E617FC77D59E40E80D; path=/IssueTracker
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 140

------------------------------------------------------------------

GET /issuetracker/Main.aspx HTTP/1.1
Accept: */*
Referer: http://myintraspek.com/issuetracker/
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
Proxy-Connection: Keep-Alive
Host: myintraspek.com
Pragma: no-cache
Cookie: .ASPXANONYMOUS=r1tDYjwSyAEkAAAANTk5ZGE3NGUtZWEwOC00NDkxLWIyZjYtYzcyYmM0Y2ZjZGViGS9s7hUSOwDDlGJ4z3L1wCfI6eo1; ASP.NET
SessionId=pwrvgbuj4ax20nmgizvzxnaf; CATS=q4s3drvd1denjbojhh098clsb1


HTTP/1.1 302 Found
Date: Sat, 11 Aug 2007 01:58:33 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /IssueTracker/Default.aspx?ReturnUrl=%2fissuetracker%2fMain.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 181

------------------------------------------------------------------

GET /IssueTracker/Default.aspx?ReturnUrl=%2fissuetracker%2fMain.aspx HTTP/1.1
Accept: /
Referer: http://myintraspek.com/issuetracker/
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
Proxy-Connection: Keep-Alive
Host: myintraspek.com
Pragma: no-cache
Cookie: Gemini22=354523CE29F0982A77A8CB71A6369B365E9F8F8B6AC09AD367EE2D55FB571550DD8F059303EFBB3B1A1C5B57AEC1F6BD14EE8FD5A26D691C4EE36A5C24D094ADB9B4D4132523918C60167044FB37C56431CEED207FF4B95F4E1C6B0AF129C02DC4D02B3AC93911E617FC77D59E40E80D; .ASPXANONYMOUS=r1tDYjwSyAEkAAAANTk5ZGE3NGUtZWEwOC00NDkxLWIyZjYtYzcyYmM0Y2ZjZGViGS9s7hUSOwDDlGJ4z3L1wCfI6eo1; ASP.NETSessionId=pwrvgbuj4ax20nmgizvzxnaf; CATS=q4s3drvd1denjbojhh098clsb1


HTTP/1.1 302 Found
Date: Sat, 11 Aug 2007 01:58:35 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /IssueTracker/Main.aspx?ReturnUrl=%2fissuetracker%2fMain.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 178

------------------------------------------------------------------

GET /IssueTracker/Main.aspx?ReturnUrl=%2fissuetracker%2fMain.aspx HTTP/1.1
Accept: */*
Referer: http://myintraspek.com/issuetracker/
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
Proxy-Connection: Keep-Alive
Host: myintraspek.com
Pragma: no-cache
Cookie: Gemini22=354523CE29F0982A77A8CB71A6369B365E9F8F8B6AC09AD367EE2D55FB571550DD8F059303EFBB3B1A1C5B57AEC1F6BD14EE8FD5A26D691C4EE36A5C24D094ADB9B4D4132523918C60167044FB37C56431CEED207FF4B95F4E1C6B0AF129C02DC4D02B3AC93911E617FC77D59E40E80D; .ASPXANONYMOUS=r1tDYjwSyAEkAAAANTk5ZGE3NGUtZWEwOC00NDkxLWIyZjYtYzcyYmM0Y2ZjZGViGS9s7hUSOwDDlGJ4z3L1wCfI6eo1; ASP.NET
SessionId=pwrvgbuj4ax20nmgizvzxnaf; CATS=q4s3drvd1denjbojhh098clsb1


HTTP/1.1 302 Found
Date: Sat, 11 Aug 2007 01:58:38 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /issuetracker/Main.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 9943

Jake
· 1
Jake
Replies (11)
helpful
0
not helpful

What authentication mode are you using (Windows or Forms)?

Also, is this an upgrade?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Server:
2003
IIS6 using port 80 and Apache using port 81
Gemini 2.2 (forms authentication)
SQL Server 2005

NEW INSTALL


Jake
· 1
Jake
helpful
0
not helpful

Seems like it might be a firewall issue, do you have a firewall installed?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

No Firewall, but I am doing point forwarding with the router. My PHP site running on Apache, port 81 runs fine. I also have Citrix on IIS, runs fine. Enable ports on router are:

80
81
443


Jake
· 1
Jake
helpful
0
not helpful

I am not sure what exactly you are doing. But it seems that the problem is that the login cookie is being lost or something similar. That is why you are getting the infinte loop.

What happens if you set AllowAnonymous to YES?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Just tried accessing your site from my machine and logging on.

IE just hangs

FF says "The page isn't redirecting properly".


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Google turned up the following insight elsewhere on the net:

"As far as I know, there's two reasons why that happens. One is you're not accepting cookies from that site, the other is you're failing the .htaccess. If it's not working on multiple browsers or computers, I'm leaning towards it being a router/firewall issue...that you're somehow not getting the cookies you should be."


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Setting AllowAnonymous to YES didn't make any difference.


Jake
· 1
Jake
helpful
0
not helpful

Sorry, was on vacation for a few days. One question. I am running another application CATS under Apache port 81 which works fine. My Citrix web access/site works fine on IIS port 80. When looking at the cookie, I see this (from my first post):
      CATS=q4s3drvd1denjbojhh098clsb1

Could this be causing a problem? Why would this be showing up since the CATS app is in Apache?

If it is a router issue, what ports do I need open for incoming requests? Just port 80, right?


Jake
· 1
Jake
helpful
0
not helpful

I did a complete reinstall of the site, then changed the web config to point to original database and everything is working fine. Should have done that when I first ran into problems! :-)


Jake
· 1
Jake
helpful
0
not helpful

No problem, as long as it works!


Harvey Kandola
· 212
Harvey Kandola