[ARCHIVED] Why is Canvas loading files from Azure VM ip address instead of the domain of the VM?

danesh
Community Member

Hello,

first of all thankyou for anyone taking the time to view and help with this issue.

I have installed Canvas LMS using a bitnami Azure VM image. I have used their tool to generate an SSL certificate so that users can access the server over https. Using the theme editor I have uploaded a custom javascript file, when accessing canvas I get the error :- "net::ERR_ABORTED 422 (Unprocessable Entity)" and with this error it provides the url it was trying to access, which looks something like this https://clarocanvas.westeurope.cloudapp.azure.com/accounts/1/files/11/download?verifier=VERIFYING_KE... The strange thing is that if I try to use this URL with the Azure VM's public ip in place of the domain name then it will load the javascript file.

I am unsure why this is happening and any help would be appreciated. Thankyou.

Labels (2)
0 Likes