IBM Support

PI14842: HTTPS GET PROBLEM WHEN USING WL.SERVER.INVOKEHTTP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When customer issue a HTTPS GET request to an endpoint using
    WL.Server.invokeHttp method, if the endpoint response with
    HTTP 302 redirect, invokeHttp will stall until timeout and
    return with
    "Runtime: Http request failed:
    org.apache.http.conn.HttpHostConnectException:
    Connection to https:\/\/XXX.ca refused"
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Worklight customers issuing HTTPS GET requests that are      *
    * redirected by the endpoint to an HTTPS location.             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * An HTTPS GET request to an endpoint using                    *
    * WL.Server.invokeHttp method, if the endpoint response with   *
    * HTTP 302 redirect to an HTTPS location, invokeHttp will      *
    * stall until timeout and return with:                         *
    *  "Runtime: Http request failed:                              *
    * org.apache.http.conn.HttpHostConnectException: Connection to *
    * <address> refused"                                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The fix prevents the http client from following a redirect, and
    instead the standard redirect response will be returned to the
    customer code, so that he can decide what to do next.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI14842

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-31

  • Closed date

    2014-05-22

  • Last modified date

    2014-05-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021