CorentinTh / enclosed

Minimalistic web app designed for sending private and secure notes.
https://enclosed.cc
Apache License 2.0
309 stars 13 forks source link

attaching files creates error #139

Closed ihubgit closed 6 days ago

ihubgit commented 1 week ago

Describe the bug

Running Sonoma on M1 Mac. Tried to share a password protected note with attachment. Getting error.

What happened?

tried both to go to file path to get the attachment as to drag and drop it in the window. First of all, it's not clear if something is happening when the attached file's name appears. Does enclosed.cc work ? Does it upload the attachment ? How do I know when that's ready ? When I tried to push the "create note" button, I'm getting an error :

An error occurred while creating the note, please try again.

System information

Apple Silicon M1 Max. OS Sonoma

Where did you encounter the bug?

Public app (enclosed.cc)

CorentinTh commented 1 week ago

Hi @ihubgit Thanks for reporting I cannot reproduce, may be environnement related, I'll test on a mac

ihubgit commented 1 week ago

ok once i dropped an attachement, do I just have to wait before enclosed.cc public instance does its thing ? When do I have to push the "create note" button ?

CorentinTh commented 1 week ago

You can click on Create note right after dropping some file, the encryption happens at the note creation time

agalbulescu commented 1 week ago

I'm having the same issue with a self-hosted instance on Docker, accessing the enclosed service from a mac indeed but I get this error even with a simple text note, no file attachment. The container logs don't show any errors. If I can help in any way with debugging, lmk. Thanks!

agalbulescu commented 1 week ago

I'm having the same issue with a self-hosted instance on Docker, accessing the enclosed service from a mac indeed but I get this error even with a simple text note, no file attachment. The container logs don't show any errors. If I can help in any way with debugging, lmk. Thanks!

I was accessing the service straight from IP:8787, after I put it behind a reverse proxy with a ssl cert it works just fine...

CorentinTh commented 1 week ago

@agalbulescu Yeah, the app need to be serve over https (see https://docs.enclosed.cc/self-hosting/troubleshooting )

CorentinTh commented 1 week ago

@ihubgit which browser are you using ? You can use npx envinfo --system --browsers to get all system info