日志如下所示:
2022-04-09 11:53:03.484 - WARN 17056 --- [main] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2022-04-09 11:53:03.545 - INFO 17056 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 7777 (http) with context path ''
2022-04-09 11:53:03.558 - INFO 17056 --- [main] o.c.s.a.automation.RemoteDebugDriver : 开启webview相关功能
ChromeDriver was started successfully.
2022-04-09 11:53:04.381 - INFO 17056 --- [Forwarding newSession on session null to remote] o.o.selenium.remote.ProtocolHandshake : Detected dialect: W3C
2022-04-09 11:53:04.398 - INFO 17056 --- [main] o.c.s.a.automation.RemoteDebugDriver : chromeDriver启动完毕!
2022-04-09 11:53:04.399 - INFO 17056 --- [main] o.c.s.a.b.a.AndroidDeviceBridgeTool : 开启安卓相关功能
2022-04-09 11:53:04.399 - INFO 17056 --- [main] o.cloud.sonic.agent.bridge.ios.SibTool : 开启iOS相关功能
2022-04-09 11:53:04.407 - INFO 17056 --- [main] o.c.s.agent.tests.handlers.StepHandlers : Registered 5 condition handler(s)
2022-04-09 11:53:04.415 - INFO 17056 --- [main] org.cloud.sonic.agent.AgentApplication : Started AgentApplication in 6.59 seconds (JVM running for 7.038)
2022-04-09 11:53:04.644 - INFO 17056 --- [main] org.cloud.sonic.agent.tools.SGMTool : 启动sonic-go-mitmproxy失败!请执行 chmod -R 777 D:\sonic_gitlab\sonic-agent\plugins,仍然失败可加 上sudo尝试
2022-04-09 11:53:04.765 - INFO 17056 --- [AgentNettyClient-3-1] o.c.s.a.b.a.AndroidDeviceBridgeTool : 安卓设备监听已开启
2022-04-09 11:53:04.856 - INFO 17056 --- [SpringContextShutdownHook] org.cloud.sonic.agent.tools.LaunchTool : Release done!
在启动 jar 前已启用了端口,如下所示:
Active code page: 65001
发现启动sonic-go-mitmproxy失败后,在命令行输入该命令查看信息报不是内部或外部命令:
D:\sonic_gitlab\sonic-agent\plugins>sonic-go-mitmproxy -cert_path=./
'sonic-go-mitmproxy' is not recognized as an internal or external command,
operable program or batch file.