问题:上传2百多张发票保存后报错
报错日志:
错误信息:请求发票云发生异常,请参考apusic日志!
错误详细堆栈信息:com.kingdee.eas.cp.bc.InvoiceException: 请求发票云发生异常,请参考apusic日志!
at com.kingdee.eas.cp.bc.util.InvoiceUtil.httpsRequestPost(InvoiceUtil.java:879)
at com.kingdee.eas.cp.bc.util.InvoiceUtil.saveInvoiceSigniture(InvoiceUtil.java:366)
at com.kingdee.eas.cp.bc.util.InvoiceUtil.saveTicketRelation(InvoiceUtil.java:445)
at com.kingdee.eas.cp.bc.app.BizCollBillBaseControllerBean.doAfterSave(BizCollBillBaseControllerBean.java:775)
at com.kingdee.eas.cp.bc.app.BizCollBillBaseControllerBean._save(BizCollBillBaseControllerBean.java:39
021-07-12 17:31:37 信息 [con.out-Thread 7252] [2021-07-12 17:31:37,470 ERROR Running HTTPHandler-13]Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
解决方案:eas\Server\server\properties\cpbc_invoice_config.xml 中的timeout 适当调长至10000
若补丁没有更新到截图中的,修改配置文件后要重启服务才生效。
R20210713-0217
推荐阅读