永洪社区

标题: 资源导入超时 [打印本页]

作者: 我不是笨蛋    时间: 2023-5-18 11:28
标题: 资源导入超时
本帖最后由 MEIDEBI 于 2023-5-18 11:55 编辑

报错日志:
[2023-05-18 11:38:06.436] |-[INFO] |-[e03e216b287c49229e7bb20991730a70] |-[SYSTEM] |-[g5.io.tracker.FileTrackerManager.doTracker(FileTrackerManager.java:199)] |-[OTHER:   tracker not run, do tracker, fs is null = true, trackerCacheMap is null = false]
[2023-05-18 11:38:08.366] |-[INFO] |-[418faebdf399490e857394edcb4758f4] |-[admin] |-[g5.sv.WebProc.getDataFromInputStream(WebProc.java:1769)] |-[OTHER:   Get data from inputStream while content-type is multipart/form-data.]
[2023-05-18 11:38:08.366] |-[ERROR] |-[418faebdf399490e857394edcb4758f4] |-[admin] |-[g5.sv.deploy.req.ImportAssetReq.importJar(ImportAssetReq.java:318)] |-[ERROR: [ErrCode: 0]  importJar error.]
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer
        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:321) ~[catalina.jar:9.0.65]
        at org.apache.catalina.connector.InputBuffer.checkByteBufferEof(InputBuffer.java:599) ~[catalina.jar:9.0.65]
        at org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:329) ~[catalina.jar:9.0.65]
        at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:84) ~[catalina.jar:9.0.65]
        at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:73) ~[servlet-api.jar:4.0.FR]
        at g5.sv.FileUploader$InputStreamPro.readLine(FileUploader.java:483) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.FileUploader$InputStreamPro.readLine(FileUploader.java:453) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.FileUploader.readRequest(FileUploader.java:139) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.BigFileUploader.<init>(BigFileUploader.java:55) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.BigFileUploader.<init>(BigFileUploader.java:24) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.deploy.req.ImportAssetReq.lambda$importJar$0(ImportAssetReq.java:299) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.SecureUploadHelper.upload(SecureUploadHelper.java:108) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.deploy.req.ImportAssetReq.importJar(ImportAssetReq.java:302) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.deploy.req.ImportAssetReq.processIns0(ImportAssetReq.java:79) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.AjaxReq.processIns(AjaxReq.java:69) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.WebProc.processWeb(WebProc.java:1623) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.WebProc.service(WebProc.java:827) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.ServletHelper.service(ServletHelper.java:110) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.PortalServlet.service(PortalServlet.java:630) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[servlet-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.65]
        at g5.sv.standardsso.SSOLoginFilter.doFilter(SSOLoginFilter.java:124) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.65]
        at g5.sv.standardsso.AbstractTokenSSOFilter.doFilter(AbstractTokenSSOFilter.java:58) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.65]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-websocket.jar:9.0.65]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[catalina.jar:9.0.65]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[catalina.jar:9.0.65]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[catalina.jar:9.0.65]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[catalina.jar:9.0.65]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) ~[catalina.jar:9.0.65]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-util.jar:9.0.65]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-util.jar:9.0.65]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:9.0.65]
        at java.lang.Thread.run(Thread.java:834) ~[?:?]
Caused by: java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:?]
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276) ~[?:?]
        at sun.nio.ch.IOUtil.read(IOUtil.java:245) ~[?:?]
        at sun.nio.ch.IOUtil.read(IOUtil.java:223) ~[?:?]
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:358) ~[?:?]
        at org.apache.tomcat.util.net.NioChannel.read(NioChannel.java:160) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1313) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1227) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:805) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.http11.Http11InputBuffer.access$400(Http11InputBuffer.java:42) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.http11.Http11InputBuffer$SocketInputBuffer.doRead(Http11InputBuffer.java:1185) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:101) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.http11.Http11InputBuffer.doRead(Http11InputBuffer.java:249) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.coyote.Request.doRead(Request.java:640) ~[tomcat-coyote.jar:9.0.65]
        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:316) ~[catalina.jar:9.0.65]
        ... 47 more
[2023-05-18 11:38:08.368] |-[WARN] |-[418faebdf399490e857394edcb4758f4] |-[admin] |-[g5.io.FileSystem.close(FileSystem.java:319)] |-[ERROR: [ErrCode: 0]  java.io.IOException: 断开的管道]
org.apache.catalina.connector.ClientAbortException: java.io.IOException: 断开的管道
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:310) ~[catalina.jar:9.0.65]
        at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:273) ~[catalina.jar:9.0.65]
        at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:118) ~[catalina.jar:9.0.65]
        at java.util.zip.DeflaterOutputStream.flush(DeflaterOutputStream.java:282) ~[?:?]
        at g5.io.DataOutputStream2.flush(DataOutputStream2.java:39) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.io.FileSystem.close(FileSystem.java:299) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.WebProc.writeHtmlStream(WebProc.java:2171) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.WebProc.processWeb(WebProc.java:1633) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.WebProc.service(WebProc.java:827) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.ServletHelper.service(ServletHelper.java:110) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at g5.sv.PortalServlet.service(PortalServlet.java:630) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[servlet-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.65]
        at g5.sv.standardsso.SSOLoginFilter.doFilter(SSOLoginFilter.java:124) ~[product-%e7%8e%ab%e5%be%b7%e9%9b%86%e5%9b%a2-20220929.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.65]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.65]
        at g5.sv.standardsso.AbstractTokenSSOFilter.doFilter(AbstractTokenSSOFilter.java:58) ~[product-%e7%8e%ab%e5%be%



作者: yhdata_lyaa    时间: 2023-5-18 11:30
有报什么错吗
作者: 我不是笨蛋    时间: 2023-5-18 11:55
yhdata_lyaa 发表于 2023-5-18 11:30
有报什么错吗

报错日志已上传
作者: yhdata_ruby    时间: 2023-5-18 13:53
试一下在数据集界面上传excel数据集看能否导入,在资源部署换一个jar进行导入看看是否报错,后台日志中出现 Connection reset by peer报错,极大可能是服务器侧存在网络层文件上传的限制
作者: yhdata_w6pqr6b6    时间: 2023-5-19 08:45
yhdata_ruby 发表于 2023-5-18 13:53
试一下在数据集界面上传excel数据集看能否导入,在资源部署换一个jar进行导入看看是否报错,后台日志中出现 ...

我们近期配置了单点登录,请问是不是和这个有关系
作者: 曾梦闵    时间: 2023-5-19 09:10
看看网络是否有问题。
作者: yhdata_w6pqr6b6    时间: 2023-5-19 09:11
曾梦闵 发表于 2023-5-19 09:10
看看网络是否有问题。

网络正常没有问题
作者: yhdata_w6pqr6b6    时间: 2023-5-19 09:30
yhdata_ruby 发表于 2023-5-18 13:53
试一下在数据集界面上传excel数据集看能否导入,在资源部署换一个jar进行导入看看是否报错,后台日志中出现 ...

请问还有其他问题的可能以及相应的解决方案吗
作者: yhdata_ruby    时间: 2023-5-19 09:32
yhdata_w6pqr6b6 发表于 2023-5-19 08:45
我们近期配置了单点登录,请问是不是和这个有关系

检查一下服务器是否存在相关限制吧
作者: yhdata_w6pqr6b6    时间: 2023-5-19 10:02
yhdata_ruby 发表于 2023-5-19 09:32
检查一下服务器是否存在相关限制吧

这边检查了下,服务器没有加限制,会不会是产品出问题了
作者: yhdata_ruby    时间: 2023-5-19 10:08
yhdata_w6pqr6b6 发表于 2023-5-19 10:02
这边检查了下,服务器没有加限制,会不会是产品出问题了

onnection reset by peer报错一般是服务器有安全策略限制了上传的文件,可能是网络方面或者服务器方面的问题导致,可以再切换网络试一下。如果目前排查两方面都没有问题,可以提个工单跟进一下呢




欢迎光临 永洪社区 (https://club.yonghongtech.com/) Powered by Discuz! X3.4