webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Timeout error when calling AP on API gate way and native service is on the web

  • 1.  Timeout error when calling AP on API gate way and native service is on the web

    Posted Fri September 20, 2024 05:27 AM

    Hi,

    I am getting the error below when I call my service from postman via the API gate way but I get no errors when I call the native service from a browser where my IS and API gateway are being hosted:
    *## ## “Exception”: “API Gateway encountered an error. Error Message: Downtime exception: java.net.ConnectException: Connection timed out: connect. Request Details: Service - test, Operation - /Myfacts, Invocation Time:11:07:31 AM, Date:Sep 20, 2024, Client IP - 172.31.0.27, User - Default and Application:null” *

    Are the proxy settings that need to configured for the API gateway and IS to be able to access the internet?

    The error i get from analytics

    {
    “_index”: “gateway_default_analytics_errorevents-000001”,
    “_type”: “_doc”,
    “_id”: “1F-vDpIBgnA6ONbFvxaS”,
    “_score”: null,
    “_source”: {
    “eventType”: “Error”,
    “sourceGateway”: “APIGateway”,
    “creationDate”: 1726823251856,
    “apiName”: “test”,
    “apiVersion”: “1.0”,
    “apiId”: “06088f0a-6e58-4684-b1d9-979d3d51f06d”,
    “applicationId”: “Unknown”,
    “applicationName”: “Unknown”,
    “applicationIp”: “172.31.0.27”,
    “sessionId”: “ac0935c51a984593a6e3702450cf49d8”,
    “operationName”: “/Myfacts”,
    “userAgent”: “”,
    “errorDesc”: " Downtime exception: java.net.ConnectException: Connection timed out: connect",
    “responseCode”: “500”,
    “httpMethod”: “get”,
    “correlationID”: “APIGW:f72b56bf-a315-4064-bbba-cd59ac661efd:62757”,
    “sourceGatewayNode”: “10.128.115.56”
    },
    “fields”: {
    “creationDate”: [
    “2024-09-20T09:07:31.856Z”
    ]
    },
    “highlight”: {
    “apiId”: [
    @kibana-highlighted-field@06088f0a-6e58-4684-b1d9-979d3d51f06d@/kibana-highlighted-field@”
    ]
    },
    “sort”: [
    1726823251856
    ]
    }


    #API-Gateway
    #Developer-Portal
    #API-Management
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Timeout error when calling AP on API gate way and native service is on the web

    Posted Fri September 20, 2024 05:15 PM

    Only if your network or the endpoint requires it. Check the browser/OS proxy settings and verify if they are set. If there is a proxy setting configured, apply the same configuration to you IS/ApiGW


    #Developer-Portal
    #Integration-Server-and-ESB
    #API-Management
    #API-Gateway
    #webMethods