Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


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'

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3104176
Revision : 1
Created on : 1/7/2017
Published on : 10/31/2015
Exists online : False
Views : 59