-
Notifications
You must be signed in to change notification settings - Fork 522
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
We don't show errors when unable to log into Docker Hub #360
Comments
What happens if you try to login from a command line or docker hub itself? |
I can login to Docker Hub just fine via the command line and on hub.docker.com, but even after I log in via command line the VS Code Extension still prompts for password. |
What OS? Also, if you do command palette -> Developer Tools, do you see any error messages in the output? |
Windows 7 - 64-bit No output at all when trying to log in. |
I think I found out what it is. I finally see some output and it looks like our firewall is intercepting the SSL traffic and the cert isn't valid. I'll handle this within my company. |
Thanks! I'd like to keep this open because we shouldn't be silently failing. |
Its probably due to an unhandled promise rejection when the docker hub login failed. Promises that reject just silently die out. I'll take a look after incorporating feedback for my current PR. |
It's likely this will be fixed by moving to AzureTreeDataProvider (https://github.com/Microsoft/vscode-azuretools/blob/940e63472fc9fd8d4b4d1bd24bc0e2a5ebf8a7d9/ui/src/treeDataProvider/AzureTreeDataProvider.ts#L27) - I believe it does appropriate error handling. |
Do you know the URL that the service hits? I need to get it whitelisted in our firewall.
|
Were you able to figure this out? Your question isn't specific enough. For docker hub, we're hitting URL's like https://hub.docker.com/v2/… |
Thanks Stephen. I submitted a request to have this fixed. Should be good to go after that. I appreciate the help. |
Just to add closure to the original issue. No longer failing after having the docker hub URL whitelisted in company firewall. |
Thanks, appreciate your letting us know. |
When clicking "refresh" button or expanding the "Docker Hub" section under "Registries", I am always prompted for username and password and my Docker Hub registries never appear. Logging in doesn't provide any messages and never seems to work.
The text was updated successfully, but these errors were encountered: