cancel
Showing results for 
Search instead for 
Did you mean: 

DB module build fails on XSA Web IDE

isuruwarn
Advisor
Advisor
0 Kudos

Hi All,

We have a new XSA SP 12 installation on a standalone server. When we try to build the db module on a sample project on our XSA Web IDE workspace, we get the following error:

1:02:12 PM (Builder) Build of /TestDS/db started.

1:02:14 PM (DIBuild) Build of /TestDS/db in progress

1:03:36 PM (DIBuild) ********** Printing /TestDS/db Build Log **********
[INFO] Injecting source code into builder...
[INFO] Source code injection finished
[INFO] ------------------------------------------------------------------------
npm ERR! Linux 3.0.101-0.47.71-default
npm ERR! argv "/hana/shared/DSD/xs/ea_data/pall00539958a/executionroot/fe5f86ee-057c-4c59-90c3-27ad2167baca/app/resources/nodejs/vendor/node4.4/bin/node" "/hana/shared/DSD/xs/ea_data/pall00539958a/executionroot/fe5f86ee-057c-4c59-90c3-27ad2167baca/app/resources/nodejs/vendor/node4.4/lib/node_modules/npm/bin/npm-cli.js" "install"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect

npm ERR! Error: connect ECONNREFUSED 127.0.0.1:51027
npm ERR! at Object.exports._errnoException (util.js:870:11)
npm ERR! at exports._exceptionWithHostPort (util.js:893:20)
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)
npm ERR! { [Error: connect ECONNREFUSED 127.0.0.1:51027]
npm ERR! code: 'ECONNREFUSED',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! syscall: 'connect',
npm ERR! address: '127.0.0.1',
npm ERR! port: 51027,
npm ERR! parent: 'deploy' }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR! /hana/shared/DSD/xs/ea_data/pall00539958a/executionroot/fe5f86ee-057c-4c59-90c3-27ad2167baca/app/tomcat/temp/builder/hdi-builder/builds/build-467546131147467696/db/npm-debug.log

********** End of /TestDS/db Build Log **********

1:03:36 PM (Builder) Check console logs for details

1:03:36 PM (Builder) Build of /TestDS/db failed.

It seems to be a proxy issue when trying to install the npm modules required for HDI. Has anyone else encountered this error? Any suggestions?

Thanks,

Isuru

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

You should also consider to check the "no_proxy" setting, cause your error message is related to 127.0.0.1 (localhost). Maybe you defined the proxy settings but did not exclude the XSA host by "no_proxy".

Check also Proxy Server Settings for SAP HANA Installations with XS Advanced Runtime - SAP HANA Server Installa...

Regards,

Florian

Answers (2)

Answers (2)

isuruwarn
Advisor
Advisor
0 Kudos

This issue was eventually resolved by downloading a new Hana DB and XSA revision (which included a patch) from the marketplace.

Florian, Rushi - Thanks a lot for your input.

Regards,

Isuru

draschke
Active Contributor
0 Kudos

Hi Isuru,

I'm struggling with the same problem. Setting proxy values doesn't help me.

"This issue was eventually resolved by downloading a new Hana DB and XSA revision (which included a patch) from the marketplace."

Do I understand you right, you were upgrading your XSA Components, before it worked on your system?

Thanks a lot!

Rushi
Explorer
0 Kudos

its due to the kernals not updated on your SUSE Linux ..can you post your SUSE version also check your suse has repositories server to retrieve the packages.

Contact me if you have quesetions.

BR

Rushi.

Rushi
Explorer
0 Kudos

also you can sit this parameter

npm config set proxy http://proxy:8080

npm config set https-proxy http://proxy:8080

and try.

let me know.

Rushi
Explorer
0 Kudos

configure the HTTP and HTTPS proxy for Node.js:

npm config set proxy http://proxy:8080

npm config set https-proxy http://proxy:8080