teams-for-linux icon indicating copy to clipboard operation
teams-for-linux copied to clipboard

White page when I attempt to log in

Open wanderingtechie opened this issue 8 years ago • 7 comments

When I attempt to log in, I enter my email address with my company's domain name. It begins redirecting and then drops to a white page, with the titlebar "Sign into your account" still on top. No hidden links.

Strace shows that it is looping on this:

write(38, "!", 1) = 1 write(38, "!", 1) = 1 recvmsg(18, 0x7fffdb087b30, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(25, 0x7fffdb087b40, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=19, events=POLLIN}, {fd=18, events=POLLIN}, {fd=25, events=POLLIN}, {fd=29, events=POLLIN}, {fd=37, events=POLLIN}], 5, 0) = 1 ([{fd=37, revents=POLLIN}]) recvmsg(25, 0x7fffdb087b70, 0) = -1 EAGAIN (Resource temporarily unavailable) read(37, "!!", 2) = 2

OS: Ubuntu 14.04.2 LTS

wanderingtechie avatar Apr 25 '17 16:04 wanderingtechie

This looks very simialr to the following issue Issue 7.

Perhaps you can try trace it in your corp. network using the chrome dev tools?

ivelkov avatar Apr 26 '17 07:04 ivelkov

I runned with the debug flag as suggested in Issue 7 and got a 401 error.

captura de tela de 2017-04-26 10 33 35

Well, this is weird, since my credentials are correct. I don't know, maybe this is a error in ADFS of my company.

Thanks.

higorcoliveira avatar Apr 26 '17 13:04 higorcoliveira

In my point of view this behavior occurs because the web view was not opening the browser credentials window. Is possible to eanbled that? Best Regards

daniel-frank avatar Apr 26 '17 17:04 daniel-frank

In my case the http auth is blocking. Adding this code with you credentials in the callback at the bottom of the app/lib/index.js will fix it.

app.on('login', (e, a, b, c, callback) => { e.preventDefault(); callback('user', 'password'); });

yo-l1982 avatar Jun 14 '17 11:06 yo-l1982

I'm using the archlinux version, and I'm getting the same white screen... and running in debug shows a 401 just like @higorcoliveira . Is there any workaround that doesn't require running from source?

ashic avatar Oct 20 '17 09:10 ashic

This issue is still a problem for many of us. Is there someone actively working on it?

Edit: the workaround by @yo-l1982 seems to work here. But this is not a real solution.

mindrunner avatar Aug 23 '18 07:08 mindrunner

Hi @wanderingtechie @ivelkov @higorcoliveira @daniel-frank @yo-l1982 @ashic and @mindrunner

This project and the JamieMagee seem dead so, until they come back alive and I can merge back my changes, you can use and contribute in my branch.

https://github.com/IsmaelMartinez/teams-for-linux

Got ntlm and popup support . ntlm will use your local credentials if you are authenticated in the your network and the network is configured to do so (it does feel a bit of magic). Otherwise, you will get a pop-up asking for username/password

hope helps and again, if @ivelkov or JamieMagee restarts this project, I will merge all in.

IsmaelMartinez avatar Oct 19 '18 15:10 IsmaelMartinez