webMethods

 View Only

 Issue with API Gateway Access and WmAPIGateway Package in webMethods 10.15

Mohamed Ewais's profile image
Mohamed Ewais posted Wed January 01, 2025 06:10 AM

Hi everyone,

I recently downloaded the webMethods 10.15 installation image from Empower. Since the image didn't include licenses, I obtained the required license file from another source. After installing the platform components (Integration Server, API Gateway, Designer, UMS, etc.), I was able to successfully log in to the Integration Server (IS) using the `Administrator` user.

However, when attempting to access the API Gateway, I encountered the following error:

*(tid=310) Access denied for user GatewayInternalTechnicalUser on port 5555 -> 'invoke/apigateway.ui:getSolutionDetails' from 127.0.0.1*.

To resolve this, I went to *Security > User Management* on IS, created a user named `GatewayInternalTechnicalUser`, and added it to both the `Administrators` and `Everybody` groups. After making this change, I was able to open the API Gateway UI.

However, when trying to log in to the API Gateway using either `GatewayInternalTechnicalUser` or `Administrator`, I received the error:

*Server is unreachable.*

Upon checking the IS packages, I noticed that the `WmAPIGateway` package was partially loaded. I reloaded the package, and it appeared to load successfully, but when I tried logging into the API Gateway again, the same *"Server is unreachable"* error occurred, and the `WmAPIGateway` package reverted to being partially loaded.

Does anyone know how to resolve this issue? Any insights would be greatly appreciated!

Thanks in advance.

HARI PRASANNA RAJU CH's profile image
HARI PRASANNA RAJU CH

Hi Mohamed,

Please check the server logs if EDS is up are not? If Elastic Search strated is started properly you can see the belwo log entry.

log entry: ElasticSearch started at http://XXXXX:9072  in xx seconds.

Jay Gauthier's profile image
Jay Gauthier

Hi Mohamed,

I have some experience installing IS and API Gateway 10.15, but I did it from the regular Installer accessing the Empower download center and not installing from an image file. Is this for a free trial or a paid subscription? It's possible to run both an IS/MSR instance and an API Gateway instance from the same suite folder, but you do need two different instances (the original instance is usually called "default", then you'd create a new one for API Gateway). Hari is correct, Gateway requires an Elasticsearch engine to be running and that should be installed automatically when you install API Gateway, but unless you create a new instance of the Integration Server, for API Gateway only, it probably won't launch Elasticsearch automatically. It may help you to see my instance creation command that I execute after installing the regular Integration Server:

is_instance.bat create -Dinstance.name=APIGateway -Dadmin.password=<pswd> -Dprimary.port=5558 -Ddiagnostic.port=9998 -Dlicense.file="<path to license file" -Dpackage.list=WmAPIGateway

You would look to the documentation for how to create new IS instances via the command line interface.