Skip to content
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

1.4.0 blank screen #10983

Closed
pikkauzernamme opened this issue Sep 27, 2019 · 29 comments
Closed

1.4.0 blank screen #10983

pikkauzernamme opened this issue Sep 27, 2019 · 29 comments
Assignees
Labels

Comments

@pikkauzernamme
Copy link

Description

After client received an update to version 1.4.0 and reloading, I can see nothing but blank screen. Riot Desktop on Windows 10. Same after logging into the web version.

Steps to reproduce

  • Update to 1.4.0
  • See the blank screen

Logs being sent: no

Version information

  • Platform: both browser and desktop

For the web app:

  • Browser: Firefox last version
  • OS: Windows
  • URL: riot.im/app

For the desktop app:

  • OS: Windows
  • Version: 10
@pikkauzernamme
Copy link
Author

After reinstall to version 1.3.6 everything works perfectly, but after few minutes desktop client automatically receives the update and reloads, so I'm currently unable to use Riot.

@t3chguy
Copy link
Member

t3chguy commented Sep 27, 2019

@jryans I believe also hit this issue but then could not reproduce it, I updated on two Windows 10 machines and both went without issue :/

Could you open up the console (Control Shift I) to see what is happening?

@pikkauzernamme
Copy link
Author

@pikkauzernamme
Copy link
Author

pikkauzernamme commented Sep 27, 2019

I can interact with the app window itself, like open console and so on. But inside this there is only one background color of dark theme which I use. And the app name displays like "Riot | >nickname of other person I was speaking before bug<"

@jryans
Copy link
Collaborator

jryans commented Sep 27, 2019

@pikkauzernamme Are there any logs in the console? There may be useful errors there.

@gtbuchanan
Copy link

gtbuchanan commented Sep 28, 2019

This is the JavaScript error I'm receiving on the Windows app in this situation:

image

It occurred after joining the #matrix:matrix.org and #riot:matrix.org rooms. Closing the app completely and relaunching seems to fix it, so I'm not sure if it's the same exact problem as the OP.

@ghost
Copy link

ghost commented Sep 28, 2019

I'm a topic starter. Github froze my account.

It occurred after joining the #matrix:matrix.org and #riot:matrix.org rooms. Closing the app completely and relaunching seems to fix it, so I'm not sure if it's the same exact problem as the OP.

Sometimes after closing the app and relaunching it I can see the last opened e2ee chat room just for a moment, and then it gets empty again. Just a single color.

Here is a screenshot of my console: https://framapic.org/gallery#WJh2AxsO3moD/LTdkQyXUyeBC.png

@ghost
Copy link

ghost commented Sep 28, 2019

That is so weird. I can't even load messages history from my mobile client. And when I login via browser the same happens - blank screen. At the same time, new account on the same homeserver works great (at least in the public chat rooms, I didn't test in e2ee ones yet). It seems like my account is corrupted somehow.

@ghost
Copy link

ghost commented Sep 28, 2019

Now I have to run desktop app manually from the AppData/Local/riot-web/app-1.3.6 to access my account. And in that case it works great - chat history loads and that's fast, I can see all the messages and use it like I usually do

@DrJHD
Copy link

DrJHD commented Sep 28, 2019

I get exactly the same issue on Windows Server 2008. A link to the installer for the previous version would be very helpful.

@ghost
Copy link

ghost commented Sep 28, 2019

I get exactly the same issue on Windows Server 2008. A link to the installer for the previous version would be very helpful.

https://packages.riot.im/desktop/install/win32/x64/Riot%20Setup%201.3.6.exe
Run manually from the %AppData%/Local/riot-web/app-1.3.6 folder so it doesn't automatically update to the newer version

@davehayes
Copy link

This is an issue on MacOS too using the Riot installed from the DMG file.

@jryans
Copy link
Collaborator

jryans commented Sep 28, 2019

For those affected, does it only happen in the desktop app, or are https://riot.im/app and https://riot.im/develop exhibiting the same issue?

@jryans jryans added this to Raging Inferno 🔥🔥🔥 in Web App Team Sep 28, 2019
@ghost
Copy link

ghost commented Sep 29, 2019

@jryans I have tried with the desktop windows app and the web version on my homeserver. When I log in via web client, I instantly get this blank screen again. But when I created a new account via web client on the same homeserver, I was able to join public chat room, send a message and nothing happened. However, when I tried to change my password via desktop 1.3.6 client for problem account, my Android client starts lagging, like reloading the same screen all the time non-stop, like swiping and loading screen again.

@haakonn
Copy link

haakonn commented Sep 29, 2019

@jryans I haven't tried the desktop app, but https://riot.im/app and https://riot.im/develop are absolutely exhibiting the issue in Firefox. I've tried on two different machines, and also in a fresh profile with no add-ons.

@phil-flex

This comment has been minimized.

@wobblywob
Copy link

I have the same issue.

Web client shows one of my rooms briefly, for about half a second, then I get a completely blank screen. Happens on chrome and firefox, on linux and mac.

This is a self-hosted synapse 1.3.1 on ubuntu 18.04, running through haproxy and url_preview_enabled.

  • macOS app 1.3.6 works
  • macOS app 1.4 doesn't work
  • riot.im/app and riot.im/develop don't work on either chrome or firefox

@jryans
Copy link
Collaborator

jryans commented Sep 30, 2019

@phil-flex I am fairly confident the issue you are seeing is separate from this. See #10981 (comment) for steps.

@jryans
Copy link
Collaborator

jryans commented Sep 30, 2019

@gtbuchanan I believe the stack trace you've included there shows that React has fallen apart, but it doesn't really suggest the root cause... Is there anything earlier in the logs?

@jryans jryans self-assigned this Sep 30, 2019
@jryans jryans moved this from Raging Inferno 🔥🔥🔥 to In Progress in Web App Team Sep 30, 2019
@jryans
Copy link
Collaborator

jryans commented Sep 30, 2019

At the moment, I am still not quite sure what the issue is... If others could attach logs or rageshakes, that would be helpful. You can still send a rageshake even from a white screen using the app or browser's console:

  1. Ctrl-Shift-I to open the DevTools, go to Console tab
  2. Run mxSendRageshake("For https://github.com/vector-im/riot-web/issues/10983") in the console

For now, I will focus on the the base avatar / length issue suggested in @RiasMo's screenshot.

jryans added a commit to matrix-org/matrix-react-sdk that referenced this issue Sep 30, 2019
This ensures we check for a falsy name in `getInitialLetter` instead of throwing
errors. We should perhaps also fix whatever other issues have led to the input
being undefined in the first place, but for now we leave this for another day.

Hopefully helps with element-hq/element-web#10983
@jryans jryans moved this from In Progress to In Test in Web App Team Sep 30, 2019
@jryans
Copy link
Collaborator

jryans commented Sep 30, 2019

@RiasMo https://riot.im/develop has a potential fix for this issue. Could you retest there and capture a new set of logs if the issue persists?

@haakonn
Copy link

haakonn commented Sep 30, 2019

@jryans https://riot.im/develop works for me now, and it did not last time I tried, 21 hours ago.

@wobblywob
Copy link

@jryans develop works for me too

@davehayes
Copy link

Here is another snapshot of devtools on an affected 10.13 mac:

rsnap

@ghost
Copy link

ghost commented Oct 1, 2019

@RiasMo https://riot.im/develop has a potential fix for this issue. Could you retest there and capture a new set of logs if the issue persists?

Unfortunately, I have deleted my account. But I think my problem was the same as @haakonn's and @wobblywob's.

@jryans
Copy link
Collaborator

jryans commented Oct 1, 2019

Great, I'll consider the current issue fixed by matrix-org/matrix-react-sdk#3498 then. We'll do another release soonish so that desktop users have the fix as well.

In addition, I'll look into ways of handling this class of errors more gracefully in the future.

@jryans
Copy link
Collaborator

jryans commented Oct 1, 2019

Riot 1.4.1 has been released for web and desktop with this fix. Thanks for reporting the issue and your patience while we worked on a fix.

@jryans jryans reopened this Oct 1, 2019
Web App Team automation moved this from In RC to In Progress Oct 1, 2019
@jryans jryans closed this as completed Oct 1, 2019
Web App Team automation moved this from In Progress to In Test Oct 1, 2019
@jryans jryans moved this from In Test to In RC in Web App Team Oct 1, 2019
@davehayes
Copy link

This issue has been fixed on my client's computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

11 participants