On Mon, 23 May 2016 14:54:14 +0200
André Warnier (tomcat) <a...@ice-sa.com> wrote:

> On 23.05.2016 14:48, Bjørn T Johansen wrote:
> > On Mon, 23 May 2016 14:39:25 +0200
> > André Warnier (tomcat) <a...@ice-sa.com> wrote:
> >  
> >> On 23.05.2016 14:25, Bjørn T Johansen wrote:  
> >>> On Fri, 20 May 2016 13:49:35 +0200
> >>> André Warnier (tomcat) <a...@ice-sa.com> wrote:
> >>>  
> >>>> On 20.05.2016 12:54, Bjørn T Johansen wrote:  
> >>>>> When I access the status page everything works fine but when I try to 
> >>>>> access the manager page, I get the following error:
> >>>>>
> >>>>> This site can’t be reached
> >>>>>
> >>>>> The connection was reset.
> >>>>> Try:
> >>>>> Reloading the page
> >>>>> Checking the connection
> >>>>> Checking the proxy and the firewall
> >>>>> ERR_CONNECTION_RESET
> >>>>>
> >>>>>
> >>>>> I can not find any reasons for this in the default config, what am I 
> >>>>> missing?
> >>>>>  
> >>>>
> >>>> And in the Tomcat logfiles ?
> >>>>
> >>>>  
> >>> Nothing, except for this in the access log:
> >>>
> >>> [23/May/2016:14:23:22 +0200] "GET /manager HTTP/1.1" 302 -
> >>> [23/May/2016:14:23:22 +0200] "GET /manager/ HTTP/1.1" 302 -
> >>> [23/May/2016:14:23:22 +0200] "GET /manager/html HTTP/1.1" 401 2473
> >>>
> >>>
> >>> What's strange is that if I try from the same subnet as the Tomcat is 
> >>> installed in, then it works. But not from another subnet...
> >>>  
> >>
> >> I don't remember if you ever posted the Tomcat version which you are using.
> >> In case it is 8.0.x, have a look here :
> >> http://tomcat.apache.org/tomcat-8.0-doc/manager-howto.html#Configuring_Manager_Application_Access
> >> (The paragraph starting with : "In addition to the password 
> >> restrictions,..")
> >> Check with the on-line docs relevant to your version, if there isn't 
> >> something like that
> >> configured on your system.
> >>  
> >
> > Yes, we are using version 8.0.x
> > And last week I just downloaded the new version 8.0.35 and added my user in 
> > the tomcat-users.xml file and tried on an empty tomcat server and I got
> > the same result...
> >  
> 
> And did you really check what I asked you to check above ?
> A 401 response (as shown by the above log) means "forbidden".
> If you say that from some place you can access it, and from others not, then 
> there is 
> somewhere something that makes a difference based on your client's IP address.
> 
> 
Yes, I read the same page last week. I even tried to add a file containing:

<Context privileged="true">
         <Valve className="org.apache.catalina.valves.RemoteAddrValve"
                allow="127\.0\.0\.1"/>
</Context>

with my ip address without any change...

And yes, I know the logic behind the error message but I can not find any logic 
to why it's happening.. Also if /status works, why wouldn't /manager ?

BTJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to