Open Jermin2020 opened 12 months ago
The rollback version is 1.2. Normal
The rollback version is 1.2. Normal
did the 1.2 version work?
The rollback version is 1.2. Normal
did the 1.2 version work?
normal use
Get the same issue: OS:WIN11, WAD:1.2.99.0 installed by appium driver install --source=npm appium-windows-driver
[debug] [WindowsDriver@88e5 (4ecdac2c)] HTTP/1.1 500 Internal Error [debug] [WindowsDriver@88e5 (4ecdac2c)] Content-Length: 133 [debug] [WindowsDriver@88e5 (4ecdac2c)] Content-Type: application/json [debug] [WindowsDriver@88e5 (4ecdac2c)] [debug] [WindowsDriver@88e5 (4ecdac2c)] {"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}} [debug] [WindowsDriver@88e5 (4ecdac2c)] Matched '/status' to command name 'getStatus' [debug] [WindowsDriver@88e5 (4ecdac2c)] Proxying [GET /status] to [GET http://127.0.0.1:4724/wd/hub/status] with no body [debug] [WindowsDriver@88e5 (4ecdac2c)] ========================================== [debug] [WindowsDriver@88e5 (4ecdac2c)] GET /wd/hub/status HTTP/1.1 [debug] [WindowsDriver@88e5 (4ecdac2c)] Accept: application/json, / [debug] [WindowsDriver@88e5 (4ecdac2c)] Accept-Encoding: gzip, compress, deflate, br [debug] [WindowsDriver@88e5 (4ecdac2c)] Connection: keep-alive [debug] [WindowsDriver@88e5 (4ecdac2c)] Content-Type: application/json; charset=utf-8 [debug] [WindowsDriver@88e5 (4ecdac2c)] Host: 127.0.0.1:4724 [debug] [WindowsDriver@88e5 (4ecdac2c)] User-Agent: appium [WindowsDriver@88e5 (4ecdac2c)] Got response with status 500: {"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}} [debug] [W3C] Matched W3C error code 'unknown error' to UnknownError [debug] [WindowsDriver@88e5 (4ecdac2c)] Deleting WinAppDriver session [debug] [WindowsDriver@88e5 (4ecdac2c)] HTTP/1.1 500 Internal Error [debug] [WindowsDriver@88e5 (4ecdac2c)] Content-Length: 133 [debug] [WindowsDriver@88e5 (4ecdac2c)] Content-Type: application/json [debug] [WindowsDriver@88e5 (4ecdac2c)] [debug] [WindowsDriver@88e5 (4ecdac2c)] {"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}} [WindowsDriver@88e5 (4ecdac2c)] WinAppDriver exited with code null, signal SIGTERM [debug] [AppiumDriver@810e] Event 'newSessionStarted' logged at 1694962612749 (22:56:52 GMT+0800 (中国标准时间)) [debug] [AppiumDriver@810e] Encountered internal error running command: Error: WinAppDriver server is not listening within 10000ms timeout. Make sure it could be started manually [debug] [AppiumDriver@810e] at WinAppDriver.start (C:\Users\l.appium\node_modules\appium-windows-driver\lib\winappdriver.js:164:15) [debug] [AppiumDriver@810e] at processTicksAndRejections (node:internal/process/task_queues:95:5) [debug] [AppiumDriver@810e] at WindowsDriver.startWinAppDriverSession (C:\Users\l.appium\node_modules\appium-windows-driver\lib\driver.js:104:5) [debug] [AppiumDriver@810e] at WindowsDriver.createSession (C:\Users\l.appium\node_modules\appium-windows-driver\lib\driver.js:92:7) [debug] [AppiumDriver@810e] at AppiumDriver.createSession (C:\Users\l\AppData\Roaming\npm\node_modules\appium\lib\appium.js:374:35) [HTTP] <-- POST /session 500 10072 ms - 756
How can I rollback version 1.2.1? Uninstall the WAD from control panel? And install the 1.2.1 msi maunally?
2023-09-13 16:39:15:194 - [Appium] Welcome to Appium v2.0.1 2023-09-13 16:39:15:197 - [Appium] Non-default server args: 2023-09-13 16:39:15:198 - [Appium] { 2023-09-13 16:39:15:198 - [Appium] localTimezone: true, 2023-09-13 16:39:15:198 - [Appium] logTimestamp: true 2023-09-13 16:39:15:199 - [Appium] } 2023-09-13 16:39:15:199 - [Appium] Attempting to load driver uiautomator2... 2023-09-13 16:39:15:200 - [debug] [Appium] Requiring driver at C:\Users\zm-ye\node_modules\appium-uiautomator2-driver 2023-09-13 16:39:15:851 - [Appium] Attempting to load driver chromium... 2023-09-13 16:39:15:852 - [debug] [Appium] Requiring driver at C:\Users\zm-ye\node_modules\appium-chromium-driver 2023-09-13 16:39:15:892 - [Appium] Attempting to load driver windows... 2023-09-13 16:39:15:893 - [debug] [Appium] Requiring driver at C:\Users\zm-ye\node_modules\appium-windows-driver 2023-09-13 16:39:15:952 - [Appium] Appium REST http interface listener started on http://0.0.0.0:4723/ 2023-09-13 16:39:15:955 - [Appium] You can provide the following URLS in your client code to connect to this server: 2023-09-13 16:39:15:956 - [Appium] http://192.168.82.157:4723/ 2023-09-13 16:39:15:956 - [Appium] http://127.0.0.1:4723/ (only accessible from the same host) 2023-09-13 16:39:15:956 - [Appium] Available drivers: 2023-09-13 16:39:15:957 - [Appium] - uiautomator2@2.29.2 (automationName 'UiAutomator2') 2023-09-13 16:39:15:957 - [Appium] - chromium@1.1.55 (automationName 'Chromium') 2023-09-13 16:39:15:957 - [Appium] - windows@2.12.2 (automationName 'Windows') 2023-09-13 16:39:15:958 - [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use. 2023-09-13 16:39:28:478 - [HTTP] --> POST /session 2023-09-13 16:39:28:479 - [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Windows","appium:automationName":"Windows","appium:app":"C:\Windows\System32\notepad.exe","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Windows","appium:automationName":"Windows","appium:app":"C:\Windows\System32\notepad.exe","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}} 2023-09-13 16:39:28:483 - [debug] [AppiumDriver@5eba] Calling AppiumDriver.createSession() with args: [{"platformName":"Windows","appium:automationName":"Windows","appium:app":"C:\Windows\System32\notepad.exe","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"Windows","appium:automationName":"Windows","appium:app":"C:\Windows\System32\notepad.exe","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}] 2023-09-13 16:39:28:485 - [debug] [AppiumDriver@5eba] Event 'newSessionRequested' logged at 1694594368485 (16:39:28 GMT+0800 (中国标准时间)) 2023-09-13 16:39:28:490 - [Appium] Attempting to find matching driver for automationName 'Windows' and platformName 'Windows' 2023-09-13 16:39:28:491 - [Appium] The 'windows' driver was installed and matched caps. 2023-09-13 16:39:28:492 - [Appium] Will require it at C:\Users\zm-ye\node_modules\appium-windows-driver 2023-09-13 16:39:28:492 - [debug] [Appium] Requiring driver at C:\Users\zm-ye\node_modules\appium-windows-driver 2023-09-13 16:39:28:493 - [AppiumDriver@5eba] Appium v2.0.1 creating new WindowsDriver (v2.12.2) session 2023-09-13 16:39:28:494 - [AppiumDriver@5eba] Checking BaseDriver versions for Appium and WindowsDriver 2023-09-13 16:39:28:494 - [AppiumDriver@5eba] Appium's BaseDriver version is 9.3.16 2023-09-13 16:39:28:494 - [AppiumDriver@5eba] WindowsDriver's BaseDriver version is 9.3.16 2023-09-13 16:39:28:496 - [debug] [WindowsDriver@f034] Creating session with W3C capabilities: { 2023-09-13 16:39:28:496 - [debug] [WindowsDriver@f034] "alwaysMatch": { 2023-09-13 16:39:28:497 - [debug] [WindowsDriver@f034] "platformName": "Windows", 2023-09-13 16:39:28:497 - [debug] [WindowsDriver@f034] "appium:automationName": "Windows", 2023-09-13 16:39:28:497 - [debug] [WindowsDriver@f034] "appium:app": "C:\Windows\System32\notepad.exe", 2023-09-13 16:39:28:497 - [debug] [WindowsDriver@f034] "appium:newCommandTimeout": 3600, 2023-09-13 16:39:28:497 - [debug] [WindowsDriver@f034] "appium:connectHardwareKeyboard": true 2023-09-13 16:39:28:498 - [debug] [WindowsDriver@f034] }, 2023-09-13 16:39:28:498 - [debug] [WindowsDriver@f034] "firstMatch": [ 2023-09-13 16:39:28:498 - [debug] [WindowsDriver@f034] {} 2023-09-13 16:39:28:498 - [debug] [WindowsDriver@f034] ] 2023-09-13 16:39:28:498 - [debug] [WindowsDriver@f034] } 2023-09-13 16:39:28:502 - [WindowsDriver@f034] The following capabilities were provided, but are not recognized by Appium: 2023-09-13 16:39:28:505 - [WindowsDriver@f034] connectHardwareKeyboard 2023-09-13 16:39:28:506 - [WindowsDriver@f034 (14a0cb95)] Session created with session id: 14a0cb95-428b-482f-b094-bb2f540be911 2023-09-13 16:39:28:513 - [WindowsDriver@f034 (14a0cb95)] Spawning 'C:\Program Files\Windows Application Driver\WinAppDriver.exe' with args: ["4724/wd/hub"] 2023-09-13 16:39:28:523 - [debug] [WindowsDriver@f034 (14a0cb95)] Matched '/status' to command name 'getStatus' 2023-09-13 16:39:28:525 - [debug] [WindowsDriver@f034 (14a0cb95)] Proxying [GET /status] to [GET http://127.0.0.1:4724/wd/hub/status] with no body 2023-09-13 16:39:28:537 - [WindowsDriver@f034 (14a0cb95)] connect ECONNREFUSED 127.0.0.1:4724 2023-09-13 16:39:28:629 - [debug] [WindowsDriver@f034 (14a0cb95)] Windows Application Driver listening for requests at: http://127.0.0.1:4724/wd/hub 2023-09-13 16:39:28:630 - [debug] [WindowsDriver@f034 (14a0cb95)] Press ENTER to exit. 2023-09-13 16:39:29:542 - [debug] [WindowsDriver@f034 (14a0cb95)] Matched '/status' to command name 'getStatus' 2023-09-13 16:39:29:542 - [debug] [WindowsDriver@f034 (14a0cb95)] Proxying [GET /status] to [GET http://127.0.0.1:4724/wd/hub/status] with no body 2023-09-13 16:39:29:546 - [debug] [WindowsDriver@f034 (14a0cb95)] ========================================== 2023-09-13 16:39:29:546 - [debug] [WindowsDriver@f034 (14a0cb95)] GET /wd/hub/status HTTP/1.1 2023-09-13 16:39:29:547 - [debug] [WindowsDriver@f034 (14a0cb95)] Accept: application/json, / 2023-09-13 16:39:29:547 - [debug] [WindowsDriver@f034 (14a0cb95)] Accept-Encoding: gzip, compress, deflate, br 2023-09-13 16:39:29:547 - [debug] [WindowsDriver@f034 (14a0cb95)] Connection: keep-alive 2023-09-13 16:39:29:547 - [debug] [WindowsDriver@f034 (14a0cb95)] Content-Type: application/json; charset=utf-8 2023-09-13 16:39:29:547 - [debug] [WindowsDriver@f034 (14a0cb95)] Host: 127.0.0.1:4724 2023-09-13 16:39:29:548 - [debug] [WindowsDriver@f034 (14a0cb95)] User-Agent: appium 2023-09-13 16:39:29:550 - [WindowsDriver@f034 (14a0cb95)] Got response with status 500: {"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}