大家有没有碰到这样的问题? 是被攻击了?还是恶意访问?还是其他问题?


2021-11-15 00:32:43

[ERROR]-[Thread: XNIO-1 I/O-1]-[io.undertow.server.Connectors.executeRootHandler()]: UT005071: Undertow request failed HttpServerExchange{ CONNECT dnspod.qcloud.com:443}

java.lang.IllegalArgumentException: UT000068: Servlet path match failed

at io.undertow.servlet.handlers.ServletPathMatchesData.getServletHandlerByPath(ServletPathMatchesData.java:83)

at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:88)

at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:146)

at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:83)

at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:91)

at io.undertow.server.handlers.SetHeaderHandler.handleRequest(SetHeaderHandler.java:90)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:396)

at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:255)

at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)

at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59)

at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)

at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)

at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)

at org.xnio.nio.WorkerThread.run(WorkerThread.java:561)


2021-11-15 01:32:34

[ERROR]-[Thread: XNIO-1 task-30]-[com.jfinal.core.ActionHandler.handle()]: /

com.jfinal.render.RenderException: java.io.IOException: 远程主机强迫关闭了一个现有的连接。

at com.jfinal.render.TemplateRender.render(TemplateRender.java:76)

at com.jfinal.core.ActionHandler.handle(ActionHandler.java:113)

at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:90)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)

at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:111)

at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)

at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)

at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)

at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)

at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:396)

at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: 远程主机强迫关闭了一个现有的连接。

at sun.nio.ch.SocketDispatcher.writev0(Native Method)

at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:55)

at sun.nio.ch.IOUtil.write(IOUtil.java:148)

at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:502)

at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:184)

at io.undertow.server.protocol.http.HttpResponseConduit.processWrite(HttpResponseConduit.java:252)

at io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:606)

at org.xnio.conduits.AbstractStreamSinkConduit.write(AbstractStreamSinkConduit.java:51)

at org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:150)

at io.undertow.channels.DetachableStreamSinkChannel.write(DetachableStreamSinkChannel.java:240)

at io.undertow.server.HttpServerExchange$WriteDispatchChannel.write(HttpServerExchange.java:2107)

at io.undertow.servlet.spec.ServletOutputStreamImpl.writeBufferBlocking(ServletOutputStreamImpl.java:575)

at io.undertow.servlet.spec.ServletOutputStreamImpl.flushInternal(ServletOutputStreamImpl.java:490)

at io.undertow.servlet.spec.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:477)

at com.jfinal.render.TemplateRender.render(TemplateRender.java:63)

... 33 more


2021-11-15 01:32:49

[ERROR]-[Thread: XNIO-1 I/O-1]-[io.undertow.server.Connectors.executeRootHandler()]: UT005071: Undertow request failed HttpServerExchange{ CONNECT dnspod.qcloud.com:443}

java.lang.IllegalArgumentException: UT000068: Servlet path match failed

at io.undertow.servlet.handlers.ServletPathMatchesData.getServletHandlerByPath(ServletPathMatchesData.java:83)

at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:88)

at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:146)

at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:83)

at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:91)

at io.undertow.server.handlers.SetHeaderHandler.handleRequest(SetHeaderHandler.java:90)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:396)

at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:255)

at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)

at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59)

at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)

at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)

at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)

at org.xnio.nio.WorkerThread.run(WorkerThread.java:561)


2021-11-15 01:54:51

[WARN]-[Thread: XNIO-1 task-1]-[com.jfinal.core.ActionHandler.handle()]: 404 Action Not Found: /portal/redlion


2021-11-15 02:32:49

[ERROR]-[Thread: XNIO-1 I/O-1]-[io.undertow.server.Connectors.executeRootHandler()]: UT005071: Undertow request failed HttpServerExchange{ CONNECT dnspod.qcloud.com:443}

java.lang.IllegalArgumentException: UT000068: Servlet path match failed

at io.undertow.servlet.handlers.ServletPathMatchesData.getServletHandlerByPath(ServletPathMatchesData.java:83)

at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:88)

at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:146)

at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:83)

at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:91)

at io.undertow.server.handlers.SetHeaderHandler.handleRequest(SetHeaderHandler.java:90)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:396)

at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:255)

at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)

at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59)

at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)

at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)

at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)

at org.xnio.nio.WorkerThread.run(WorkerThread.java:561)


2021-11-15 03:36:27

[WARN]-[Thread: XNIO-1 task-3]-[com.jfinal.core.ActionHandler.handle()]: 404 Action Not Found: /actuator/health


评论区

杜福忠

2021-11-18 10:11

远程主机强迫关闭了一个现有的连接。
如果是阿里云,可以开启安全监控 > 网络攻击监控,看频率,小的话可能是爬虫吧,一般www开头的主域名,容易出现这个。频率很高的话,前面挂个CDN,再申请开通CDN频次限制功能,可以防止恶意请求。

happyboy

2024-06-08 08:04

有爬虫来扫描,这种问题只出现在服务器上,把日志关闭即可。参考这篇帖子:https://jfinal.com/feedback/5484

热门反馈

扫码入社