请先选择标签
<!--
求求了!帮帮忙!花费30秒不到的时间填写一下以下信息,真的求求了。不填写模板无法审核。标题也补上版本号
-->
问题描述:部署agent后,连接手机授权后,显示device still authorizing
Server版本:v2.6.1
Agent版本与部署方式:v2.6.1,docker部署
手机型号与系统版本:HUAWEI Mate 30 全网通版 鸿蒙3.0.0
截图:


相关日志:
(我们更建议提供日志文本而不是日志截图,日志文本粘贴到这里,如果是截图请放到上面,上下三个点不要删除!!)
2023-09-06 02:31:00.011 - INFO 1 --- [main] org.cloud.sonic.agent.AgentApplication : Starting AgentApplication v2.6.1 using Java 17 with PID 1 (/root/sonic-agent-linux-x86_64.jar started by root in /root)
2023-09-06 02:31:00.016 - INFO 1 --- [main] org.cloud.sonic.agent.AgentApplication : The following 1 profile is active: "sonic-agent"
2023-09-06 02:31:02.338 - INFO 1 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 7777 (http)
2023-09-06 02:31:02.347 - INFO 1 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-09-06 02:31:02.348 - INFO 1 --- [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.7]
2023-09-06 02:31:02.474 - INFO 1 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2023-09-06 02:31:02.474 - INFO 1 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1694 ms
===================== Checking the Environment =====================
Checking config folders...
👉 Check config folders Pass ✔
Checking mini folders...
👉 Check mini folders Pass ✔
Checking ADB environment...
👉 Check ADB environment Pass ✔
Checking sonic-android-supply plugin...
👉 Check sonic-android-supply plugin Pass ✔
Checking sonic-ios-bridge plugin...
👉 Check sonic-ios-bridge plugin Pass ✔
Checking sonic-go-mitmproxy plugin...
👉 Check sonic-go-mitmproxy plugin Pass ✔
Checking apk files...
👉 Check apk files Pass ✔
👉 Check all plugins Pass ✔
=========================== Check results ===========================
✨ Congratulations, all check items have been done! ✨
System: linux
ADB version: Android Debug Bridge version 1.0.41
sonic-android-supply version: 0.1.9
sonic-ios-bridge version: 1.3.13
sonic-go-mitmproxy version: sonic-go-mitmproxy: 1.3.4
========================== Check Completed ==========================
2023-09-06 02:31:08.046 - INFO 1 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 7777 (http) with context path ''
2023-09-06 02:31:08.057 - INFO 1 --- [main] o.cloud.sonic.agent.bridge.ios.SibTool : iOS devices listening...
2023-09-06 02:31:08.058 - INFO 1 --- [main] o.cloud.sonic.agent.bridge.ios.SibTool : Enable iOS Module
2023-09-06 02:31:08.148 - INFO 1 --- [pool-3-thread-1] o.cloud.sonic.agent.bridge.ios.SibTool : listen done.
02:31:08 E/adb: * daemon not running; starting now at tcp:5037
02:31:08 E/adb: * daemon started successfully
2023-09-06 02:31:08.319 - INFO 1 --- [main] o.c.s.a.b.a.AndroidDeviceBridgeTool : Android devices listening...
2023-09-06 02:31:09.321 - INFO 1 --- [main] o.c.s.a.b.a.AndroidDeviceBridgeTool : Enable Android Module
2023-09-06 02:31:09.340 - INFO 1 --- [main] o.c.s.a.b.android.AndroidSupplyTool : Enable sonic-android-supply Module
2023-09-06 02:31:09.346 - INFO 1 --- [main] o.c.s.agent.tests.handlers.StepHandlers : Registered 5 condition handler(s)
2023-09-06 02:31:09.567 - INFO 1 --- [main] org.cloud.sonic.agent.AgentApplication : Started AgentApplication in 10.111 seconds (process running for 12.136)
2023-09-06 02:31:09.579 - INFO 1 --- [Thread-1] org.cloud.sonic.agent.tools.LaunchTool : Generating ca file...
2023-09-06 02:31:15.614 - INFO 1 --- [Thread-1] org.cloud.sonic.agent.tools.LaunchTool : init sonic-go-mitmproxy-ca Successful!
2023-09-06 02:31:15.614 - INFO 1 --- [Thread-2] org.cloud.sonic.agent.tools.SGMTool : init web proxy done.
2023-09-06 02:31:19.627 - INFO 1 --- [WebSocketConnectReadThread-49] o.c.s.agent.transport.TransportClient : Connected and auth...
2023-09-06 02:31:19.754 - INFO 1 --- [WebSocketConnectReadThread-49] o.c.s.agent.transport.TransportClient : Agent <- Server message: {"msg":"auth","result":"pass","remoteTimeout":"480","highTemp":45,"id":3,"highTempTime":15}
2023-09-06 02:31:19.765 - INFO 1 --- [pool-2-thread-2] o.c.s.agent.transport.TransportClient : server auth successful!
2023-09-06 02:31:19.788 - INFO 1 --- [pool-2-thread-2] org.cloud.sonic.agent.tools.PHCTool : hub is not ready. ignore...
2023-09-06 04:56:00.533 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 6ebc73d7 ONLINE!
2023-09-06 04:56:00.542 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 6ebc73d7 failed.
2023-09-06 04:56:00.543 -ERROR 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
2023-09-06 04:56:00.543 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
2023-09-06 04:56:00.549 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 6ebc73d7 failed.
2023-09-06 04:56:00.549 -ERROR 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
2023-09-06 04:56:00.549 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
2023-09-06 04:56:00.555 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 6ebc73d7 failed.
2023-09-06 04:56:00.555 -ERROR 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
2023-09-06 04:56:00.555 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
2023-09-06 04:56:37.314 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 6ebc73d7 OFFLINE!
2023-09-06 04:56:37.321 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 6ebc73d7 failed.
2023-09-06 04:56:37.322 -ERROR 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device '6ebc73d7' not found
2023-09-06 04:56:37.323 - INFO 1 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
如果是开发环境,请加上【开发环境】标签