TryQuiet / quiet

A private, p2p alternative to Slack and Discord built on Tor & IPFS
https://www.tryquiet.org
GNU General Public License v3.0
1.96k stars 85 forks source link

Blank window #1688

Open orblivion opened 1 year ago

orblivion commented 1 year ago

Running DEBUG="backend*" ./Quiet-1.4.0.AppImage on Debian on QubesOS. I get a white window with the logo in the center. Then that window goes away and another window comes up, I presume the actual one with the chats. And it's just white, that's it. I tried restarting my VM and running again, still no good.

I got a handful of 404 errors, and "all promises were rejected" and "Closed 1 streams for service [scrubbed].onion for reason resolve failed. Fetch status: No more HSDir available to query." mentioned in the console. Otherwise I'm not sure what else. I could dump it here, I'm just being conservative in case there are secrets.

However, interestingly enough, I tried running this a few days before (and it might be when it upgraded to 1.4.0 because the file is dated July 26th), and that time it did load successfully. I didn't really interact with it though, and I wonder if I quit it before it finished syncing.

holmesworcester commented 1 year ago

Can you open the javascript console using ctrl-shift-i ? Are there any errors there?

orblivion commented 1 year ago

That combination doesn't seem to work. It doesn't work on the first window with the logo either. I wonder if my setup is weird?

orblivion commented 1 year ago

(i.e. no console comes up)

holmesworcester commented 1 year ago

It's possible that opening the dev tools only works in the development releases. Can you wipe out your install and rejoin from the link I sent? Let me know on signal and I can resend it.

On Linux the files should be in .config/Quiet so you could move that folder, zip it up, and send it to me somehow if you like. I can pass it on to the team and they can figure out what happened.

kingalg commented 1 year ago

If you are taking about this console for most systems (e.g. MacOS, Windows, Linux with Ubuntu) it opens with fn+F12.

Screenshot 2023-08-07 at 12 29 21

Those are the comments that I use in terminal: MacOS: DEBUG=backend,state-manager,quiet ./Quiet Windows: $env:DEBUG = 'backend,state-manager,quiet' Linux (and chromebook): DATA_DIR=choosenname DEBUG=backend,state-manager,quiet* --enable-logging

If (additionally to what Holmes already asked for) with this you get any informations from console or terminal regarding error that you receive let us know.

holmesworcester commented 1 year ago

@kingalg are you sure it works in the production release?

kingalg commented 1 year ago

@holmesworcester I've just quickly checked on production MacOS version (downloaded from https://tryquiet.org/) and both fn+f12 and DEBUG=backend,state-manager,quiet* ./Quiet worked. If I remember correctly we had one device without F keys and there was some strange shortcut to open console but I really can't remember what was the device and shortcut.

We've never tested on Debian on QubesOS so with this I can't advice but I hoped that seeing how we are getting to those data on different systems may help with finding solution.

holmesworcester commented 1 year ago

@orblivion can you try this key combo while the app is crashed and show us the logs?

orblivion commented 1 year ago

f12 (without fn) worked

A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
instrument.js?ea14:109 TypeError: Cannot read properties of undefined (reading 'name')
    at eval (publicChannels.selectors.js?193b:105:1)
    at Array.filter (<anonymous>)
    at eval (publicChannels.selectors.js?193b:105:1)
    at recomputationWrapper (index.js?12d4:67:1)
    at memoized (defaultMemoize.js?fd65:123:1)
    at dependenciesChecker (index.js?12d4:81:1)
    at memoized (defaultMemoize.js?fd65:123:1)
    at a (with-selector.production.min.js?001e:11:202)
    at eval (with-selector.production.min.js?001e:11:413)
    at Object.useSyncExternalStore (react-dom.production.min.js?ca5d:183:366)
    at exports.useSyncExternalStore (react.production.min.js?be24:25:452)
    at exports.useSyncExternalStoreWithSelector (with-selector.production.min.js?001e:11:483)
    at useSelector (useSelector.js?339c:41:1)
    at SearchModal (SearchModal.tsx?69ae:12:45)
    at Uh (react-dom.production.min.js?ca5d:166:135)
    at Uk (react-dom.production.min.js?ca5d:289:384)
    at Tk (react-dom.production.min.js?ca5d:279:383)
    at Sk (react-dom.production.min.js?ca5d:279:319)
    at Hk (react-dom.production.min.js?ca5d:279:180)
    at Mk (react-dom.production.min.js?ca5d:270:86)
    at Dk (react-dom.production.min.js?ca5d:272:286)
    at ig (react-dom.production.min.js?ca5d:127:100)
    at Vk (react-dom.production.min.js?ca5d:282:419)
    at Ok (react-dom.production.min.js?ca5d:280:375)
    at Fk (react-dom.production.min.js?ca5d:269:262)
    at J (scheduler.production.min.js?fb07:13:197)
    at Immediate.R (scheduler.production.min.js?fb07:14:126)
    at process.processImmediate (node:internal/timers:471:21)
eval @ instrument.js?ea14:109
react-dom.production.min.js?ca5d:127 Uncaught TypeError: Cannot read properties of undefined (reading 'name')
    at eval (publicChannels.selectors.js?193b:105:1)
    at Array.filter (<anonymous>)
    at eval (publicChannels.selectors.js?193b:105:1)
    at recomputationWrapper (index.js?12d4:67:1)
    at memoized (defaultMemoize.js?fd65:123:1)
    at dependenciesChecker (index.js?12d4:81:1)
    at memoized (defaultMemoize.js?fd65:123:1)
    at a (with-selector.production.min.js?001e:11:202)
    at eval (with-selector.production.min.js?001e:11:413)
    at Object.useSyncExternalStore (react-dom.production.min.js?ca5d:183:366)
    at exports.useSyncExternalStore (react.production.min.js?be24:25:452)
    at exports.useSyncExternalStoreWithSelector (with-selector.production.min.js?001e:11:483)
    at useSelector (useSelector.js?339c:41:1)
    at SearchModal (SearchModal.tsx?69ae:12:45)
    at Uh (react-dom.production.min.js?ca5d:166:135)
    at Uk (react-dom.production.min.js?ca5d:289:384)
    at Tk (react-dom.production.min.js?ca5d:279:383)
    at Sk (react-dom.production.min.js?ca5d:279:319)
    at Hk (react-dom.production.min.js?ca5d:279:180)
    at Mk (react-dom.production.min.js?ca5d:270:86)
    at Dk (react-dom.production.min.js?ca5d:272:286)
    at ig (react-dom.production.min.js?ca5d:127:100)
    at Vk (react-dom.production.min.js?ca5d:282:419)
    at Ok (react-dom.production.min.js?ca5d:280:375)
    at Fk (react-dom.production.min.js?ca5d:269:262)
    at J (scheduler.production.min.js?fb07:13:197)
    at Immediate.R (scheduler.production.min.js?fb07:14:126)
    at process.processImmediate (node:internal/timers:471:21)
instrument.js?ea14:109 websocket connected
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
instrument.js?ea14:109 TypeError: Cannot read properties of undefined (reading 'id')
    at eval (channelsReplicated.saga.js?188c:18:1)
    at Array.map (<anonymous>)
    at channelsReplicatedSaga (channelsReplicated.saga.js?188c:18:1)
    at channelsReplicatedSaga.next (<anonymous>)
    at next (redux-saga-core.esm.js?42a9:1157:1)
    at currCb (redux-saga-core.esm.js?42a9:1251:1)
    at runSelectEffect (redux-saga-core.esm.js?42a9:731:1)
    at runEffect (redux-saga-core.esm.js?42a9:1204:1)
    at digestEffect (redux-saga-core.esm.js?42a9:1271:1)
    at next (redux-saga-core.esm.js?42a9:1161:1)
    at proc (redux-saga-core.esm.js?42a9:1108:1)
    at eval (redux-saga-core.esm.js?42a9:585:1)
    at immediately (redux-saga-core.esm.js?42a9:56:1)
    at runForkEffect (redux-saga-core.esm.js?42a9:584:1)
    at runEffect (redux-saga-core.esm.js?42a9:1204:1)
    at digestEffect (redux-saga-core.esm.js?42a9:1271:1)
    at next (redux-saga-core.esm.js?42a9:1161:1)
    at currCb (redux-saga-core.esm.js?42a9:1251:1)
    at takeCb (redux-saga-core.esm.js?42a9:503:1)
    at put (redux-saga-core.esm.js?42a9:339:1)
    at chan.put (redux-saga-core.esm.js?42a9:371:1)
    at eval (redux-saga-core.esm.js?42a9:1412:1)
    at eval (index.js?cd05:42:1)
    at eval (middlewares.ts?3f08:31:1)
    at dispatch (redux.js?00d8:691:1)
    at eval (io-6de156f3.js?86aa:133:1)
    at eval (redux-saga-core.esm.js?42a9:472:1)
    at exec (redux-saga-core.esm.js?42a9:31:1)
    at redux_saga_core_esm_flush (redux-saga-core.esm.js?42a9:87:1)
    at immediately (redux-saga-core.esm.js?42a9:58:5)
    at runForkEffect (redux-saga-core.esm.js?42a9:584:1)
    at runEffect (redux-saga-core.esm.js?42a9:1204:1)
    at digestEffect (redux-saga-core.esm.js?42a9:1271:1)
    at next (redux-saga-core.esm.js?42a9:1161:1)
    at currCb (redux-saga-core.esm.js?42a9:1251:1)
    at takeCb (redux-saga-core.esm.js?42a9:503:1)
    at Object.put (redux-saga-core.esm.js?5755:173:1)
    at eval (redux-saga-core.esm.js?5755:264:1)
    at socket_Socket.eval (startConnection.saga.js?5a7d:68:1)
    at Emitter.emit (index.mjs?20ec:136:1)
    at socket_Socket.emitEvent (socket.js?f598:509:1)
    at socket_Socket.onevent (socket.js?f598:496:1)
    at socket_Socket.onpacket (socket.js?f598:464:1)
    at Emitter.emit (index.mjs?20ec:136:1)
    at eval (manager.js?44a1:215:1)
eval @ instrument.js?ea14:109
onError @ create.ts?493b:19
end @ redux-saga-core.esm.js?42a9:1003
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
next @ redux-saga-core.esm.js?42a9:1178
currCb @ redux-saga-core.esm.js?42a9:1251
chCbAtKey @ io-6de156f3.js?86aa:177
currCb @ redux-saga-core.esm.js?42a9:1251
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
next @ redux-saga-core.esm.js?42a9:1178
currCb @ redux-saga-core.esm.js?42a9:1251
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
next @ redux-saga-core.esm.js?42a9:1178
currCb @ redux-saga-core.esm.js?42a9:1251
chCbAtKey @ io-6de156f3.js?86aa:177
currCb @ redux-saga-core.esm.js?42a9:1251
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
next @ redux-saga-core.esm.js?42a9:1178
currCb @ redux-saga-core.esm.js?42a9:1251
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
next @ redux-saga-core.esm.js?42a9:1178
currCb @ redux-saga-core.esm.js?42a9:1251
chCbAtKey @ io-6de156f3.js?86aa:177
currCb @ redux-saga-core.esm.js?42a9:1251
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
task.cont @ redux-saga-core.esm.js?42a9:828
end @ redux-saga-core.esm.js?42a9:1012
abort @ redux-saga-core.esm.js?42a9:813
eval @ redux-saga-core.esm.js?42a9:594
immediately @ redux-saga-core.esm.js?42a9:56
runForkEffect @ redux-saga-core.esm.js?42a9:584
runEffect @ redux-saga-core.esm.js?42a9:1204
digestEffect @ redux-saga-core.esm.js?42a9:1271
next @ redux-saga-core.esm.js?42a9:1161
currCb @ redux-saga-core.esm.js?42a9:1251
takeCb @ redux-saga-core.esm.js?42a9:503
put @ redux-saga-core.esm.js?42a9:339
chan.put @ redux-saga-core.esm.js?42a9:371
eval @ redux-saga-core.esm.js?42a9:1412
eval @ index.js?cd05:42
eval @ middlewares.ts?3f08:31
dispatch @ redux.js?00d8:691
eval @ io-6de156f3.js?86aa:133
eval @ redux-saga-core.esm.js?42a9:472
exec @ redux-saga-core.esm.js?42a9:31
redux_saga_core_esm_flush @ redux-saga-core.esm.js?42a9:87
immediately @ redux-saga-core.esm.js?42a9:58
runForkEffect @ redux-saga-core.esm.js?42a9:584
runEffect @ redux-saga-core.esm.js?42a9:1204
digestEffect @ redux-saga-core.esm.js?42a9:1271
next @ redux-saga-core.esm.js?42a9:1161
currCb @ redux-saga-core.esm.js?42a9:1251
takeCb @ redux-saga-core.esm.js?42a9:503
put @ redux-saga-core.esm.js?5755:173
eval @ redux-saga-core.esm.js?5755:264
eval @ startConnection.saga.js?5a7d:68
Emitter.emit @ index.mjs?20ec:136
emitEvent @ socket.js?f598:509
onevent @ socket.js?f598:496
onpacket @ socket.js?f598:464
Emitter.emit @ index.mjs?20ec:136
eval @ manager.js?44a1:215
Promise.then (async)
eval @ websocket-constructor.browser.js?4f43:5
ondecoded @ manager.js?44a1:214
Emitter.emit @ index.mjs?20ec:136
add @ index.js?d28f:135
ondata @ manager.js?44a1:201
Emitter.emit @ index.mjs?20ec:136
onPacket @ socket.js?13e1:342
Emitter.emit @ index.mjs?20ec:136
onPacket @ transport.js?dd58:100
onData @ transport.js?dd58:92
ws.onmessage @ websocket.js?0e2a:71
holmesworcester commented 1 year ago

@EmiM @Kacper-RF is it clear what's going on here?

EmiM commented 1 year ago

@orblivion What version of Quiet have you been using before 1.4.0? Could you also provide backend logs?

EmiM commented 1 year ago

Backend logs would be helpful in this case but the suspicion is that @orblivion opened the one backwards incompatible version and probably the only solution is to join community again.

orblivion commented 1 year ago

From my bash history it looks like I went through these versions of the AppImage:

0.15.0 0.16.0 1.1.0 1.2.0 1.4.0

I must have at least run the executable for it to upgrade itself. I guess I can't guarantee that I got as far as the UI on each version. I'm not sure what part of execution the relevant migration happens. Message ID: @.***>

orblivion commented 1 year ago

How much of the backend log is secret? Assuming you could still use that info.

holmesworcester commented 1 year ago

The log is not sanitized currently so it's secret. You could send it to me in signal.

holmesworcester commented 1 year ago

sent via signal to @vinkabuki and @EmiM

vinkabuki commented 1 year ago

Ok, those logs are helpful, thanks