Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] When I was adding an alarm instance, the following error occurred: an error pop-up appeared while attempting to send the message #16634

Closed
3 tasks done
chenhuping opened this issue Sep 20, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@chenhuping
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When I was adding an alarm instance, the following error occurred: an error pop-up appeared while attempting to send the message
image

What you expected to happen

Is there a problem with my configuration or a missing plug-in

How to reproduce

Uploading image.png…

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@chenhuping chenhuping added bug Something isn't working Waiting for reply Waiting for reply labels Sep 20, 2024
@SbloodyS
Copy link
Member

Your screenshot doesn't look like a dev version. Which version you are using?

@SbloodyS SbloodyS removed the Waiting for reply Waiting for reply label Sep 20, 2024
@chenhuping
Copy link
Author

Your screenshot doesn't look like a dev version. Which version you are using?

We are using version 3.2.1

@SbloodyS SbloodyS changed the title When I was adding an alarm instance, the following error occurred: an error pop-up appeared while attempting to send the message [Bug] When I was adding an alarm instance, the following error occurred: an error pop-up appeared while attempting to send the message Sep 20, 2024
@SbloodyS
Copy link
Member

Can you provide more logs of api-server? @chenhuping

@chenhuping
Copy link
Author

Can you provide more logs of api-server? @chenhuping

2024-09-20T14:26:44.863969329+08:00 [ERROR] 2024-09-20 14:26:44.863 +0800 o.a.d.a.s.i.AlertPluginInstanceServiceImpl:[358] - Send alert: AlertTestSendRequest(pluginDefineId=7, pluginInstanceParams=[{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request URL","size":"small"},"field":"url","name":"URL","type":"input","title":"$t('url')","value":"http://nas.m******e.tech/","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request type POST or GET","size":"small"},"field":"requestType","name":"Request Type","type":"input","title":"$t('requestType')","value":"GET","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request headers as JSON format","size":"small"},"field":"headerParams","name":"Headers","type":"input","title":"$t('headerParams')","value":"{}","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request body as JSON format","size":"small"},"field":"bodyParams","name":"Body","type":"input","title":"$t('bodyParams')","value":"{}","validate":[{"required":false,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input alert msg field name","size":"small"},"field":"contentField","name":"Content Field","type":"input","title":"$t('contentField')","value":"监控告警","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":null,"field":"timeout","name":"Timeout(s)","type":"input-number","title":"$t('timeout')","value":60,"validate":[{"required":false,"type":"number","trigger":"blur","min":null,"max":null}],"emit":null}]) to: Host(ip=dolphinscheduler-alert-545b9d98bc-c4nj7, port=50052) failed

2024-09-20T14:26:44.864016623+08:00 java.lang.reflect.UndeclaredThrowableException: null

2024-09-20T14:26:44.864024756+08:00 at com.sun.proxy.$Proxy854.sendTestAlert(Unknown Source)

2024-09-20T14:26:44.864031619+08:00 at org.apache.dolphinscheduler.api.service.impl.AlertPluginInstanceServiceImpl.testSend(AlertPluginInstanceServiceImpl.java:355)

2024-09-20T14:26:44.864043820+08:00 at org.apache.dolphinscheduler.api.service.impl.AlertPluginInstanceServiceImpl$$FastClassBySpringCGLIB$$677cb7d7.invoke()

2024-09-20T14:26:44.864050788+08:00 at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)

2024-09-20T14:26:44.864057667+08:00 at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)

2024-09-20T14:26:44.864080688+08:00 at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)

2024-09-20T14:26:44.864089252+08:00 at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)

2024-09-20T14:26:44.864094989+08:00 at org.apache.dolphinscheduler.api.service.impl.AlertPluginInstanceServiceImpl$$EnhancerBySpringCGLIB$$bf8a64c.testSend()

2024-09-20T14:26:44.864100666+08:00 at org.apache.dolphinscheduler.api.controller.AlertPluginInstanceController.testSendAlertPluginInstance(AlertPluginInstanceController.java:115)

2024-09-20T14:26:44.864106508+08:00 at sun.reflect.GeneratedMethodAccessor1046.invoke(Unknown Source)

2024-09-20T14:26:44.864112539+08:00 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2024-09-20T14:26:44.864118282+08:00 at java.lang.reflect.Method.invoke(Method.java:498)

2024-09-20T14:26:44.864124178+08:00 at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)

2024-09-20T14:26:44.864130883+08:00 at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)

2024-09-20T14:26:44.864136676+08:00 at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)

2024-09-20T14:26:44.864143140+08:00 at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)

2024-09-20T14:26:44.864148822+08:00 at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)

2024-09-20T14:26:44.864154770+08:00 at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

2024-09-20T14:26:44.864162508+08:00 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070)

2024-09-20T14:26:44.864170985+08:00 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)

2024-09-20T14:26:44.864179603+08:00 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)

2024-09-20T14:26:44.864187919+08:00 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)

2024-09-20T14:26:44.864196341+08:00 at javax.servlet.http.HttpServlet.service(HttpServlet.java:517)

2024-09-20T14:26:44.864204442+08:00 at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)

2024-09-20T14:26:44.864212807+08:00 at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)

2024-09-20T14:26:44.864220780+08:00 at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)

2024-09-20T14:26:44.864228646+08:00 at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)

2024-09-20T14:26:44.864238628+08:00 at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)

2024-09-20T14:26:44.864249571+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:44.864260116+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:44.864268427+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:44.864277634+08:00 at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)

2024-09-20T14:26:44.864288248+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:44.864297121+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:44.864316951+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:44.864325733+08:00 at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

2024-09-20T14:26:44.864333807+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:44.864340807+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:44.864346523+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:44.864352364+08:00 at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)

2024-09-20T14:26:44.864358091+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:44.864363691+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:44.864369344+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:44.864375443+08:00 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

2024-09-20T14:26:44.864381744+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:44.864387540+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:44.864393264+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:44.864398918+08:00 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)

2024-09-20T14:26:44.864421286+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

2024-09-20T14:26:44.864428771+08:00 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)

2024-09-20T14:26:44.864434468+08:00 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

2024-09-20T14:26:44.864440239+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)

2024-09-20T14:26:44.864446072+08:00 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)

2024-09-20T14:26:44.864451701+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)

2024-09-20T14:26:44.864457431+08:00 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)

2024-09-20T14:26:44.864463333+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)

2024-09-20T14:26:44.864469060+08:00 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)

2024-09-20T14:26:44.864474750+08:00 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)

2024-09-20T14:26:44.864480450+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)

2024-09-20T14:26:44.864486153+08:00 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)

2024-09-20T14:26:44.864491818+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

2024-09-20T14:26:44.864498938+08:00 at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)

2024-09-20T14:26:44.864506872+08:00 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

2024-09-20T14:26:44.864515125+08:00 at org.eclipse.jetty.server.Server.handle(Server.java:516)

2024-09-20T14:26:44.864523114+08:00 at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)

2024-09-20T14:26:44.864542845+08:00 at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)

2024-09-20T14:26:44.864552091+08:00 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)

2024-09-20T14:26:44.864560078+08:00 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)

2024-09-20T14:26:44.864567952+08:00 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)

2024-09-20T14:26:44.864576041+08:00 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)

2024-09-20T14:26:44.864583868+08:00 at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)

2024-09-20T14:26:44.864591751+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)

2024-09-20T14:26:44.864599514+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)

2024-09-20T14:26:44.864607213+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)

2024-09-20T14:26:44.864615035+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)

2024-09-20T14:26:44.864623431+08:00 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)

2024-09-20T14:26:44.864635552+08:00 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)

2024-09-20T14:26:44.864644081+08:00 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)

2024-09-20T14:26:44.864653172+08:00 at java.lang.Thread.run(Thread.java:750)

2024-09-20T14:26:44.864661240+08:00 Caused by: org.apache.dolphinscheduler.extract.base.exception.RemotingException: connect to : Host(ip=dolphinscheduler-alert-545b9d98bc-c4nj7, port=50052) fail

2024-09-20T14:26:44.864667499+08:00 at org.apache.dolphinscheduler.extract.base.NettyRemotingClient.sendSync(NettyRemotingClient.java:194)

2024-09-20T14:26:44.864673538+08:00 at org.apache.dolphinscheduler.extract.base.client.SyncClientMethodInvoker.invoke(SyncClientMethodInvoker.java:46)

2024-09-20T14:26:44.864679250+08:00 at org.apache.dolphinscheduler.extract.base.client.ClientInvocationHandler.invoke(ClientInvocationHandler.java:55)

2024-09-20T14:26:44.864685922+08:00 ... 79 common frames omitted

2024-09-20T14:26:44.878341590+08:00 [ERROR] 2024-09-20 14:26:44.877 +0800 o.a.d.a.e.ApiExceptionHandler:[40] - org.apache.dolphinscheduler.api.controller.AlertPluginInstanceController#testSendAlertPluginInstance[2 args] Meet a ServiceException: Alert test sending failed, [null]

2024-09-20T14:26:44.878962832+08:00 10.233.114.0 - - [20/Sep/2024:06:26:44 +0000] "POST /dolphinscheduler/alert-plugin-instances/test-send HTTP/1.0" 200 105 63ms

2024-09-20T14:26:49.305235774+08:00 [WARN] 2024-09-20 14:26:49.304 +0800 o.a.d.e.b.NettyRemotingClient:[253] - connect to Host(ip=dolphinscheduler-alert-545b9d98bc-c4nj7, port=50052) error

2024-09-20T14:26:49.305311596+08:00 java.net.UnknownHostException: dolphinscheduler-alert-545b9d98bc-c4nj7

2024-09-20T14:26:49.305326135+08:00 at java.net.InetAddress$CachedAddresses.get(InetAddress.java:764)

2024-09-20T14:26:49.305336613+08:00 at java.net.InetAddress.getAllByName0(InetAddress.java:1291)

2024-09-20T14:26:49.305345183+08:00 at java.net.InetAddress.getAllByName(InetAddress.java:1144)

2024-09-20T14:26:49.305354025+08:00 at java.net.InetAddress.getAllByName(InetAddress.java:1065)

2024-09-20T14:26:49.305362537+08:00 at java.net.InetAddress.getByName(InetAddress.java:1015)

2024-09-20T14:26:49.305389248+08:00 at io.netty.util.internal.SocketUtils$8.run(SocketUtils.java:156)

2024-09-20T14:26:49.305398534+08:00 at io.netty.util.internal.SocketUtils$8.run(SocketUtils.java:153)

2024-09-20T14:26:49.305437462+08:00 at java.security.AccessController.doPrivileged(Native Method)

2024-09-20T14:26:49.305446154+08:00 at io.netty.util.internal.SocketUtils.addressByName(SocketUtils.java:153)

2024-09-20T14:26:49.305454472+08:00 at io.netty.resolver.DefaultNameResolver.doResolve(DefaultNameResolver.java:41)

2024-09-20T14:26:49.305462461+08:00 at io.netty.resolver.SimpleNameResolver.resolve(SimpleNameResolver.java:61)

2024-09-20T14:26:49.305470793+08:00 at io.netty.resolver.SimpleNameResolver.resolve(SimpleNameResolver.java:53)

2024-09-20T14:26:49.305479861+08:00 at io.netty.resolver.InetSocketAddressResolver.doResolve(InetSocketAddressResolver.java:55)

2024-09-20T14:26:49.305487855+08:00 at io.netty.resolver.InetSocketAddressResolver.doResolve(InetSocketAddressResolver.java:31)

2024-09-20T14:26:49.305495941+08:00 at io.netty.resolver.AbstractAddressResolver.resolve(AbstractAddressResolver.java:106)

2024-09-20T14:26:49.305503962+08:00 at io.netty.bootstrap.Bootstrap.doResolveAndConnect0(Bootstrap.java:206)

2024-09-20T14:26:49.305512050+08:00 at io.netty.bootstrap.Bootstrap.access$000(Bootstrap.java:46)

2024-09-20T14:26:49.305520246+08:00 at io.netty.bootstrap.Bootstrap$1.operationComplete(Bootstrap.java:180)

2024-09-20T14:26:49.305528165+08:00 at io.netty.bootstrap.Bootstrap$1.operationComplete(Bootstrap.java:166)

2024-09-20T14:26:49.305572728+08:00 at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:577)

2024-09-20T14:26:49.305586138+08:00 at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:551)

2024-09-20T14:26:49.305594372+08:00 at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:490)

2024-09-20T14:26:49.305602816+08:00 at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:615)

2024-09-20T14:26:49.305609783+08:00 at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:604)

2024-09-20T14:26:49.305615641+08:00 at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)

2024-09-20T14:26:49.305621495+08:00 at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:84)

2024-09-20T14:26:49.305627145+08:00 at io.netty.channel.AbstractChannel$AbstractUnsafe.safeSetSuccess(AbstractChannel.java:989)

2024-09-20T14:26:49.305632968+08:00 at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:504)

2024-09-20T14:26:49.305638782+08:00 at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417)

2024-09-20T14:26:49.305644528+08:00 at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474)

2024-09-20T14:26:49.305650260+08:00 at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)

2024-09-20T14:26:49.305656960+08:00 at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)

2024-09-20T14:26:49.305662665+08:00 at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384)

2024-09-20T14:26:49.305668528+08:00 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)

2024-09-20T14:26:49.305674273+08:00 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)

2024-09-20T14:26:49.305681061+08:00 at java.lang.Thread.run(Thread.java:750)

2024-09-20T14:26:49.311736761+08:00 [ERROR] 2024-09-20 14:26:49.311 +0800 o.a.d.a.s.i.AlertPluginInstanceServiceImpl:[358] - Send alert: AlertTestSendRequest(pluginDefineId=7, pluginInstanceParams=[{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request URL","size":"small"},"field":"url","name":"URL","type":"input","title":"$t('url')","value":"http://nas.m******e.tech/","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request type POST or GET","size":"small"},"field":"requestType","name":"Request Type","type":"input","title":"$t('requestType')","value":"GET","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request headers as JSON format","size":"small"},"field":"headerParams","name":"Headers","type":"input","title":"$t('headerParams')","value":"{}","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input request body as JSON format","size":"small"},"field":"bodyParams","name":"Body","type":"input","title":"$t('bodyParams')","value":"{}","validate":[{"required":false,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":{"disabled":null,"type":null,"maxlength":null,"minlength":null,"clearable":null,"prefixIcon":null,"suffixIcon":null,"rows":null,"autosize":null,"autocomplete":null,"name":null,"readonly":null,"max":null,"min":null,"step":null,"resize":null,"autofocus":null,"form":null,"label":null,"tabindex":null,"validateEvent":null,"showPassword":null,"placeholder":"input alert msg field name","size":"small"},"field":"contentField","name":"Content Field","type":"input","title":"$t('contentField')","value":"监控告警","validate":[{"required":true,"type":"string","trigger":"blur","min":null,"max":null}],"emit":null},{"props":null,"field":"timeout","name":"Timeout(s)","type":"input-number","title":"$t('timeout')","value":60,"validate":[{"required":false,"type":"number","trigger":"blur","min":null,"max":null}],"emit":null}]) to: Host(ip=dolphinscheduler-alert-545b9d98bc-c4nj7, port=50052) failed

2024-09-20T14:26:49.311798221+08:00 java.lang.reflect.UndeclaredThrowableException: null

2024-09-20T14:26:49.311806617+08:00 at com.sun.proxy.$Proxy854.sendTestAlert(Unknown Source)

2024-09-20T14:26:49.311815315+08:00 at org.apache.dolphinscheduler.api.service.impl.AlertPluginInstanceServiceImpl.testSend(AlertPluginInstanceServiceImpl.java:355)

2024-09-20T14:26:49.311823804+08:00 at org.apache.dolphinscheduler.api.service.impl.AlertPluginInstanceServiceImpl$$FastClassBySpringCGLIB$$677cb7d7.invoke()

2024-09-20T14:26:49.311833046+08:00 at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)

2024-09-20T14:26:49.311841726+08:00 at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)

2024-09-20T14:26:49.311867893+08:00 at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)

2024-09-20T14:26:49.311884426+08:00 at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)

2024-09-20T14:26:49.311905864+08:00 at org.apache.dolphinscheduler.api.service.impl.AlertPluginInstanceServiceImpl$$EnhancerBySpringCGLIB$$bf8a64c.testSend()

2024-09-20T14:26:49.311923534+08:00 at org.apache.dolphinscheduler.api.controller.AlertPluginInstanceController.testSendAlertPluginInstance(AlertPluginInstanceController.java:115)

2024-09-20T14:26:49.311932937+08:00 at sun.reflect.GeneratedMethodAccessor1046.invoke(Unknown Source)

2024-09-20T14:26:49.311941122+08:00 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2024-09-20T14:26:49.311949508+08:00 at java.lang.reflect.Method.invoke(Method.java:498)

2024-09-20T14:26:49.311957611+08:00 at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)

2024-09-20T14:26:49.311966867+08:00 at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)

2024-09-20T14:26:49.311974859+08:00 at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)

2024-09-20T14:26:49.311983738+08:00 at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)

2024-09-20T14:26:49.311991851+08:00 at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)

2024-09-20T14:26:49.312000124+08:00 at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

2024-09-20T14:26:49.312008490+08:00 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070)

2024-09-20T14:26:49.312016881+08:00 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)

2024-09-20T14:26:49.312024813+08:00 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)

2024-09-20T14:26:49.312032979+08:00 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)

2024-09-20T14:26:49.312041137+08:00 at javax.servlet.http.HttpServlet.service(HttpServlet.java:517)

2024-09-20T14:26:49.312049081+08:00 at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)

2024-09-20T14:26:49.312057306+08:00 at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)

2024-09-20T14:26:49.312065253+08:00 at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)

2024-09-20T14:26:49.312073147+08:00 at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)

2024-09-20T14:26:49.312082024+08:00 at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)

2024-09-20T14:26:49.312090525+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:49.312098816+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:49.312107362+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:49.312115492+08:00 at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)

2024-09-20T14:26:49.312123595+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:49.312131811+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:49.312139721+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:49.312148133+08:00 at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

2024-09-20T14:26:49.312167566+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:49.312174219+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:49.312180016+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:49.312185810+08:00 at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)

2024-09-20T14:26:49.312191608+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:49.312197390+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:49.312203253+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:49.312209183+08:00 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

2024-09-20T14:26:49.312218348+08:00 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

2024-09-20T14:26:49.312224363+08:00 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

2024-09-20T14:26:49.312230928+08:00 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)

2024-09-20T14:26:49.312238830+08:00 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)

2024-09-20T14:26:49.312281504+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

2024-09-20T14:26:49.312292465+08:00 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)

2024-09-20T14:26:49.312301062+08:00 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

2024-09-20T14:26:49.312308532+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)

2024-09-20T14:26:49.312314360+08:00 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)

2024-09-20T14:26:49.312320128+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)

2024-09-20T14:26:49.312325904+08:00 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)

2024-09-20T14:26:49.312331529+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)

2024-09-20T14:26:49.312337201+08:00 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)

2024-09-20T14:26:49.312431426+08:00 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)

2024-09-20T14:26:49.312441811+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)

2024-09-20T14:26:49.312448642+08:00 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)

2024-09-20T14:26:49.312454523+08:00 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

2024-09-20T14:26:49.312460359+08:00 at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)

2024-09-20T14:26:49.312466017+08:00 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

2024-09-20T14:26:49.312472105+08:00 at org.eclipse.jetty.server.Server.handle(Server.java:516)

2024-09-20T14:26:49.312478700+08:00 at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)

2024-09-20T14:26:49.312486620+08:00 at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)

2024-09-20T14:26:49.312494818+08:00 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)

2024-09-20T14:26:49.312515226+08:00 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)

2024-09-20T14:26:49.312523302+08:00 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)

2024-09-20T14:26:49.312529094+08:00 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)

2024-09-20T14:26:49.312535526+08:00 at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)

2024-09-20T14:26:49.312543411+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)

2024-09-20T14:26:49.312551981+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)

2024-09-20T14:26:49.312560163+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)

2024-09-20T14:26:49.312568244+08:00 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)

2024-09-20T14:26:49.312576520+08:00 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)

2024-09-20T14:26:49.312584630+08:00 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)

2024-09-20T14:26:49.312592689+08:00 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)

2024-09-20T14:26:49.312601984+08:00 at java.lang.Thread.run(Thread.java:750)

2024-09-20T14:26:49.312610429+08:00 Caused by: org.apache.dolphinscheduler.extract.base.exception.RemotingException: connect to : Host(ip=dolphinscheduler-alert-545b9d98bc-c4nj7, port=50052) fail

2024-09-20T14:26:49.312618458+08:00 at org.apache.dolphinscheduler.extract.base.NettyRemotingClient.sendSync(NettyRemotingClient.java:194)

2024-09-20T14:26:49.312626334+08:00 at org.apache.dolphinscheduler.extract.base.client.SyncClientMethodInvoker.invoke(SyncClientMethodInvoker.java:46)

2024-09-20T14:26:49.312634722+08:00 at org.apache.dolphinscheduler.extract.base.client.ClientInvocationHandler.invoke(ClientInvocationHandler.java:55)

2024-09-20T14:26:49.312643804+08:00 ... 79 common frames omitted

2024-09-20T14:26:49.312676251+08:00 [ERROR] 2024-09-20 14:26:49.311 +0800 o.a.d.a.e.ApiExceptionHandler:[40] - org.apache.dolphinscheduler.api.controller.AlertPluginInstanceController#testSendAlertPluginInstance[2 args] Meet a ServiceException: Alert test sending failed, [null]

Some information is desensitized

@SbloodyS
Copy link
Member

This bug have been fixed in dev branch. Will be released in the version 3.3.0.

@chenhuping
Copy link
Author

This bug have been fixed in dev branch. Will be released in the version 3.3.0.

Okay, thank you for your answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants