Mule:在连接器上的接收器的二次查找中未找到接收器:HTTP_HTTPS 使用 URI 密钥:https://myhost:443/robots.txt
Mule : No receiver found on secondary lookup of receiver on connector: HTTP_HTTPS with URI key: https://myhost:443/robots.txt
我的所有日志中都有这些警告。好像是爬虫和蜘蛛引起的http://www.robotstxt.org/
No receiver found on secondary lookup of receiver on connector: HTTP_HTTPS with URI key: https://myhost:443/robots.txt.
org.mule.transport.http.HttpsConnector: Receivers on connector are: {
我找不到在我之前在网上遇到过这个问题的人...
我想在我的流程中摆脱它,我该怎么做?我可以分享代码,但我看不出它在这种情况下有何相关性。
谢谢。
此 MuleSoft tutorial 解释了如何过滤我们对 favicon.ico
的请求。您应该能够对 robots.txt
的请求执行相同的操作
3.6+ 中的新 HTTP 侦听器:
<expression-filter
expression="#[message.inboundProperties.'http.request.uri' != '/robots.txt']" />
对于 3.5.0 及更低版本:
<expression-filter
expression="#[payload != '/robots.txt']" />
您遇到的问题可以通过以下步骤重现:
添加具有以下 url 的入站端点:http://localhost:8081/test, start your app and call http://localhost:8081/something.txt
解释是:没有与您调用的 url 开头相匹配的入站端点,最简单的解决方案是使用地址为 http://localhost:8081/ 并记录(或不记录)该流中收到的每条消息。
我的所有日志中都有这些警告。好像是爬虫和蜘蛛引起的http://www.robotstxt.org/
No receiver found on secondary lookup of receiver on connector: HTTP_HTTPS with URI key: https://myhost:443/robots.txt.
org.mule.transport.http.HttpsConnector: Receivers on connector are: {
我找不到在我之前在网上遇到过这个问题的人... 我想在我的流程中摆脱它,我该怎么做?我可以分享代码,但我看不出它在这种情况下有何相关性。
谢谢。
此 MuleSoft tutorial 解释了如何过滤我们对 favicon.ico
的请求。您应该能够对 robots.txt
3.6+ 中的新 HTTP 侦听器:
<expression-filter
expression="#[message.inboundProperties.'http.request.uri' != '/robots.txt']" />
对于 3.5.0 及更低版本:
<expression-filter
expression="#[payload != '/robots.txt']" />
您遇到的问题可以通过以下步骤重现:
添加具有以下 url 的入站端点:http://localhost:8081/test, start your app and call http://localhost:8081/something.txt
解释是:没有与您调用的 url 开头相匹配的入站端点,最简单的解决方案是使用地址为 http://localhost:8081/ 并记录(或不记录)该流中收到的每条消息。