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
Assignees
Projects

Comments

@pikkauzernamme
Copy link

@pikkauzernamme pikkauzernamme commented Sep 27, 2019

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 pikkauzernamme added the bug label Sep 27, 2019
@pikkauzernamme

This comment has been minimized.

Copy link
Author

@pikkauzernamme pikkauzernamme commented Sep 27, 2019

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

This comment has been minimized.

Copy link
Collaborator

@t3chguy 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

This comment has been minimized.

@pikkauzernamme

This comment has been minimized.

Copy link
Author

@pikkauzernamme 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

This comment has been minimized.

Copy link
Member

@jryans jryans commented Sep 27, 2019

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

@gtbuchanan

This comment has been minimized.

Copy link

@gtbuchanan 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

This comment has been minimized.

Copy link

@ghost 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

This comment has been minimized.

Copy link

@ghost 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

This comment has been minimized.

Copy link

@ghost 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

This comment has been minimized.

Copy link

@DrJHD 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

This comment has been minimized.

Copy link

@ghost 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

This comment has been minimized.

Copy link

@davehayes davehayes commented Sep 28, 2019

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

@jryans

This comment has been minimized.

Copy link
Member

@jryans 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 Workflow Sep 28, 2019
@ghost

This comment has been minimized.

Copy link

@ghost 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

This comment has been minimized.

Copy link

@haakonn 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 was marked as off-topic.

Copy link

@phil-flex phil-flex commented Sep 30, 2019

image

In Chrome, it display the error above.

image

@wobblywob

This comment has been minimized.

Copy link

@wobblywob wobblywob commented Sep 30, 2019

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

This comment has been minimized.

Copy link
Member

@jryans 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

This comment has been minimized.

Copy link
Member

@jryans 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 Workflow Sep 30, 2019
@jryans

This comment has been minimized.

Copy link
Member

@jryans 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 vector-im/riot-web#10983
@jryans jryans moved this from In Progress to In Test in Workflow Sep 30, 2019
@jryans

This comment has been minimized.

Copy link
Member

@jryans 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

This comment has been minimized.

Copy link

@haakonn 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

This comment has been minimized.

Copy link

@wobblywob wobblywob commented Sep 30, 2019

@jryans develop works for me too

@davehayes

This comment has been minimized.

Copy link

@davehayes davehayes commented Oct 1, 2019

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

rsnap

@ghost

This comment has been minimized.

Copy link

@ghost 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

This comment has been minimized.

Copy link
Member

@jryans 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

This comment has been minimized.

Copy link
Member

@jryans 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
Workflow automation moved this from In RC to In Progress Oct 1, 2019
@jryans jryans closed this Oct 1, 2019
Workflow automation moved this from In Progress to In Test Oct 1, 2019
@jryans jryans moved this from In Test to In RC in Workflow Oct 1, 2019
@davehayes

This comment has been minimized.

Copy link

@davehayes davehayes commented Oct 1, 2019

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
Projects
Workflow
In Test
10 participants
You can’t perform that action at this time.