question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

intermitent (retry required) HRESULT 0x80190194 when signing

See original GitHub issue

For some weeks now, when I build my project, the first build fail with the following trace:

trce: AzureSignTool.Program[0]
      Retrieving certificate CodeSignGlobalSign.
trce: AzureSignTool.Program[0]
      Acquiring access token from client id
trce: AzureSignTool.Program[0]
      Acquired access token from client id
trce: AzureSignTool.Program[0]
      Retrieved certificate CodeSignGlobalSign.
trce: AzureSignTool.Program[0]
      Creating context
info: AzureSignTool.Program[0]
      => File: C:\agent_local\_work\28\a\Program.exe
      Signing file C:\agent_local\_work\28\a\Program.exe
trce: AzureSignTool.Program[0]
      => File: C:\agent_local\_work\28\a\Program.exe
      Getting SIP Data
trce: AzureSignTool.Program[0]
      => File: C:\agent_local\_work\28\a\Program.exe
      Calling SignerSignEx3
trce: AzureSignTool.Program[0]
      => File: C:\agent_local\_work\28\a\Program.exe
      Acquiring access token from client id
trce: AzureSignTool.Program[0]
      => File: C:\agent_local\_work\28\a\Program.exe
      Acquired access token from client id
fail: AzureSignTool.Program[0]
      => File: C:\agent_local\_work\28\a\Program.exe
      Signing failed with error 80190194 for file C:\agent_local\_work\28\a\Program.exe.

I have to run the build a second time for the signing to succeed. I can confirm that the file is present on the disk.

While I am trying to diagnose what is occuring, do you have any idea what this HRESULT could mean?

Regards,

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
vcsjonescommented, Feb 3, 2021

Where did you found that 0x80190000 was for HTTP factory and the 2 last bytes were for the HTTP result code?

Just need to dissect the HRESULT a bit. Starting from the HRESULT docs.

  1. 8 because it’s a Microsoft owned failure code.
  2. 19 in hex is 25 in base 10. If we consult that documentation page, the facility is FACILITY_HTTP.
  3. The last two bytes are the code, which is facility-specific.
  4. For FACILITY_HTTP, the code is going to be the HTTP status code. I don’t know exactly where this is documented, it’s just been some knowledge I took for granted for a very long time.
1reaction
tboloncommented, Feb 3, 2021

Maybe just a link to the HRESULT doc as a starting point. I could not believe I missed that… Thank you anyway, you can close this issue. I’ll try to suggest something using a PR if I can.

Thank you anyway for this wonderful tool.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error code in Mail 0x80190194
I have upgraded from 8.1 to Win10 most of my mail accounts work and today for a while, today after upadate, all worked...
Read more >
The sync could not be initiated (0x80190194)
Hi all,. We are having several Windows 10 devices that could not be synced. ... Troubleshooting to Event Viewer, I keep getting an...
Read more >
Microsoft Store Apps Fail To Install With Error Code ...
Microsoft announced the deprecation of the scenario Microsoft Store for Business (MSfB) and Education (MSfE) integration with SCCM back in ...
Read more >
Assorted Bookmarks of MSDN, MSKB and TechNet Articles ...
EXE Scheduler · KB138349 - Windows 95 Installation Requirements ... KB234551 - WWW and FTP Services Stop Intermittently and or INetInfo Stops with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found