apache / servicecomb-java-chassis

ServiceComb Java Chassis is a Software Development Kit (SDK) for rapid development of microservices in Java, providing service registration, service discovery, dynamic routing, and service management features
Apache License 2.0
1.91k stars 813 forks source link

出现非业务接口拉取失败的错误日志,如:path:/css/common.css/ path:/favicon/favicon.ico/ 这是什么接口? #3588

Open MangoTea opened 1 year ago

MangoTea commented 1 year ago

org.apache.servicecomb.common.rest.locator.OperationLocator 打印类似:locate path failed, status:Not Found, http method:GET, path:/css/common.css/ 或者 locate path failed, status:Not Found, http method:GET, path:/favicon/favicon.ico/ 这种非业务接口path的错误日志

liubao68 commented 1 year ago

浏览器会自动请求这些URL,不存在的时候(业务没实现),则会打印NOT FOUND,通常可忽略。

MangoTea commented 1 year ago

浏览器会自动请求这些URL,不存在的时候(业务没实现),则会打印NOT FOUND,通常可忽略。 浏览器为什么会往serviceComb端口发http请求呢,并且业务不会将serviceComb的接口对外暴露的。