-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
login doesn't display server-side error message #3884
Comments
I have a weak preference to put this error into the debugging logs to avoid cluttering the output but maybe others feel differently about it. |
Depends on how output for other registries looks like but this is important information for end users. It took me quite a while to figure out the issue. In fact I had to install docker again to double-check the matter ;-) |
server-side error message is in the http response we return hard code error invalid username/password if |
Providing it in |
fix containers/podman#3884 Add http response message log to show server-side error message. Signed-off-by: Qi Wang <[email protected]>
fix containers/podman#3884 Add http response message log to show server-side error message. Signed-off-by: Qi Wang <[email protected]>
fix containers/podman#3884 Returns http response error message from server-side. Signed-off-by: Qi Wang <[email protected]>
fix containers/podman#3884 Returns http response error message from server-side. Signed-off-by: Qi Wang <[email protected]>
fix containers/podman#3884 Returns http response error message from server-side. Signed-off-by: Qi Wang <[email protected]>
fix containers/podman#3884 Add http response message log to show server-side error message. Signed-off-by: Qi Wang <[email protected]>
fix containers/podman#3884 Add http response message log to show server-side error message. Signed-off-by: Qi Wang <[email protected]>
fix containers/podman#3884 Add http response message log to show server-side error message. Signed-off-by: Qi Wang <[email protected]>
/kind bug
Description
podman login doesn't display server-side error message when it fails.
Steps to reproduce the issue:
podman login registry.gitlab.com
Describe the results you received:
The following response seems hardcoded:
Describe the results you expected:
While it should have returned the error message as provided by the authentication endpoint (Docker daemon ouput):
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):The text was updated successfully, but these errors were encountered: