An internal error has occurred. Please retry your request. returned in dev portal

I am working on on-premise Apigee env, I have published mockAPI proxy (Apigee tutorial) in edge and have imported mock target yaml specs in dev portal, updated base path to that of my edge API proxy url. When I tried to test API proxy from dev portal, getting below error

"An internal error has occurred. Please retry your request."

devportalerror.png

I was able to do curl from machine where Dev portal is installed to API edge proxy (MS). Also I was not able to find any reference to this error message in below Dev portal logs.

apigee-drupal-devportal.log config.log error.log

please suggest.

Thanks,

Prasanth

0 3 1,539
3 REPLIES 3

@potturiprasanth , Welcome to Apigee Community !

It's the smartdocs proxy setting, Can you update the smartdocs proxy endpoint in "admin/config/smartdocs" page in developer portal as admin. It might be pointing to the cloud smartdocs proxy. Make sure it's updated to onpremise smartdocs proxy endpoint.

4885-smartdocs-new-apigee-site.png

Thanks Anil for quick response. As you have pointed out, Smartdocs proxy url was not configured in my dev portal, so I went ahead and added proxy url in there. Saved and re-published smartdocs/method.

But still seeing the same error.

I have configured smartdocs proxy endpoint http://RMPhost:59001//smartdocs/v1/sendrequest. And when doing curl from dev portal machine see below error.

curl -X GET "http://RMP:59001/smartdocs/v1/sendrequest" {"fault":{"faultstring":"Unable to identify proxy for host: RMP:59001 and url: \/smartdocs\/v1\/sendrequest","detail":{"errorcode":"messaging.adaptors.http.flow.ApplicationNotFound"}}}

Also tried same configuration by changing RMP host to MS host as it was prompted(below) at smartdocs proxy url text box in dev portal

"you should populate this field with the value http://xx.xxx.xx.xxx [MS]:59001/smartdocs/v1/sendrequest (after making sure that the hostname resolves correctly for your users). If you leave it blank, a "default value of https://apiconsole-prod.apigee.net/smartdocs/v1/sendrequest will be used.

and that did not work too, getting the same error.

Thanks,

Prasanth

RMP should be ip of routermessageprocessor node, Also, see similar question here , you might need to add hostname port to the virtual host alias.