Document Windows VC++ Redist pre-req #133
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When installed on MS Windows, enterprise-certificate-proxy requires the Windows VC++ Redist package to also be installed from:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
If it is not installed gcloud commands will generally die with an error like:
libtls_offload.dll DEFINITELY exists in my setup but Windows OS masks that the true failure was loading other DLLs which it depends on.
This can be reproduced on a clean Google Compute Engine Windows 2019 VM (I'm aware generally Google Compute Engine would use attached service account, not end user auth but this is a simple way for Googlers to repro the issue).
The error message above offers few clues to the issue. This is a Windows feature limitation as described at:
https://docs.python.org/3/library/ctypes.html#ctypes.CDLL
as such, I suggest gcloud should catch the exception and recommend the user install the free MS Redist package listed above.
The text was updated successfully, but these errors were encountered: