diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SubscribeProcessor.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SubscribeProcessor.java index cd815220f0..01c156b56b 100644 --- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SubscribeProcessor.java +++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SubscribeProcessor.java @@ -152,6 +152,7 @@ public void processRequest(ChannelHandlerContext ctx, AsyncContext try { if (!IPUtils.isValidDomainOrIp(url, eventMeshHTTPServer.getEventMeshHttpConfiguration().eventMeshIpv4BlackList, eventMeshHTTPServer.getEventMeshHttpConfiguration().eventMeshIpv6BlackList)) { + httpLogger.error("subscriber url {} is not valid", url); responseEventMeshCommand = request.createHttpCommandResponse( subscribeResponseHeader, SubscribeResponseBody @@ -161,6 +162,7 @@ public void processRequest(ChannelHandlerContext ctx, AsyncContext return; } } catch (Exception e) { + httpLogger.error("subscriber url {} is not valid, error {}", url, e.getMessage()); responseEventMeshCommand = request.createHttpCommandResponse( subscribeResponseHeader, SubscribeResponseBody diff --git a/tools/third-party-dependencies/known-dependencies.txt b/tools/third-party-dependencies/known-dependencies.txt index 400f0fcf8f..5da0a3aad2 100644 --- a/tools/third-party-dependencies/known-dependencies.txt +++ b/tools/third-party-dependencies/known-dependencies.txt @@ -22,6 +22,7 @@ guava-29.0-jre.jar hamcrest-core-1.3.jar httpclient-4.5.2.jar httpcore-4.4.4.jar +ipaddress-5.3.3.jar j2objc-annotations-1.3.jar jackson-annotations-2.11.0.jar jackson-core-2.11.0.jar @@ -110,4 +111,3 @@ truth-0.30.jar zipkin-2.23.2.jar zipkin-reporter-2.16.3.jar zipkin-sender-okhttp3-2.16.3.jar -ipaddress-5.3.3.jar