Project

General

Profile

Actions

Feature #30284

closed

Provide clearer Smart Proxy registration errors with as much context as possible based on the error

Added by Eric Helms almost 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Handle the following:

* Apache can be down
  * Connection refused or connection timeout
* Foreman can be down
  * HTTP 502 or 503
* Foreman can throw an error
  * Does not always return a proper error message
  * Need to check/fix Foreman to return a proper JSON structured error message
  * Typically a 500
* Authorization error
  * Show a proper invalid credentials error
* Instruct users where to look for error messages
  * Include in error message to look in production.log when appropriate

Related issues 1 (1 open0 closed)

Related to Foreman - Bug #30285: Smart proxy registration API does not always return a structured JSON error responseNewActions
Actions

Also available in: Atom PDF