def describe_401_error(error_description)
if clock_skew?
error_description.section("Authentication Error:","Failed to authenticate to the chef server (http 401).\nThe request failed because your clock has drifted by more than 15 minutes.\nSyncing your clock to an NTP Time source should resolve the issue.\n")
else
error_description.section("Authentication Error:","Failed to authenticate to the chef server (http 401).\n")
error_description.section("Server Response:", format_rest_error)
error_description.section("Relevant Config Settings:","chef_server_url \"\#{server_url}\"\nnode_name \"\#{username}\"\nclient_key \"\#{api_key}\"\n\nIf these settings are correct, your client_key may be invalid.\n")
end
end