Actions
Bug #22245
closedsmart_proxy_openscap does not rescue Errno::ECONNREFUSED
Difficulty:
Triaged:
No
Bugzilla link:
Description
Description of problem:
We do not rescue from Errno::ECONNREFUSED exception on proxy, so when proxy tries to upload Arf report to server, connection is refused and exception is raised, which is not handled gracefully.
How reproducible:
always
Steps to Reproduce:
1. Stop satellite server: systemctl stop httpd
2. generate a report by running foreman_scap_client manually, proxy should save it to spool since server is not available
3. Observe the error
Actual results:
Error from proxy gets printed as a response to client, see the attachment
Expected results:
No error gets printed on stdout, proxy saves the report to spool
Files
Actions