-
Notifications
You must be signed in to change notification settings - Fork 38
Files can't be viewed or downloaded on the mobile apps. #79
Comments
Still no solution in the latest version! |
you have to use a public facing url that Is setup with reverse proxy for the files url then you need to add
|
Sorry to bother you again, but I can't seem to get it to work. I've added this I'm not sure how to setup the Could you elaborate a bit more with examples and/or share a config file? |
Are you using bare metal install? I am using a docker for the NPM I also get the error on the page Cannot GET / which I believe is just a 404 page and is normal. Disclaimer I am by no means an expert on this but from what I gathered the only way to add header configs in NPM through the admin panel is under the custom locations. Here is a screenshot. The other way is digging into the config files and seemed more complex. I saved this screenshot when I was figuring this out I have no idea the source anymore…. I am not near my comp to screen shot mine so the headers in there are different than what I use anyways. Here is my block of headers that I have understood are helpful to harden your http requests
as you can see the proxy cache one is at the very end. Here is a site you can go to to test your domains security score If anyone else wants to chime in about the best headers to use to secure your server please do!! edit |
Thanks for sharing! I’m also using NPM Docker. |
Check the developer tool under the app. And see console and under network. Any errors? I noticed larger photos for me took much longer and seemed to hang but did go through. Try a small file? |
Okay I give up for now since I can't get it to work! I can upload and delete files (WiFi ios devices) but I cannot view them. I have also tried it with an Android device but it does not work there at all (WIFI and data 4G). Standardnotes is really a mess for selfhost, there are 5000 containers to install and maintain. They regularly change something in the configuration and you have to find out where it is and how it works. Very frustrating. I think I will switch to Joplin, where you have one server and one database. |
Changing the |
Thanks for sharing! And also after I updated to the latest version with using the |
Interestingly, if you opt in for the "New mobile experience" in the android app, the file upload works. However, there's a size limit around 1-2 MB |
This issue seems to be persistent on both iOS and Android apps. It can even be replicated on the web app when accessed through the phone.
For the iOS app, the bug has already been documented. #73 (comment)
I can confirm that I am getting the same error when I try to view or download the file via the Android app.
Downloading gives me a 0-sized file. While trying to view it, I get the same error as reported in the link above.
Could not obtain content-range header while downloading.
The preview also shows me an empty file when I use the web app on my phone. And it looks like I can't even upload files from my phone.
The text was updated successfully, but these errors were encountered: