docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.87k stars 291 forks source link

Docker Desktop Application is kept/keep logging me out. #12745

Closed ghost closed 5 months ago

ghost commented 2 years ago

I have been using Docker Desktop and a MacOS environment as well as a Widows 10/11 environment and everyday, I have to re-login to the docker desktop and is been annoying. Screenshot 2022-05-24 073954 The above is not sign in, and the botttom is allows me to log in. Screenshot 2022-05-24 074411 after couple of hours or maybe after when i turn off my computer off and turn it on the next day. ti logs me out.

ghost commented 2 years ago

i think there's something wrong with the login crediential that's causing this. I never had this issues before.

keldon2295 commented 2 years ago

Same issue

arielmaioli commented 2 years ago

same issue

sindrekjr commented 2 years ago

Same issue. It seems to only happen on PC reboot.

dortizbover commented 2 years ago

Same issue.

ghost commented 2 years ago

this issue does not just happens in Windows 10 or Windows 11, this issue also happens on MacOS as well.

dmckernanacv commented 2 years ago

Happens for me too after a reboot / period of time. MacOS

arnoldp-workstreampeople-com commented 2 years ago

Same here

Bastians-Bits commented 2 years ago

Same here. Happens after every reboot on Windows 10.

AlfinIndrawan commented 2 years ago

I though this is just me. disable two factor auth because it so annoying

trungutt commented 2 years ago

Hi, could anyone who has the issue upload an diagnostic ID please?

pmarko commented 2 years ago

Same issue here. Introduce "Remember me" feature. It is super annoying.

ghost commented 2 years ago

can someone upload diagnostic ID for both MacOS and Windows. I'm on Linux right now so i can't upload at the moment.

dmckernanacv commented 2 years ago

can someone upload diagnostic ID for both MacOS and Windows. I'm on Linux right now so i can't upload at the moment.

I included one in https://github.com/docker/for-mac/issues/6362

BENNIEV-ZA commented 2 years ago

Same issue on MacOS

trungutt commented 2 years ago

Hi, could everyone who has the issue try out these custom builds? They probably won't resolve the issue, but at least they gave us more insight on what was happening, please upload your diagnostic to help us troubleshoot this issue

Mac Intel: https://desktop-stage.docker.com/mac/main/amd64/82239/Docker.dmg Mac M1: https://desktop-stage.docker.com/mac/main/arm64/82239/Docker.dmg Windows: https://desktop-stage.docker.com/win/main/amd64/82239/Docker%20Desktop%20Installer.exe

dmckernanacv commented 2 years ago

@trungutt Do you want the diagnostic right away or the next time we are logged out?

trungutt commented 2 years ago

I'd like to have diagnostic the next time when you get logged out

p10tyr commented 2 years ago

Same issue. Windows 10. Super annoying. My browser is logged in I gotta keep clicking login in the app which takes me to browser then back to docker. Docker 4.10.1

arnoldp-workstreampeople-com commented 2 years ago

It is solved for me with the latest Docker Desktop update

image
codedmonkey commented 2 years ago

Thank you all for complaining and spamming my mailbox and when somebody asks for help to fix the issue, you all stayed quiet. You people are why open source software still sucks.

arnoldp-workstreampeople-com commented 2 years ago

Thank you all for complaining and spamming my mailbox and when somebody asks for help to fix the issue, you all stayed quiet. You people are why open source software still sucks.

I think your comment is the least helpful in this thread

dmckernanacv commented 2 years ago

Thank you all for complaining and spamming my mailbox and when somebody asks for help to fix the issue, you all stayed quiet. You people are why open source software still sucks.

This is the point of open-source, its a community. They are sharing that they are also having the problem. If you're receiving too many emails, unsubscribe from the thread and check back periodically to see if it's fixed, or setup an email filter.

p10tyr commented 2 years ago

@codedmonkey - May I remind you that there's probably a good percentage of people here that PAY to use Docker. Literally, this is in Docker while I am logged in with a Business license. image

If the notifications are annoying you, GitHub provides excellent notification settings, where you can mute things as you please.

dmckernanacv commented 2 years ago

@trungutt Here is my diagnostic ID, sorry for the delay, had a busy week: 6912E677-27DE-4E09-9E49-3767548B75E8/20220711131512

brandonshough commented 2 years ago

Keeps happening to me too on Windows and Mac OS

brandonshough commented 2 years ago

How is this still happening? Almost every reboot... UGH

image

AndeYashwanth commented 2 years ago

For me it's happening without rebooting windows 10. I just quit docker desktop yesterday and put laptop to sleep. When I start docker now I see that I got signed out. So maybe windows reboot is not required. Just quitting docker desktop or putting windows to sleep and waking up is causing the issue. I'm in 4.11.1 (84025)

1Mark commented 2 years ago

Resolved in 4.12.0

arnoldp-workstreampeople-com commented 2 years ago

Resolved in 4.12.0

I have 4.12.0 and it just logged out.

thomasjo commented 2 years ago

Resolved in 4.12.0

I have 4.12.0 and it just logged out.

I can confirm that the problem is still present in 4.12.0 on macOS 12.6.

1Mark commented 2 years ago

Yeah you're right I just had it happen again now on macos 12.6 and 4.12 docker

Karbust commented 2 years ago

Keeps happening on Windows 10 Version: Docker Desktop 4.12.0 (85629)

AACO commented 2 years ago

I have the same issue. Windows 11 21H2 22000.978 Docker Desktop 4.12.0 (85629)

ursinsaluz commented 2 years ago

Same Windows 11

ghost commented 2 years ago

this issue is still going on.

trungutt commented 2 years ago

Hi, TBH there are several different causes behind the scene with the logout issue, we're still investigating at the moment.

Please don't hesitate to upload new diagnostic and put it in the comment if you still experience the issue. If you could recall how that was happening, that would be very helpful for us.

dmckernanacv commented 2 years ago

For what it's worth, for me it was consistently after a restart of my computer. Sometimes I actually interacted with docker, other times it was just running containers in the background

ghost commented 2 years ago

Same here...

Docker Engine V20.10.17 Docker Desktop V4.12.0 Compose v2.10.2 Kubernetes v1.25.0 credential helper v0.6.4 Snyk v1.827.0

Microsoft Windows [Version 10.0.19044.2006]

rafrafek commented 2 years ago

Same for me:

50451E22-02FA-4731-B342-AD1764719A73/20221012152524

Edit: On Mac

trungutt commented 2 years ago

@rafrafek Thanks a lot, I'm able to see the failure in this diagnostic, your session expired too soon and it shouldn't. TBH I think a lot of our users experience the same issue... I need to discuss with internal team on it, my apology for this inconvenience

trungutt commented 2 years ago

Hi everyone, we changed some configuration on our side in order to resolve this logout issue. Please let us know if you continue to have it, and please don't forget to upload diagnostic in case

morganestes commented 2 years ago

@trungutt It just happened to me again this morning after a restart. Diagnostic ID F3963A74-7EBB-438A-9E35-326B8E99D281/20221018152352. I'm running Docker Desktop 4.12.0 (85629) on macOS Monterey 12.6

igRo commented 2 years ago

Hi @trungutt,

Was also logged out today after the restart. I see the following error in the log:

2022-10-19 14:07:18.614331+0200  localhost com.docker.backend[2558]: refreshing tokens: status code not OK but 403: {"error":"invalid_grant","error_description":"Unknown or invalid refresh token."}
2022-10-19 14:07:18.616232+0200  localhost com.docker.backend[2558]: failed to fetch new access token: status code not OK but 403: {"error":"invalid_grant","error_description":"Unknown or invalid refresh token."}
2022-10-19 14:07:18.616960+0200  localhost com.docker.backend[2558]: user logged out, online features will be disabled

Diagnostic ID 84ED142B-C021-4179-8B91-ECF04B326DBC/20221019132946

Docker Desktop 4.12.0 (85629) @ macOS 12.6 (21G115)

thomasjo commented 2 years ago

I just got logged out after upgrading to Docker Desktop 4.13.0 (89412) on macOS 12.6 (21G115). Previous version was 4.12.0.

Diagnostic ID: 0BBC22FB-0F59-4AD0-B2CE-698CB0D556A3/20221020145501

SKumarSpace commented 2 years ago

I was experiencing this issue on Windows, but as of Docker Desktop 4.12.0 (85629), it kept me logged in while updating Windows 11

ghost commented 2 years ago

This is new, this morning I was logged out but this time it showed this popup. See picture below.

afbeelding

alex-necula commented 2 years ago

The same happens to me. M1 Max, macOS 12.6

alvaro-araya commented 2 years ago

Hi,

Go to https://hub.docker.com/settings/security and generate an access token, then using your terminal:

$ docker login -u your_username

When prompts for the password use your access token.

Windows 11 22H2, WSL version: 0.70.4.0, Docker Desktop v4.13.0

steelcracker commented 2 years ago

Happens for me as well regularly.

2CA2873B-E1BF-4B32-8FBA-5F4DEDC351D6/20221108183154 Launched Docker Desktop on Win10 today after a computer boot. In my case it also opened a browser url which said "You were logged out".