Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #11286] Feedback when using wrong password #121

Closed
icinga-migration opened this issue Mar 3, 2016 · 3 comments
Closed
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11286

Created by spillerm on 2016-03-03 10:06:37 +00:00

Assignee: tgelf
Status: Resolved (closed on 2016-03-06 20:45:03 +00:00)
Target Version: 1.0.0
Last Update: 2016-03-22 22:52:04 +00:00 (in Redmine)


Hi,

while setting up director, I accidentally used a wrong password for my director API user.
The message showing up in UI is "Parsing JSON result failed: Syntax error" which is not so user friendly ;-) See screenshot below.

Regards,
Marianne

director 1.0.0-alpha2 enabled Director - Config tool for Icinga 2
icinga2-2.4.3-1ppa1trusty1

Attachments

Changesets

2016-03-06 20:43:32 +00:00 by tgelf a1b7cd2

RestApiClient: catch 401 errors

fixes #11286
@icinga-migration
Copy link
Author

Updated by tgelf on 2016-03-03 10:54:00 +00:00

  • Status changed from New to Assigned
  • Assigned to set to tgelf

Unfortunately Icinga2 ships kind of HTML instead of JSON in this case in response to my API request. I'll implement a workaround catching this, providing a better error message.

Cheers,
Thomas

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-03-06 20:45:03 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset a1b7cd2.

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-03-22 22:52:04 +00:00

  • Target Version set to 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant