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'
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3104176 - Last Review: 10/31/2015 05:31:00 - Revision: 1.0

Revolution Analytics

  • KB3104176
Feedback