cinnyapp / cinny

Yet another matrix client
https://cinny.in
GNU Affero General Public License v3.0
1.85k stars 239 forks source link

Connection lost - can't download #1702

Open jvolker opened 4 months ago

jvolker commented 4 months ago

Describe the bug

Whenever I click to download a file from a chat I get the error message Connection lost! even though I can chat normally. I've tried different file types.

Reproduction

Click "Download" on any file from any chat.

Expected behavior

File should download and show up in file browser. No error message.

Platform and versions

1. OS: macOS Sonoma 14.4.1
3. Cinnny version: 3.2.1
4. Matrix home server: organization internal

Additional context

No response

jvolker commented 4 months ago

I noticed Cinny did not ask for OS based permission to access files. Exporting E2E room keys seems to fail silently and doesn't safe a file.

jvolker commented 4 months ago

I found this question by another user who seems to have the same problem exporting E2E room keys: https://www.reddit.com/r/cinny/comments/102iqa6/where_is_stored_the_exported_e2e_room_keys/

jvolker commented 4 months ago

When downloading a file from a conversation, I'm getting these errors in the dev console:

ionError: fetch failed: Load failed
[Log] Number of consecutive failed sync requests: – 1 (index-eaa22fd4.js, line 62)
[Log] Starting keep-alive (index-eaa22fd4.js, line 62)
[Log] RECONNECTING state (index-eaa22fd4.js, line 57071)
Not allowed to navigate top frame to data URL