"Failed to load file" iOS

We have had seafile running on our server with no problems, on port 8000.

We changed it so that we can run over port 443 with ssl. Now, the only problem we are having is that the mobile client will not download any files. We can see the folders, and files… just cant download them.

The server is running Ubuntu 16.04 with Apache2.

SeaDrive, and the web interface is running correctly, and can sync.

anyone have any ideas? Like i said, the web interface and seadrive works fie .

Could you provide your apache/revproxy configs?
Thx :slight_smile:

Hi braxsim,
please check the ccnet.conf. Probably there is still the port 8000 in the “SERVICE_URL=http://www.example.com:8000”.
Best regards
Christoph from datamate.

Please try to delete the saved passwords for encrypted libraries in the app. And did you change the server address in the app?

ServerName seafile.braxsim.com DocumentRoot /Seafile

SSLEngine On
SSLCertificateKeyFile /etc/apache2/ssl/seafile.braxsim.com.key
SSLCertificateFile /etc/apache2/ssl/seafile.braxsim.com.cert

#Alias /media /home/user/haiwen/seafile-server-latest/seahub/media

Require all granted

RewriteEngine On

seafile fileserver

ProxyPass /seafhttp
ProxyPassReverse /seafhttp
RewriteRule ^/seafhttp - [QSA,L]


SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
ProxyPass / http://
ProxyPassReverse / http://

Remove the port 8000 from proxyPass and add https:// in the last two linex

Best regards
Christoph von datamate

I’m going to try what you mentioned. One thing that I’m also curious about is the Alias that I have commented out.

Could someone post a working virtual host config file with ssl?