WSUS-Client cookbook error

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:inmethod_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:inblock 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 methodCreateUpdateDownloader’: )
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

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