Skip to Content
avatar image
Former Member

Error "Connection to refused"

Hi all,

My application is an architecture like this:

For service layer: "Java EE 6 Web Profile" runtime. (Java Application of Cloud)

In my HTML5 Application log, I have this error:

"Could not connect to remote host Reason: Connection to refused"

The error seems random for me, the request from HMTL5 Applications sometimes works, others do not. Server resources usage are all low, cpu at 30%, busy threads just 10 or 12 (maximum is 200), memory OK too.

My HTTP Access Log has no evidences about these refused calls

Somebody had similar problem ? your runtime refuse to accept a servlet request and nothing explain why?

Thank you in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 30, 2018 at 02:45 AM

    Hello, Bruno, I would like to confirm some detail with you. Have you configured an HTTP destination for your app? Have you configured routing to this HTTP destination in the application descriptor file? Where did you run this App? In your local machine or on SCP WEB IDE?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Richard,

      Thank you for asking.

      Yes for your all answers.

      - Destination is HTTP type.

      - Configured in neo-app.json file


      "routes": [ (...) { "path": "/XXX", "target": { "type": "destination", "name": "XX_DESTINATION_NAME_XX", "entryPath": "/XXX" }, "description": "XXXXX" } (...)]

      Application run on cloud, using link direct of HTML5 application or using WEB IDE.

      Additional information, in destinations I have configured:

      Proxy Type: Internet

      Authentication: AppToAppSSO

      TLSVersion: TLSv1.2

      Thank you in advance.