aws-samples / aws-samples/dcv-extension-sdk-samples

GetDcvInfoResponseClient version was incorrect

Open
#6 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

from Protobuf:
```
// Synchronous response to a GetDcvInfoRequest
message GetDcvInfoResponse {
enum DcvRole {
Server = 0;
Client = 1;
}

DcvRole dcv_role = 1;
int64 dcv_process_id = 2;
SoftwareInfo server_info = 3;
SoftwareInfo client_info = 4;
}
```

In GetDcvInfoResponse, both client_info and server_info have VersionNumber fields that don't seem to match any version on the client/server. I was expecting to see something similar to the [semantic versioning described in sdk docs](https://docs.aws.amazon.com/dcv/latest/extsdkguide/what-is.html#versioning)
I printed out client_info followed by server_info below:

```
main g_isServer=false, PID=28652
OnSoftwareInfo hostname:WSAMZN-T5R030NB
OnSoftwareInfo Workspaces version major=2024, minor=0, rev=18520
OnSoftwareInfo Workspaces version major=2024, minor=0, rev=0
```

For reference, my Amazon Workspaces client version was 5.27.1.

As a workaround, I used dcv_process_id to find the image path for workspaces.exe and checked the Product Version, please let me know if this solution will break in near future.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.