Skip to Content

SAP HANA Express XSA Issue - Takes long time to run application: Error: connect ECONNREFUSED

We are using SAP HANA Express edition on AWS. We just upgraded this to the latest release available through SAP HANA Express:

HANA Version - 2.00.023.00.1513691289 (fa/hana2sp02)

Build - Dec 19, 2017 2:55:07 PM

Operating System - SUSE Linux Enterprise Server 12.1

AWS Cloud - HANA Express through SAP Cloud Appliance Library

We are able to build applications - mostly without issues. But running them takes a long time. In this case, we are building the TinyWorld database, NodeJS and UI pieces from the SAP HANA Academy XSA tutorials.

Most of the time, it errors out and runs into timeout issues:

If we look into the logs, we see the following:

java.io.IOException: Invalid response status 500 from remote server.

        at org.eclipse.che.api.core.util.DownloadPluginImpl.openUrlConnection(DownloadPluginImpl.java:47)

        at org.eclipse.che.api.core.util.HttpDownloadPlugin.download(HttpDownloadPlugin.java:44)

        at org.eclipse.che.api.runner.internal.Runner.createDeploymentSources(Runner.java:383)

        at org.eclipse.che.api.runner.internal.Runner$3.run(Runner.java:287)

        at org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:28)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:805) 

But then every now and then, we can get the application to run and generate the link, even though errors are displayed:

Here are errors:

https://ec2-54-156-164-210.compute-1.amazonaws.com:51006/


Logs


Application is stopping
Application is starting
Application stopped
Application failed to run
Application is stopping
Application is starting
Application stopped
Application failed to run
Application is stopping
Application is stopping
Application is starting
Application stopped
1/29/18 9:47:58.000 PM [APP/13-0] TRC /appcontroller.yjlrZ6zUpW/AppController/node_modules/applicationcontroller/controller/proxyRequests.js:17 [] ERROR: Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818
1/29/18 9:47:58.000 PM [APP/13-0] TRC /appcontroller.yjlrZ6zUpW/AppController/node_modules/applicationcontroller/controller/proxyRequests.js:17 [] ERROR: Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818
1/29/18 9:47:58.721 PM [APP/13-0] LOG #2.0#2018 01 29 21:47:58:721#+00:00#ERROR#/AppController/Dispatcher################PLAIN##Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818#
1/29/18 9:47:58.829 PM [APP/13-0] LOG #2.0#2018 01 29 21:47:58:829#+00:00#ERROR#/AppController/Dispatcher################PLAIN##Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818#
1/29/18 9:48:02.000 PM [APP/13-0] TRC /appcontroller.yjlrZ6zUpW/AppController/node_modules/applicationcontroller/controller/proxyRequests.js:17 [] ERROR: Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818
1/29/18 9:48:02.000 PM [APP/13-0] TRC /appcontroller.yjlrZ6zUpW/AppController/node_modules/applicationcontroller/controller/proxyRequests.js:17 [] ERROR: Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818
1/29/18 9:48:02.287 PM [APP/13-0] LOG #2.0#2018 01 29 21:48:02:287#+00:00#ERROR#/AppController/Dispatcher################PLAIN##Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818#
1/29/18 9:48:02.405 PM [APP/13-0] LOG #2.0#2018 01 29 21:48:02:405#+00:00#ERROR#/AppController/Dispatcher################PLAIN##Error occurred, Cannot proxy application requests...Error: connect ECONNREFUSED 127.0.0.1:57818#
1/29/18 9:49:37.752 PM [APP/14-0] OUT Server listening on port 65418
Application is running


Then we can see the app - TinyWorld running.

We had a call with Thomas Jung who said this may be related to the underlying hardware not being powerful enough. This is the Express Edition on CAL for Amazon - so it's not good that the default HANA Expression edition on AWS is not built or scaled properly. I already have added a BLOG to add disk space to the instance since the drive was running out of free space.

If anyone has run into these issues and has the insight in how to make this faster so the application can be run right away, please do comment.

Thanks,

Jay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers