tomcat web应用授权远程失败

gj3fmq9x  于 2021-07-06  发布在  Java
关注(0)|答案(0)|浏览(246)

我在tomcat8.5服务器上部署了一个web应用程序,我正在使用端口转发通过公共地址公开它。
当我从本地访问我的应用程序时localhost:8080,一切正常。当我从公共地址远程访问它时,我会进入登录页面。登录之后,我不断得到以下提示:



野猫 loalhost_access_log.txt ```
197.253.224.143 - - [10/Dec/2020:09:37:49 -0800] "GET /manager-Microsoft-Edition-10.4.4/!/ou/OU_EA1E075C21554EF29AFF852159CF4979/.effective_user?%7B%22order%22:%5B%7B%22param%22:%22auth_name%22,%22direction%22:%22asc%22%7D%5D,%22limit%22:%7B%22offset%22:0,%22count%22:200%7D%7D HTTP/1.1" 200 666
197.253.224.143 - - [10/Dec/2020:09:37:49 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/empty.png HTTP/1.1" 304 -
197.253.224.143 - - [10/Dec/2020:09:37:49 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/ui_edit.png HTTP/1.1" 304 -
197.253.224.143 - - [10/Dec/2020:09:37:49 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/checkbox/on.png HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:37:52 -0800] "GET /manager-Microsoft-Edition-10.4.4/index.htm HTTP/1.1" 401 -
197.253.224.143 - - [10/Dec/2020:09:49:09 -0800] "GET /manager-Microsoft-Edition-10.4.4/ HTTP/1.1" 200 4078
197.253.224.143 - - [10/Dec/2020:09:49:10 -0800] "GET /manager-Microsoft-Edition-10.4.4/release/login.css HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:10 -0800] "GET /manager-Microsoft-Edition-10.4.4/release/login.js HTTP/1.1" 304 -
197.253.224.143 - - [10/Dec/2020:09:49:10 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/head/logo.png HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:10 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/progress.png HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:10 -0800] "GET /manager-Microsoft-Edition-10.4.4/release/collaborator.1033.txt HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:10 -0800] "GET /manager-Microsoft-Edition-10.4.4/localization/exception/1033.txt HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:10 -0800] "GET /manager-Microsoft-Edition-10.4.4/public_server_info HTTP/1.1" 200 117
197.253.217.133 - - [10/Dec/2020:09:49:13 -0800] "POST /manager-Microsoft-Edition-10.4.4/login HTTP/1.1" 200 53
197.253.217.133 - - [10/Dec/2020:09:49:13 -0800] "GET /manager-Microsoft-Edition-10.4.4/index.htm HTTP/1.1" 200 2635
197.253.217.133 - - [10/Dec/2020:09:49:13 -0800] "GET /manager-Microsoft-Edition-10.4.4/release/collaborator.css HTTP/1.1" 304 -
197.253.224.143 - - [10/Dec/2020:09:49:13 -0800] "GET /manager-Microsoft-Edition-10.4.4/release/collaborator.js HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:13 -0800] "GET /manager-Microsoft-Edition-10.4.4/!/about HTTP/1.1" 200 168
197.253.217.133 - - [10/Dec/2020:09:49:14 -0800] "POST /manager-Microsoft-Edition-10.4.4/multiple_request HTTP/1.1" 200 1984
197.253.217.133 - - [10/Dec/2020:09:49:14 -0800] "GET /manager-Microsoft-Edition-10.4.4/self/group HTTP/1.1" 200 161
197.253.217.133 - - [10/Dec/2020:09:49:14 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/wacontrols.xml HTTP/1.1" 200 57780
197.253.217.133 - - [10/Dec/2020:09:49:14 -0800] "GET /manager-Microsoft-Edition-10.4.4/release/slideInits.js HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:14 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/menu/logout.png HTTP/1.1" 304 -
197.253.224.143 - - [10/Dec/2020:09:49:17 -0800] "GET /manager-Microsoft-Edition-10.4.4/server/settings HTTP/1.1" 401 -
197.253.224.143 - - [10/Dec/2020:09:49:18 -0800] "GET /manager-Microsoft-Edition-10.4.4/server/settings HTTP/1.1" 200 1077
197.253.224.143 - - [10/Dec/2020:09:49:19 -0800] "GET /manager-Microsoft-Edition-10.4.4/index.htm HTTP/1.1" 200 2635
197.253.224.143 - - [10/Dec/2020:09:49:20 -0800] "GET /manager-Microsoft-Edition-10.4.4/index.htm HTTP/1.1" 200 4078
197.253.217.133 - - [10/Dec/2020:09:49:22 -0800] "GET /manager-Microsoft-Edition-10.4.4/server/named_user HTTP/1.1" 401 -
197.253.224.143 - - [10/Dec/2020:09:49:23 -0800] "GET /manager-Microsoft-Edition-10.4.4/!/group/?%7B%22search%22:%5B%7B%22param%22:%22active%22,%22operation%22:%22=%22,%22value%22:%221%22%7D%5D%7D%20 HTTP/1.1" 401 -
197.253.224.143 - - [10/Dec/2020:09:49:24 -0800] "GET /manager-Microsoft-Edition-10.4.4/!/group/
?%7B%22search%22:%5B%7B%22param%22:%22active%22,%22operation%22:%22=%22,%22value%22:%221%22%7D%5D%7D%20 HTTP/1.1" 200 448
197.253.224.143 - - [10/Dec/2020:09:49:25 -0800] "GET /manager-Microsoft-Edition-10.4.4/index.htm HTTP/1.1" 200 4078
197.253.224.143 - - [10/Dec/2020:09:49:25 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/mui-icons.ttf HTTP/1.1" 200 6764
197.253.217.133 - - [10/Dec/2020:09:49:25 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/order/asc.png HTTP/1.1" 304 -
197.253.224.143 - - [10/Dec/2020:09:49:25 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/tree/open.png HTTP/1.1" 304 -
197.253.224.143 - - [10/Dec/2020:09:49:25 -0800] "GET /manager-Microsoft-Edition-10.4.4/resources/order/none.png HTTP/1.1" 304 -
197.253.217.133 - - [10/Dec/2020:09:49:25 -0800] "GET /manager-Microsoft-Edition-10.4.4/public_server_info HTTP/1.1" 200 117

大约一周前我也遇到了同样的问题,我认为头文件中的身份验证权限有问题,因为它不断提示登录信息,所以我增加了权限 `maxHttpHeaderSize` 而且成功了。一切都很顺利。
现在我又面临着同样的问题,但似乎没有任何效果。
野猫 `server.xml` ```
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxHttpHeaderSize="65536" maxThreads="2000"/>

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题