I have a link to a pdf file on my website. The pdf opens without any issues in the built-in pdf viewer on Firefox or iOS.
I get an error when I try to open the pdf by clicking the link in Firefox on Android. After clicking the link the Adobe Reader app opens and tries to download the pdf for viewing. Then I get an error and the pdf doesn't open. The error inside of Adobe Reader just says
Error. The file could not be downloaded. Please save the file to your local storage and then try to open it.
How can I troubleshoot this? I tried removing spaces from the file name, using absolute urls in the links, but none of that worked. I also tried creating a pdf using a different program, in case the issue was in the pdf itself, and that didn't help. I also tried typing in the link directly into the browser url and same thing happens.
At this point I don't know how to troubleshoot it without getting some kind of debug information. I'm using Apache on the server.