-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Prusa Connect logs me out periodically #13137
Comments
@abatkin Are you being fully logged out in PrusaSlicer or is your Prusa Connect tab just not displaying anything? I ask because I have not experienced being logged out (Mac OS 14.5) but I experience that the Prusa Connect tab does not display anything other than the Prusa Connect logo. |
Fully logged out. I think the last time it happened was during a blackout when my internet dropped, but my computer stayed on. But it's definitely happened at least one other time. |
I also experience constant logging out (like after few days I'm logged out; I log in; few days; logged out). MacOS 14.5. It's so bad experience.
again and again every few days. |
@arekm is right, and that's also a security concern. Users shouldn't be asked to enter credentials with the app, it should be opening the system browser and allowing authentication through there. Not only does this solve the issue with credentials management (like being able to use a password manager), but it lets the user validate that the credentials are going to the right place. When an application prompts for credentials on its own, there's really no way to know that it is really the application itself and not a spurious popup from somewhere else, but browsers have the URL bar to let people know where they are (plus password managers know which credentials go to which sites, so it won't suggest the Prusa credentials unless it is really the Prusa site). A great example of this is the Jetbrains developer tools. When it needs to authenticate you, a browser pops open, you log in (or, since it's your usual browser, there's a good chance you are already logged in), it asks you to confirm, and you are done. That doesn't solve the (original) issue of being logged out of the app (which should never happen), but it would make the whole process less painful. |
Login process was in external browser before but Prusa Team decided to change that in 2.8.0-alpha5 - from changelog: "The login into Prusa Account is no longer done in external browser window. Instead, the dialog shows directly in PrusaSlicer to streamline the workflow, and the user is thus not forced to switch between PrusaSlicer and the browser." Why they decided do decrease security and cause such problems? - no idea. That "streamline the workflow" clearly become worse. |
Another side effect of this is that Google accounts that are Family Link Managed can no longer log in via the app, since they are restricted to logging in via the browser only. |
Aaand it just happened again (some time over the last ~2 hours). No power/network errors this time. PrusaSlicer was running, I had everything all ready to print. Went and did something else for a couple hours, and when I switched back to the running Prusaslicer instance, it said it could no longer connect. |
Similar issue with log off from prusa connect itself. Re-connect token isnt created correctly. Closed as duplicate of #12951 |
I don't think this is a duplicate of #12951 - my Prusa Connect tab does NOT go black. Please re-open this issue. |
Same here, the issue is not the tab going black. In fact the entire Prusa Connect tab keeps working, I just can't do anything that requires authentication. If I, for example, try to delete a file I get "Invalid or missing security token". This fix here should at least be a way to force PrusaSlicer to log in (at did so at startup so why couldn't it do it again automatically?) Right now I'm forced to exit and restart |
This reproduces frequently for me as well. Also on linux, but running I have no idea is the new issue @quintesse submitted is the same, I asked them for more details; but note OP (and myself) on linux, quintesse is windows - could be the same. Quintesse's issue sounds exactly like the oath2 access token (which is always short lived) not being refreshed by Prusa's app using the (long lived) refresh token stored after a password login. |
This happens to me multiple times a day now. I am using Ubuntu 24.04 and I am starting to consider making my password something very easy to remember so I don't have to find my password in password manager, copy it over and then verify using an authentication app every single day, sometimes multiple times a day. |
I am now having similar issues with my laptop, but can login just fine on my phone |
I also have the same issue of getting logged out very often, sometime on the same day. I am using Ubuntu 22.04 and Flatpak. |
I also have this issue. in my case it seems related to logging in on multiple devices. If I start a print from my desktop it seems I frequently (though not always) need to log in to the iPhone app to monitor the print. Then when I return to my PC after the print finishes I'm logged out on the desktop again. I have 2 factor enabled and this is terribly frustrating coupled with PrusaSlicer's lack of password manager integration. I'm not saying add password manger integration. Rather, please, never log the user out for any reason, ever. At the very least, if the user's session ends for any reason it would be very helpful to indicate to the user why the session was ended in the notification. If there is any diagnostic info from the failed authentication that could be shared with the user it would help so they could report it when seeking support. Thay said, my hunch is that this is a problem with the back-end Prusa account handling. However, I don't know where else to raise issues about the Prusa Connect authentication system except for here. |
@Jan-Soustruznik Please re-open this I think there are a number of things that should ALL be done to make this better:
|
Description of the bug
Every once in a while (after a couple weeks maybe?), Prusa Slicer reports that I am no longer logged in to Prusa Connect and I need to log in again. Nothing about my Prusa account has changed, so there is no reason why it should ever log me out. This means that I can't print (without shuffling USB sticks) until I have looked up my password and MFA token, which is incredibly frustrated.
Project file & How to reproduce
Use Prusa Slicer for a while, then one day notice that it's not logged in anymore.
Checklist of files included above
Version of PrusaSlicer
Version 2.8.0+linux-x64-GTK3
Operating system
Linux/Fedora 40
Printer model
MK4
The text was updated successfully, but these errors were encountered: