Project

General

Profile

Actions

Bug #12559

closed

Nicer error when refresh facts generates 500

Added by Ohad Levy about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Since timeout on discovered host is not an uncommon event, I would prefer that timeout would not generate 500 on the server side, but rather provide a nicer error:

Warning!
Could not get facts from proxy https://10.35.27.150:8443: Connection timed out - connect(2) for "10.35.27.150" port 8443

If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace , relevant log entries, and it is highly recommended to also attach the foreman-debug output.

Back

Actions

Also available in: Atom PDF