-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Standalone server : java.lang.IllegalArgumentException: The server version (v2.2) does not match the client (2.2) #4433
Comments
Replace |
There is no "v" in my command line, cf
adding it though fixed it, so I guess the doc should reflect that? Example :
even though I admit I'm confused with the client/server version check in the first place as here, AFAIK, we are "just" starting the server, not the client. |
Oh, I wrongly passed This will be fixed when I will bump the numbers for the next release. Sorry for the inconvenience.
The version defines the protocol between the client and the server. This avoids someone incorrectly running different versions to get random errors. The server is intended to run with the client, although as a best effort it can be run standalone. |
No worries, thanks for the clarification. IMHO because it does work with other clients, e.g VLC, then this should be a non blocking warning rather than an error. |
The previous version bump to 2.2 was incorrect, it was updated by: ./bump_version v2.2 instead of: ./bump_version 2.2 Correctly bump to version 2.3. Refs #4433 <#4433 (comment)>
Fixed in 2.3 :) |
Environment
Describe the bug
Tried to follow https://github.com/Genymobile/scrcpy/blob/master/doc/develop.md#standalone-server in order to try with VLC but blocked by
The text was updated successfully, but these errors were encountered: