Description

Attempting to access J-Web, via either HTTP or HTTPS, but attempts are failing. The page returns the following message:

This webpage has a redirect loop, ERR_TOO_MANY_REDIRECTS

Symptoms

Attempts to access the device via J-Web fails. The following screenshot shows the page being returned:

alt

Solution

The interface where the request is coming into is not configured for web-management.

Check the configuration to make sure the interface you are coming in on is configured for web-management. For example, let's assume you are coming in on interface fe-0/0/7.0. Make sure your web-management is configured to include interface fe-0/0/7.0. You should have something like the following:

root# show 
--- snip ---
system {
    services {
        web-management {
            http {
                interface [ vlan.0 fe-0/0/7.0 ];
            }
            https {
                system-generated-certificate;
                interface [ vlan.0 fe-0/0/7.0 ];
            }                           
        }

If you do not have the fe-0/0/7.0 interface specified in web-management, you will see the redirect loop message.

Also make sure the interface is specified for host-inbound services:

[edit]
root# show security zones security-zone untrust 
host-inbound-traffic {
    system-services {
        all;
    }
}
interfaces {
    st0.0;
    fe-0/0/7.0;
}