Error: Origin is not allowed by Access-Control-Allow-Origin

Problem

The following web browser error message appears when accessing the DeployR landing page for Linux: 
Error: Origin is not allowed by Access-Control-Allow-Origin

Solution

This error occurs when DeployR has not started properly. You can start the service again by issuing the following command:
/home/<deploy_user_directory>/deployr/7.<version>/startAll.sh 
 

Note: There are also some instances when the DeployR server needs to be rebooted due to maintenance & accessing the DeployR landing page directly after the server has rebooted will sometimes give the above error message on your browser. Please make sure that you invoke the startAll.sh script or you can put this script when your Linux server starts up:
For example in RedHat Linux:
On /etc/rc.d/rc.local, you can insert the following lines:

su - <deployr_user> -c '/home/<deploy_user>/deployr/7.<version>/startAll.sh'
Eigenschappen

Artikel-id: 3104176 - Laatst bijgewerkt: 31 okt. 2015 - Revisie: 1

Feedback