Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original error: Could not proxy command to the remote server. Original error: socket hang up #200

Closed
vdelendik opened this issue Aug 8, 2023 · 3 comments
Labels
enhancement New feature or request invalid This doesn't seem right
Milestone

Comments

@vdelendik
Copy link
Contributor

let's find valid way to handle socket hang as for real devices so for emulators

2023-08-08 16:07:00:944 - [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] Shutting down because we waited 60 seconds for a command
2023-08-08 16:07:00:944 - [AppiumDriver@8a65] [AppiumDriver@8a65] Ending session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
2023-08-08 16:07:00:944 - [AppiumDriver@8a65] [AppiumDriver@8a65] Removing session '07d7a211-c8f2-424b-be53-b81bd101b49f' from our master session list
2023-08-08 16:07:00:945 - [debug] [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] Deleting UiAutomator2 session
2023-08-08 16:07:00:945 - [debug] [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] Deleting UiAutomator2 server session
2023-08-08 16:07:00:945 - [debug] [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] Matched '/' to command name 'deleteSession'
2023-08-08 16:07:00:945 - [debug] [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/a48c7275-4e97-496d-9258-5cb9d605b379] with no body
2023-08-08 16:07:00:947 - [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] socket hang up
2023-08-08 16:07:00:947 - [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
2023-08-08 16:07:00:947 - [debug] [ADB] [ADB] Running '/opt/android/platform-tools/adb -P 5037 -s device:5555 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
2023-08-08 16:07:00:953 - [debug] [ADB] [ADB] Running '/opt/android/platform-tools/adb -P 5037 -s device:5555 shell am force-stop com.solvd.carinademoapplication'
2023-08-08 16:07:00:993 - [debug] [Logcat] [Logcat] Stopping logcat capture
2023-08-08 16:07:00:995 - [debug] [ADB] [ADB] Removing forwarded port socket connection: 8200
2023-08-08 16:07:00:995 - [debug] [ADB] [ADB] Running '/opt/android/platform-tools/adb -P 5037 -s device:5555 forward --remove tcp:8200'
2023-08-08 16:07:01:004 - [AndroidUiautomator2Driver@e0d3 (07d7a211)] [AndroidUiautomator2Driver@e0d3 (07d7a211)] Restoring hidden api policy to the device default configuration
2023-08-08 16:07:01:004 - [debug] [ADB] [ADB] Running '/opt/android/platform-tools/adb -P 5037 -s device\:5555 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
2023-08-08 16:07:07:776 - [HTTP] [HTTP] --> HEAD /wd/hub/status

@vdelendik vdelendik added the enhancement New feature or request label Aug 8, 2023
@vdelendik vdelendik added this to the 2.0 milestone Aug 8, 2023
@vdelendik vdelendik modified the milestones: 2.0, 2.1 Aug 10, 2023
@vdelendik
Copy link
Contributor Author

moved to v2.1

@vdelendik vdelendik modified the milestones: 2.1, 2.0.11 Jan 10, 2024
@akamarouski akamarouski modified the milestones: 2.0.11, 2.0.12 Feb 6, 2024
@vdelendik vdelendik modified the milestones: 2.0.12, 2.0.13 Feb 27, 2024
@vdelendik vdelendik modified the milestones: 2.0.13, 2.0.14, 2.0.15, 2.1 Mar 13, 2024
@vdelendik vdelendik added the invalid This doesn't seem right label Apr 30, 2024
@vdelendik
Copy link
Contributor Author

closing as can't reproduce in 2.0

@dhreben
Copy link
Contributor

dhreben commented Apr 30, 2024

Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request invalid This doesn't seem right
Projects
Archived in project
Development

No branches or pull requests

3 participants