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
0.1.5 not authenticating to O365 properly. #3
Comments
Strange... can you provide more info? (screenshots/etc). I don't think I will be able to look at much during this weekend but hopefully someone can have a look. Maybe try using persist option, something like By the way, it does look like JamieMagee is rewriting the app so I might need to concentrate in migrating the changes from here into there, but I will try to support this at least until that rewrite is ready. |
Hi @docsmooth , Could you provide steps of how to recreate the issue (including screenshots if/where possible)? Also, could you confirm this is not happening in the browser (ideally, Chrome/Chromium). And last, could you confirm if by using the option that I provide in my previous message, you don't have the issue with version 0.1.5 ? Thanks! |
Does it work in the browser? Can you confirm that starting the teams using the following doesn't solve the issue?
|
Teams works on Win7 with Firefox in the same network. Your command doesn't solve the issue. I had white page authentication with last ivelkov/teams-for-linux |
0.1.4 does work fine, but does throw the same "did-fail-load" message as 0.1.5, so that's an unrelated message. Here's the sharable output from 0.1.4 - 0.1.5 stops with the screenshot and the "did-fail-load" message:
Also, I 100% control this network - there's no inspection, no proxies, nothing like that getting in the way. I have both 0.1.4 and 0.1.5 downloaded, switching between them on the same install for testing and daily use. |
Hi @docsmooth and @Raizo62 The "did-fail-load. Trying to reload." is quite a common message. I was printing much more data in version 0.1.4 but it should not be related. Now, I assume those are 2 different issues. The changes between version 0.1.4 and 0.1.5 are:
This link makes me think is related to the persistence (https://social.msdn.microsoft.com/Forums/en-US/98350e5d-07cf-4d5e-bbba-9fd707cb0107/aadsts90056-this-endpoint-only-accepts-post-requests-received-a-get-request) @Raizo62 , could you check that you can use chromium in the Linux box that in that network. Your case could be related to that Linux configuration and not the network. It might be wise to open another issue, @Raizo62 , if the partition issue doesn't work for you. Version 0.1.2 can be use also to test if is related to the userAgent [probably more for @Raizo62 ] (moved from edge to chrome as it was causing an issue with mentions). Ignore version 0.1.3 as it doesn't add much to it. Lets see if we can find what is the issue, unfortunately this is one of those that is pretty hard to debug. |
Teams in Chrome works. 0.1.5 with the "teams --partition persist:teams-linux" doesn't fix the problem. I tried against my personal O365 install (where I do not get the "duplicate accounts" message on logon), and I'm getting the same problem. So it doesn't appear to be account or organization related. And clearing my config doesn't seem to fix it either.
|
OK, this is interesting, after removing the .config/teams-for-linux folder, now 0.1.4 isn't logging in either. I see the "Do you want to remember this signin" page, but it immediately submits and refreshes with the error linked above. is there any additional logging I can generate, even from the source code? |
Downgrading to 0.0.7 (my fallback "last known good") work, but doesn't restore operation to 0.1.4 I'd like to know how to look further into the apparent refresh/submit of the "save my logon details" page that happens in 0.1.4, but not in 0.0.7. Later this evening, i'll see if I can trace down a version between 0.0.7 and 0.1.4 where this seemst o have come up consistently. |
that is even more interesting then. I have tried removing the .config/teams-for-linux folder and still all works fine in my end with 0.1.5, 0.1.4 and 0.1.2. A few things that might help you trace the issue:
I am trying to see if I can reproduce the error by getting a hotmail account, but is taking some time. |
Interestingly enough, I couldn't log in in a "personal" account, was kicking me back to the login page... and the issue was I added a reload when the page failed to load. I will create a pre-release 0.1.6 and I invite you guys to try it as both issues might be related. I added that a few versions back to try to solve an issue where sometimes it will stop loading the page after a few of those "did-fail-to-load" but seems like in some account is "OK" to get a few of those. Lets see if that fixes both issues (hopefully it does). |
I am not going to be able to check during the day but could you @docsmooth and @Raizo62 check if version https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v0.1.6 solves the problem? The only change is removing that "did-fail-load" part that was retrying. That is not present in any of the other repositories (that I fork from) and it was intended to solve an issue where sometimes it was hanging loading and you had to "refresh" the page (right click in the tray icon and click reload). |
0.1.6: Success, but I have to log on for every launch. The first load of 0.1.6 allowed me to click the "save my login" information, and launched properly, when I used the "teams --partition persist:teams-linux" command. Launching without the "persist:teams-linux" flag also works. |
If you could log another issue for the persist I will see if I can have a look at it tomorrow or later today. A few people experience "loosing" history with the persist on. A fair bigger issue, but enabling the persist from the command line should persist!! (But is not doing it). I will close this issue but let's see if @Raizo62 issue was also related to the reload. Cheers! |
@docsmooth , version 0.1.9 persists the session by default (and a couple of other improvements. Hope helps, |
1.10 with --disablenotifications is fantastic, thanks! |
0.1.4 from your releases works. But 0.1.5 is throwing an error "This endpoint only accepts POST, and recieved a GET".
I'll see if I can enable teams on my personal O365 install and try there instead, but that may take a few days.
The text was updated successfully, but these errors were encountered: