To map errors such as 0x80072F8F, where the most significant word is 8007 and indicates a Windows system error, one needs to take the least significant word (in this case 2F8F), convert it to decimal (12175), then look it up on msdn. This error resolves to ERROR_WINHTTP_SECURE_FAILURE.
In this case, this indicates a problem with the TLS connection. Essentially, the client could not connect to the server because of an HTTPS issue.
WinInet is a different error stack, and errors reported are slightly different, even though they mean the same thing . The code in github Joshua linked below is correct but somewhat obsolete. At one point in the past, Omaha used a dual network stack (WinInet/WinHTTP). Some symbols still remained in the code after we dropped WinInet support. I am sorry for the confusion.