Forum Discussion
angela
2 years agoCatalyst II
Hi,
I am also interested in this topic because these kind of connections are not uncommon.
asebastian : The forum needs your help [emoticon:44a8a53ad3364ea78a16c5a3229f75bb]! Are there any tips from Aras regarding the CORS error messages when connecting to Innovator from outside? Many thanks for any hint!!!
asebastian
2 years agoCommunity Manager
Hi Angela,
Sorry for the delay. This is not my area of expertise, having never configured a distributed Aras instance. I took a quick look at some resources and found the following guidelines for avoiding the CORS policies issues.
There are a couple of basic causes that should be reviewed:
- Ensure you are able to reach the OAuthServer and it is running
- A good test for this is to navigate to http://{servername}/{applicationname}/OAuthServer/.well-known/openid-configuration
- If you are able to reach this url the OAuthServer component is running and accessible from the machine
- Confirm that the OAuthDiscovery URL inside the InnovatorServerConfig.xml is correct
- You can pull out the url and use point #1's end point to confirm it is accessable
- If this is a distributed environment, confirm that every server is listed in <allowedCorsOrigins> of the OAuthServer/OAuth.config file
- A good way to cover all the bases is to ensure that the server name, fully qualified domain name, and IP address for each server is included.
The third tip might be helpful for people facing this issue. I've also reached out internally to see if I can get any clarification on this error.
AJ