wangchao732 opened a new issue, #9918:
URL: https://github.com/apache/dolphinscheduler/issues/9918

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   api-server ui download task log failed, content is blank.
   
   ### What you expected to happen
   
   [INFO] 2022-05-06 19:12:14.698 
org.apache.dolphinscheduler.service.log.LogClientService:[72] - roll view log, 
host : 172.16.1.82, port : 50051, path 
/opt/dolphinscheduler/logs/22/28340/28341.log, skipLineNum 0 ,limit 1000
   [INFO] 2022-05-06 19:12:20.119 
org.apache.dolphinscheduler.service.log.LogClientService:[128] - log path 
/opt/dolphinscheduler/logs/22/28340/28341.log
   [ERROR] 2022-05-06 19:12:30.127 
org.apache.dolphinscheduler.service.log.LogClientService:[141] - get log size 
error
   org.apache.dolphinscheduler.remote.exceptions.RemotingTimeoutException: wait 
response on the channel Host{address='172.16.1.82:50051'} timeout 10000
        at 
org.apache.dolphinscheduler.remote.NettyRemotingClient.sendSync(NettyRemotingClient.java:287)
        at 
org.apache.dolphinscheduler.service.log.LogClientService.getLogBytes(LogClientService.java:134)
        at 
org.apache.dolphinscheduler.api.service.LoggerService.getLogBytes(LoggerService.java:99)
        at 
org.apache.dolphinscheduler.api.controller.LoggerController.downloadTaskLog(LoggerController.java:99)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
        at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
        at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
        at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
        at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763)
        at 
org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633)
        at 
org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:97)
   
   
   ### How to reproduce
   
   null
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   1.3.9
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to