No address associated with hostnameCopying media files failed

Hi,

I am using ODK Aggregate v2.0.3 on Digital Ocean. I have pointed a free domain .tk to this installation. Everything looks fine when I am logging into Aggregate server. However, getting error "No address associated with hostnameCopying media files failed" when trying to download form to collect. My domain is http://urc-uganda.tk . I tried to set up https and followed the instruction as per documentation; however, my domain not been changed to https.

Thanks,
Imran

Hi @A.N.M_AL-IMRAN,

Concerning the https part, I see you have not properly configured the SSL because even the port 143 is not enabled.

Can you find the nginx config file and post it here. It should be in this location
/etc/nginx/sites-enabled/aggregate

1 Like

Dear @dicksonsamwel,

Thanks so much. Please see the config:
server {
client_max_body_size 100m;
server_name urc-uganda;

location / {
    proxy_pass http://127.0.0.1:8080;
}

}

Thanks again,
Imran

That configuration file has no setting for https. You need to configure it. Please check this configuration on how to do that.

Also check this link, it show how the config file should be.

1 Like

Dear @dicksonsamwel,

Thanks so much! Your suggestion was very helpful. I reinstalled following your suggestion and it worked. What I did wrong was, when I installed ODK I didn't have a domain; therefore, I was unable to provide domain address.

Thanks again,
Imran

1 Like