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

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


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