monal-im / Monal

Monal for XMPP (iOS and macOS)
https://monal-im.org
Other
520 stars 107 forks source link

[Bug]: Weird error message when trying to upload a file. #1052

Closed mdosch closed 5 months ago

mdosch commented 6 months ago

What Monal Release channel are you using?

AppStore

iOS system version (if applicable)

No response

macOS system version (if applicable)

No response

Monal version

unknown, probably latest

Used XMPP server (domain)

mdosch.de

Which XMPP-Server software are you using?

Prosody

XMPP Server Software Version

Current trunk nightly

How many accounts are you using in Monal?

1

What happened?

A iOS user gets a weird message when trying to upload a file dHRc28Y7Qi-VDU983EGbWg

Anything else?

I can't access the menus in Monal/iOS as I am not an appler, but from a server operator point of view all necessary XEPs should be supported and my iOS user didn't had this issue before.

FAQ

Considerations for XMPP users

XEP-Check

Notifications-Menu

tmolitor-stud-tu commented 6 months ago

Did this user try to upload the same file previously? Maybe a failed upload?

mdosch commented 6 months ago

He said he tried several time but it didn't work and sent me a screenshot with that error, so it seems so. But what's the reason to block new uploads if an upload failed (due to a network hiccup or whatever)?

Am 1. Mai 2024 19:49:28 UTC schrieb Thilo Molitor @.***>:

Did this user try to upload the same file previously? Maybe a failed upload?

tmolitor-stud-tu commented 6 months ago

But what's the reason to block new uploads if an upload failed (due to a network hiccup or whatever)?

None, that would be a bug. But for fixing it, it would be good to know if that "already uploading" error only popped up after another upload error for that file happened or not.

tmolitor-stud-tu commented 6 months ago

I need a logfile for that error, looking at the code that one should never pop up but could be a hint that a temporary file path is empty or somesuch. Please send the compressed logfile via email to info@monal-im.org Extracting the logfile is described here: https://github.com/monal-im/Monal/wiki/Introduction-to-Monal-Logging

mdosch commented 6 months ago

Today I was able to get my wifes iPhone in my hands and enabled Monal (usually she uses Snikket iOS) and also got this error message when uploading a file. I hope that I find the time to get debug logs during the weekend.

tmolitor-stud-tu commented 6 months ago

Okay, great. But the fix won't make it into the new 6.3.1 I'll release before the weekend.

mdosch commented 6 months ago

Dear Thilo,

I sent you a log. Hopefully it's useful.

Best regards, Martin

On 02.05.2024 14:52, Thilo Molitor wrote:

Okay, great. But the fix won't make it into the new 6.3.1 I'll release before the weekend.

-- Reply to this email directly or view it on GitHub: https://github.com/monal-im/Monal/issues/1052#issuecomment-2091807597 You are receiving this because you authored the thread.

Message ID: @.***>

tmolitor-stud-tu commented 5 months ago

Apparently the upload progress wasn't displayed when sharing something through the share sheet. That made it difficult to determine if the file upload was still in progress.

I fixed this in my latest commit, so your error should be gone now (with the next stable release). I'll close this, reopen it, if this still persists.