moer 发表于 2023-6-12 13:32:33

【9.0.4】: 重试接口 [RetryableWrapper`1] 请求异常,还会请求 [68] 次


不知道是不是bug , 升级到9.0.4,发布应用, 然后查看日志。
: 重试接口 请求异常,还会请求 次



moer 发表于 2023-6-12 14:09:14

ForguncyServerConsole Information: 0 : Start Trace for ForguncyServerConsole commandline :C:\Users\Public\Documents\ForguncyServerSiteStaticFiles\9.0.4.0\bin\ForguncyServerConsole.dll http://DESKTOP-1VF6TAO/wms C:\Users\Public\Documents\ForguncyServer\wms 9180 bc097808-c1cc-4c12-aab8-b4c005ff9dcc True ""
Tid:1 2023/6/12 14:06:16: ForguncyServer Starting:=> ["http://DESKTOP-1VF6TAO/wms","C:\\Users\\Public\\Documents\\ForguncyServer\\wms","9180","bc097808-c1cc-4c12-aab8-b4c005ff9dcc","True",""]
Tid:1 2023/6/12 14:06:16: Current InstallLang: cn
Tid:1 2023/6/12 14:06:16: ResourceHelper.Init:cn
Tid:1 2023/6/12 14:06:16: ["http://DESKTOP-1VF6TAO/wms","C:\\Users\\Public\\Documents\\ForguncyServer\\wms","9180","bc097808-c1cc-4c12-aab8-b4c005ff9dcc","True",""]
Tid:1 2023/6/12 14:06:16: ForguncyServer Starting: http://DESKTOP-1VF6TAO/wms
Tid:1 2023/6/12 14:06:16: InitCache
Tid:1 2023/6/12 14:06:16: InitCache path:C:\Users\Public\Documents\ForguncyServer\wms\CustomApi
Tid:1 2023/6/12 14:06:16: _apiList GetMethods:[]
Tid:1 2023/6/12 14:06:16: _apiList PostMethods:[]
Tid:1 2023/6/12 14:06:16: _apiList SchedulaMethods:[]
Tid:1 2023/6/12 14:06:16: ForguncyServer start =>: ["http://localhost/wms","http://127.0.0.1/wms","http://DESKTOP-1VF6TAO/wms","http://*/wms"]
Tid:1 2023/6/12 14:06:16: ForguncyServer : SetFireWallRules["http://localhost/wms","http://127.0.0.1/wms","http://DESKTOP-1VF6TAO/wms","http://*/wms"]
Tid:1 2023/6/12 14:06:16: ForguncyServer Startup initializing.
Tid:1 2023/6/12 14:06:16: 2023-06-12T14:06:16.7960758+08:00 ----------- InitialServerInfosAsync
Tid:1 2023/6/12 14:06:16: InitialServerInfos
Tid:1 2023/6/12 14:06:16: infoStr.length:390470
Tid:1 2023/6/12 14:06:16: Init ServerInfo
Tid:1 2023/6/12 14:06:16: ForguncyServer CheckJavaBpmEngineAlive Start
Tid:12 2023/6/12 14:06:19: The api Route: requested timeout with ms.
Tid:12 2023/6/12 14:06:19: Assembly: CommonUtilities, Version=9.0.4.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.TimeoutException",
"Message": "rqeuest: http://localhost:22347/engine/health-check has timeout.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": "   at CommonUtilities.InvokeService.Impl.i.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at CommonUtilities.InvokeService.Impl.HttpInvokeService.InvokeAsync(IInvokeable`1 request, String hostUrl)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233083,
"Source": "CommonUtilities",
"WatsonBuckets": null
}

CurrentMethodName: InvokeAsync
Tid:12 2023/6/12 14:06:20: 重试接口 请求异常,还会请求 次
Tid:12 2023/6/12 14:06:20: Assembly: CommonUtilities, Version=9.0.4.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.TimeoutException",
"Message": "rqeuest: http://localhost:22347/engine/health-check has timeout.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": "   at CommonUtilities.InvokeService.Impl.i.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at CommonUtilities.InvokeService.Impl.HttpInvokeService.InvokeAsync(IInvokeable`1 request, String hostUrl)
   at CommonUtilities.InvokeService.Impl.InvokeAliveChecker.InvokeAsync(IInvokeable`1 request, String hostUrl)
   at CommonUtilities.InvokeService.Impl.InvokeCache.InvokeAsync(IInvokeable`1 request, String hostUrl)
   at CommonUtilities.InvokeService.InvokeableExtensions.InvokeAsync(IRetryableWrapper`1 retryableRequest, String hostUrl)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233083,
"Source": "CommonUtilities",
"WatsonBuckets": null
}
发布应用,打不开页面

Tony.Fu 发表于 2023-6-12 14:30:26

您好,看错误日志中的提示是 活字格的工作流进程(22347)端口,提示超时无法访问导致的,
可以这样确认下服务端的状态吗?

1.在服务端运行cmd,执行
netstat -ano | findstr "22347"
效果如图,确保进程正确开启,且端口开放
2.服务端的进程里也有java.exe进程,命令行如图

moer 发表于 2023-6-12 14:36:54


Tony.Fu 发表于 2023-6-12 14:43:32

看起来这个服务是没有正确启动的,方便您提供一下向日葵代码,远程看一下吗?

moer 发表于 2023-6-12 19:59:39

C:\Users\puze>dir "C:\Program Files\ForguncyServer\WebSite\bpmJavaServerBin"
驱动器 C 中的卷没有标签。
卷的序列号是 7619-BEE3

C:\Program Files\ForguncyServer\WebSite\bpmJavaServerBin 的目录

2023/06/1208:13    <DIR>          .
2023/06/1208:13    <DIR>          ..
2023/06/1208:12    <DIR>          jre
2023/06/1208:12    <DIR>          lib
               0 个文件            0 字节
               4 个目录 83,741,392,896 可用字节

C:\Users\puze>

moer 发表于 2023-6-12 20:01:50

活子格服务器的日志

Simon.Sun 发表于 2023-6-13 08:54:55

收到,感谢您的支持,这边已经将日志反馈了。目前解决此问题的办法需要重新安装活字格服务器,将缺少的 JAR 安装上。
JAR 在活字格服务器的安装目录下,如下:
页: [1]
查看完整版本: 【9.0.4】: 重试接口 [RetryableWrapper`1] 请求异常,还会请求 [68] 次