Security

Reply
Frequent Contributor I
Posts: 76
Registered: ‎11-23-2010

Captive portal and redirect loop error - ArubaOS 6.1.3.7

Hi guys,

This is the first time i'm configuring captive portal in my network.

I tried the default captive portal page and this worked well.

 

I tried to modify the portal changing the background and putting a little text and this worked well.

 

Now I upload a basic html page (Aruba Hotel) like I see here in Airheads as a top level page of Captive Portal and now I have the error ERR_TOO_MANY_REDIRECTS on Chrome.

 

I saw many topics about redirect loop here, but I'm confused about to do.

Is it a bug of this version?

Aruba
Posts: 1,542
Registered: ‎06-12-2012

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

Usually too many redirects means that your role is not correct and does not have the server where the CP is held.
Thank You,
Troy

--Give Kudos: found something helpful, important, or cool? Click Kudos Star in a post.

--Problem Solved? Click "Accepted Solution" in a post.
Frequent Contributor I
Posts: 76
Registered: ‎11-23-2010

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

The CP server is the controller. Do you have a tip where do I configure it?

MVP
Posts: 1,413
Registered: ‎11-30-2011

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

you just uploaded a different page to the controller? you didn't modify the rest of the configuration?

 

can you go back and make it work again with the default page?

 

if it works again have a look at the page you uploaded and perhaps share it here so we can see if everything is up with it.

 

if you changed the configuration then have a look at the following items

the pre-logon role is configurated in the aaa profile (Security > Authentication > Profiles; Initial role)

that role has an captive portal profile attached (Security > Access Control > User Roles; Captive Portal Profile)

the captive portal has a (different) post authentication role (Security > Authentication > L3 Authentication; Default Role)

Frequent Contributor I
Posts: 76
Registered: ‎11-23-2010

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

Thank you for the tips.

First, we made a configuration of the captive portal with our needs and the default page of the controller.

It worked well. Our security team made a security analisys of this implementation and aproved it.

 

The second step is the customization of the page. 

We created a custom page based on the default page of Aruba. And the redirect loop appears.

We put a basic page we saw here http://community.arubanetworks.com/t5/Command-of-the-Day/COTD-How-to-customize-the-Captive-Portal/td-p/15012 and the problem occurs again.

 

I revert to factory default settings and the captive portal is working.

MVP
Posts: 1,413
Registered: ‎11-30-2011

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

i suspect that something is wrong with the page you use and that causes the redirect loop. but there is too little detail on what exactly you modify.

 

  • We created a custom page based on the default page of Aruba

what did you modify? did you for example add pictures linked from an external source?

 

best way to trouble shoot is to modify step by step and see when the system fails. if you don't understand why it fails there please report back explains what exact modification caused this.

Frequent Contributor I
Posts: 76
Registered: ‎11-23-2010

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

Ok.

I reset the captive portal to the default page of controller. It works fine, with the logo of Aruba.

 

I uploaded the page copied here "indexBCB.html" in the controller and choose the option:

 

Page Type: Captive Portal Login (top-level)

 

 

<BR /><BR />
<PRE>
<BR /><BR /><BR />
<TITLE>Aruba Hotel</TITLE><BR /><BR /><DL><BR /><DD>
<B>Aruba Hotel</B></DD><BR />
<DD>For Reservations call</DD><BR />
<DD>in the US: (212) 575-2226 </DD>
<BR /><BR />
<DD>in the UK: (020) 7451-5180 </DD><BR />
<DD><A href="http://www.arubahotel.com" target="_blank" rel="nofollow">www.arubahotel.com</A></DD><BR /></DL>
<BR /><BR />
<FORM method="post" autocomplete="off" action="/auth/index.html/u">
Please<BR />
Enter Username and Password<BR /><BR />
<INPUT name="user" accesskey="u" size="20" value="" /> <BR /><BR />
<INPUT name="password" accesskey="p" size="20" value="" type="password" /> <BR /><BR />
<INPUT value="Submit" type="submit" />
</FORM><BR />
</PRE>
<BR />
<BR />

 

After this, the redirect loop error appears.

 

 

MVP
Posts: 1,413
Registered: ‎11-30-2011

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

only by uploading it and then going there it already causes the loop?

 

your page don't seem the include some basic html tags, is that because of this site? could you attach the full info in a text file to the forum?

 

what did you base this page on?

Frequent Contributor I
Posts: 76
Registered: ‎11-23-2010

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

[ Edited ]

Yes. When I upload this the error appears.

I got this page here  http://community.arubanetworks.com/t5/Command-of-the-Day/COTD-How-to-customize-the-Captive-Portal/td-p/15012 

 

I don't know why, but I try to attach a file here and it doesn't work.

MVP
Posts: 1,413
Registered: ‎11-30-2011

Re: Captive portal and redirect loop error - ArubaOS 6.1.3.7

ok, yeah people complaint about that before, the not attaching thing. could you put it on pastebin or something like that?

 

when i visit that link i see the page like it should look, i can't see the html source for it.

Search Airheads
Showing results for 
Search instead for 
Did you mean: