-
Notifications
You must be signed in to change notification settings - Fork 78
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
[BUG] OAuth Access token not preserved on macos #811
Comments
That is quite a strange one – I thought that using the closing button in the titlebar was solving the problem, but it seems to be happening randomly, as if there was some sort of race condition between |
I don't know if it's related, but besides adding the access token every time I also have to set the path of my |
@tychobrailleur have you had time to look at this one ? |
Thanks @dtslvr, it is related: user preferences (incl. OAuth access token) don't get saved when HO exits. Arguably we could save it right after we have retrieved from HT.
I haven't, but I am looking at it right now, hopefully I should have a fix soon.
and line 148 in
|
I am convinced there is a race condition here, as this takes the form of a “heisenbug”: when adding logging statements to debug (or simply debugging), the problem disappears... What is unclear to me is whether something changed in HO or the JDK to cause this issue to emerge. Or if the problem was always there but somehow now appears due some changes. |
I have created a PR with a fix that seems to work locally. Having not been able to track down the cause of this, I am not fully convinced this fixes the issue for good, it would be great to have other people try out this fix (this may be challenging due to some NPEs on |
@tychobrailleur great to see you back. Concerning youth NPE. Thanks for that. Will fix this immediately. I guess you don't have an academy, which is a big mistake;-) More concerning this, in my "youth-ticket" #367 |
I still have this problem; version 4.1.3310.2 on MacOS 11.5. Also, preferences do not seem to get saved either. Should I open a new issue for this? |
@cmeury this fix is not part of the 4.1 release version. You could test if it is fixed with a new 5.0-DEV-version. But at your own risc. Please don't do it without backups of your database and program folders. |
Thanks @wsbrenk -- it seems to be resolved with |
Describe the bug
When restarting HO on Macos, some users are prompted with the OAuth challenge, which indicates that the OAuth access token doesn't seem to be stored in the
USERCONFIGURATION
table.To Reproduce
Steps to reproduce the behavior:
Screenshots
N/A
Platform information:
Additional context
N/A
The text was updated successfully, but these errors were encountered: