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

Server Connection Failed. #3285

Closed
Zeddesnetos opened this issue May 21, 2022 · 2 comments
Closed

Server Connection Failed. #3285

Zeddesnetos opened this issue May 21, 2022 · 2 comments

Comments

@Zeddesnetos
Copy link

Environment

  • OS: Arch Linux
  • scrcpy version: 1.23
  • installation method: sudo pacman -S scrcpy
  • Android version: 5.1

Describe the bug
It doesnt connect.

scrcpy -Vdebug
scrcpy 1.23 <https://github.com/Genymobile/scrcpy>
DEBUG: ADB device found:
DEBUG:     -->   (usb)  0123456789ABCDEF                device  MTK
DEBUG: Device serial: 0123456789ABCDEF
DEBUG: Using server: /usr/share/scrcpy/scrcpy-server
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 267.5 MB/s (41123 bytes in 0.000s)
adb: error: closed
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
DEBUG: Remaining connection attempts: 100
DEBUG: Remaining connection attempts: 99
DEBUG: Remaining connection attempts: 98
DEBUG: Remaining connection attempts: 97
DEBUG: Remaining connection attempts: 96
DEBUG: Remaining connection attempts: 95
DEBUG: Remaining connection attempts: 94
DEBUG: Remaining connection attempts: 93
DEBUG: Remaining connection attempts: 92
DEBUG: Remaining connection attempts: 91
DEBUG: Remaining connection attempts: 90
DEBUG: Remaining connection attempts: 89
DEBUG: Remaining connection attempts: 88
DEBUG: Remaining connection attempts: 87
DEBUG: Remaining connection attempts: 86
DEBUG: Remaining connection attempts: 85
DEBUG: Remaining connection attempts: 84
DEBUG: Remaining connection attempts: 83
DEBUG: Remaining connection attempts: 82
DEBUG: Remaining connection attempts: 81
DEBUG: Remaining connection attempts: 80
DEBUG: Remaining connection attempts: 79
DEBUG: Remaining connection attempts: 78
DEBUG: Remaining connection attempts: 77
DEBUG: Remaining connection attempts: 76
DEBUG: Remaining connection attempts: 75
DEBUG: Remaining connection attempts: 74
DEBUG: Remaining connection attempts: 73
DEBUG: Remaining connection attempts: 72
DEBUG: Remaining connection attempts: 71
DEBUG: Remaining connection attempts: 70
DEBUG: Remaining connection attempts: 69
DEBUG: Remaining connection attempts: 68
DEBUG: Remaining connection attempts: 67
DEBUG: Remaining connection attempts: 66
DEBUG: Remaining connection attempts: 65
DEBUG: Remaining connection attempts: 64
DEBUG: Remaining connection attempts: 63
DEBUG: Remaining connection attempts: 62
DEBUG: Remaining connection attempts: 61
DEBUG: Remaining connection attempts: 60
DEBUG: Remaining connection attempts: 59
DEBUG: Remaining connection attempts: 58
DEBUG: Remaining connection attempts: 57
DEBUG: Remaining connection attempts: 56
DEBUG: Remaining connection attempts: 55
DEBUG: Remaining connection attempts: 54
DEBUG: Remaining connection attempts: 53
DEBUG: Remaining connection attempts: 52
DEBUG: Remaining connection attempts: 51
DEBUG: Remaining connection attempts: 50
DEBUG: Remaining connection attempts: 49
DEBUG: Remaining connection attempts: 48
DEBUG: Remaining connection attempts: 47
DEBUG: Remaining connection attempts: 46
DEBUG: Remaining connection attempts: 45
DEBUG: Remaining connection attempts: 44
DEBUG: Remaining connection attempts: 43
DEBUG: Remaining connection attempts: 42
DEBUG: Remaining connection attempts: 41
DEBUG: Remaining connection attempts: 40
DEBUG: Remaining connection attempts: 39
DEBUG: Remaining connection attempts: 38
DEBUG: Remaining connection attempts: 37
DEBUG: Remaining connection attempts: 36
DEBUG: Remaining connection attempts: 35
DEBUG: Remaining connection attempts: 34
DEBUG: Remaining connection attempts: 33
DEBUG: Remaining connection attempts: 32
DEBUG: Remaining connection attempts: 31
DEBUG: Remaining connection attempts: 30
DEBUG: Remaining connection attempts: 29
DEBUG: Remaining connection attempts: 28
DEBUG: Remaining connection attempts: 27
DEBUG: Remaining connection attempts: 26
DEBUG: Remaining connection attempts: 25
DEBUG: Remaining connection attempts: 24
DEBUG: Remaining connection attempts: 23
DEBUG: Remaining connection attempts: 22
DEBUG: Remaining connection attempts: 21
DEBUG: Remaining connection attempts: 20
DEBUG: Remaining connection attempts: 19
DEBUG: Remaining connection attempts: 18
DEBUG: Remaining connection attempts: 17
DEBUG: Remaining connection attempts: 16
DEBUG: Remaining connection attempts: 15
DEBUG: Remaining connection attempts: 14
DEBUG: Remaining connection attempts: 13
DEBUG: Remaining connection attempts: 12
DEBUG: Remaining connection attempts: 11
DEBUG: Remaining connection attempts: 10
DEBUG: Remaining connection attempts: 9
DEBUG: Remaining connection attempts: 8
DEBUG: Remaining connection attempts: 7
DEBUG: Remaining connection attempts: 6
DEBUG: Remaining connection attempts: 5
DEBUG: Remaining connection attempts: 4
DEBUG: Remaining connection attempts: 3
DEBUG: Remaining connection attempts: 2
DEBUG: Remaining connection attempts: 1
DEBUG: Server disconnected
DEBUG: Server terminated
ERROR: Server connection failed
@rom1v
Copy link
Collaborator

rom1v commented May 21, 2022

Are you sure it's Android 5, not 4? Try over USB.

@Zeddesnetos
Copy link
Author

Yeah, its 5.1 and it is over USB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants