# WSUS-Client cookbook error

**URL:** <https://discourse.chef.io/t/wsus-client-cookbook-error/10929>\
**Category:** Chef Automate\
**Created:** [May 19, 2017, 4:06pm UTC](https://discourse.chef.io/t/wsus-client-cookbook-error/10929 "2017-05-19T16:06:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prash](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@prash](https://discourse.chef.io/u/prash)\
**Post date:** [May 19, 2017, 4:06pm UTC](https://discourse.chef.io/t/wsus-client-cookbook-error/10929/1 "2017-05-19T16:06:32Z")

</div>

Greetings Professionals,

Can any one please help me on the below issue , some times the cookbook works some times it throws this error i cannot figure out what exactly the problem is

================================================================================  
10.0.108.104 Error executing action `download` on resource 'wsus\_client\_update[WSUS updates]‘  
10.0.108.104 ================================================================================  
10.0.108.104  
10.0.108.104 WIN32OLERuntimeError  
10.0.108.104 --------------------  
10.0.108.104 (in OLE method `CreateUpdateDownloader': ) 10.0.108.104 OLE error code:80070005 in <Unknown> 10.0.108.104 <No Description> 10.0.108.104 HRESULT error code:0x80020009 10.0.108.104 Exception occurred. 10.0.108.104 10.0.108.104 Cookbook Trace: 10.0.108.104 --------------- 10.0.108.104 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:41:in`method\_missing’  
10.0.108.104 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:41:in `block (2 levels) in class_from_file' 10.0.108.104 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:36:in`block in class\_from\_file’  
10.0.108.104  
10.0.108.104 Resource Declaration:  
10.0.108.104 ---------------------  
10.0.108.104 # In c:/chef/cache/cookbooks/wsus-client/recipes/update.rb  
10.0.108.104  
10.0.108.104 31: wsus\_client\_update ‘WSUS updates’ do  
10.0.108.104 32: action actions\_to\_perform  
10.0.108.104 33: end  
10.0.108.104  
10.0.108.104 Compiled Resource:  
10.0.108.104 ------------------  
10.0.108.104 # Declared in c:/chef/cache/cookbooks/wsus-client/recipes/update.rb:31:in `from_file' 10.0.108.104 10.0.108.104 wsus_client_update("WSUS updates") do 10.0.108.104 action [:download] 10.0.108.104 retries 0 10.0.108.104 retry_delay 2 10.0.108.104 default_guard_interpreter :default 10.0.108.104 declared_type :wsus_client_update 10.0.108.104 cookbook_name "wsus-client" 10.0.108.104 recipe_name "update" 10.0.108.104 end 10.0.108.104 10.0.108.104 Platform: 10.0.108.104 --------- 10.0.108.104 x64-mingw32 10.0.108.104 10.0.108.104 10.0.108.104 [2017-05-19T12:01:51-04:00] INFO: Running queued delayed notifications before re-raising exception 10.0.108.104 [2017-05-19T12:01:51-04:00] ERROR: Running exception handlers 10.0.108.104 [2017-05-19T12:01:51-04:00] ERROR: Exception handlers complete 10.0.108.104 [2017-05-19T12:01:52-04:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out 10.0.108.104 [2017-05-19T12:01:52-04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report 10.0.108.104 [2017-05-19T12:01:52-04:00] FATAL: WIN32OLERuntimeError: wsus_client_update[WSUS updates] (wsus-client::update line 31) had an error: WIN32OLERuntimeError: (in OLE method`CreateUpdateDownloader’: )  
10.0.108.104 OLE error code:80070005 in   
10.0.108.104   
10.0.108.104 HRESULT error code:0x80020009  
10.0.108.104 Exception occurred.

Thanks  
\_Prashanth

---

<div class="post-metadata">

**Author:** ![joerod](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@joerod](https://discourse.chef.io/u/joerod)\
**Post date:** [May 19, 2017, 10:41pm UTC](https://discourse.chef.io/t/wsus-client-cookbook-error/10929/2 "2017-05-19T22:41:10Z")

</div>

Looks like a problem connecting to wsus. Have you tried patching without chef to confirm it isn’t wsus?
