【问题排查】Servlet path match failed

2022-06-09 01:18:24.814 30882 ERROR [] --- [XNIO-1 I/O-6] io.undertow.request                      : UT005071: Undertow request failed HttpServerExchange{ CONNECT url:port}

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.Connectors.executeRootHandler(Connectors.java:376)
        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)

最近服务器突然爆一堆异常

UT005071: Undertow request failed HttpServerExchange{ CONNECT www.voanews.com:443}

UT000068: Servlet path match failed

CONNECT 后面跟着域名或者端口号

查了一下网上,基本都是只有提问,没人回答

后面经过一系列链路排查,最终发现,因为隔壁研发组无法连接clickhouse,所以通过我们的服务提供的接口访问ck,然后就把我们服务的端口对外开放了

导致服务一直被各大搜索引擎的爬虫检索

收集了一下地址列表

hotmail-com.olc.protection.outlook.com: 25

85.206.160.115:80

ip.bablosoft.com:443

api.ipify.org:443

www.baidu.com:443

cn.bing.com:443

www.so.com:443

www.voanews.com:443

check.best-proxies.ru:443

解决办法:

将对外端口关闭, 或者限制访问端口的ip

你可能感兴趣的:(java,jar,intellij-idea)