Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dev portal smartdocs proxy error on prem

Hi,

We have a 4.17.05 on prem AIO instance of edge on one box and dev portal on another. Both boxes are in same subnet so no port issue. I am able to connect to 59001 port from dev portal box to edge box. Also I can call the smartdocs proxy from edge box locally. I have also confirmed that smartdocs are installed and we are able to upload open API specs into the portal.

The issue is when I test the API from dev portal it says some internal error occurred and when I debug the IE browser it says some error related to CORS profile. We have enabled CORS in our API that we are testing. The errors are listed below -

XMLHttpRequest for http://validate.apigee.com:59001/smartdocs/v1/sendrequest?targeturl=<my test API URL> required Cross Origin Resource Sharing (CORS).

XMLHttpRequest for http://validate.apigee.com:59001/smartdocs/v1/sendrequest?targeturl=<my test API URL> required CORS preflight.

XMLHttpRequest: Network Error 0x80070005, Access is denied.

I referred to the link - https://community.apigee.com/questions/43075/dev-portal-internal-error-on-prem.html and have checked that the required configuration like smartdocs proxy URL, edge admin credentials, etc. is there.

The org that gets created when we install smartdocs, which contains smartdocs proxy, is called VALIDATE and the org that we have created to deploy our proxies is different say 'ABC'. Now I wanted to know -

1. If the org that is configured in the dev portal should be 'VALIDATE' or 'ABC'.

2. Is there any other configuration that we need to do in dev portal that will help to resolve the issue.

Appreciate the help to resolve the issue.

Regards,

Santosh

0 6 2,380
6 REPLIES 6