Hello,
I installed Seafile on my debian server using the Caddy webserver.
I have not touched any config files, the server worked on my local pc but it doesn’t through the internet.
Each time I want to upload a file (whether from the web interface or the iOS app), I have the following error: “Network Error”.
When I try to download a file, I’m redirected to an URL starting with 127.0.0.1:8082 displaying the error: “Access token not found”.
Here’s my Caddy config:
Can you please provides some more details? What type of installation is it (manual or docker)? How does your configuration look like (especially FILE_SERVER_ROOT and SERVICE_URL)?
I don’t know if it is related, but your Caddy config indicates you are accessing Seafile on HTTPS, while your Seafile config points to HTTP. I know that Seafile is pretty picky about the path specified in FILE_SERVER_ROOT and SERVICE_URL, but I don’t know if the protocol matters.
Check your configuration in the WebUI under System Admininstration > Settings and make sure that FILE_SERVER_ROOT matches https://files.math3mat1x.xyz/ and SERVICE_URL matches https://files.math3mat1x.xyz/seafhttp.