Skip to Content

public npm registry not accessible after upgrade to HANA 2.0 sp3

Hi,

After upgrading to HANA 2.0 sp3 I am unable to access the npm registry.

My UPSTREAM_LINK env is set to http://registry.npmjs.org/ (same as in SP 2) and no HTTP_PROXY env is set because it is not required in the server. (I am able to access npmjs.org through curl without any proxy setting).

The error I received is

http  --> ERR, req: 'GET http://registry.npmjs.org/ws', error: unable to get local issuer certificate (connecting to registry.npmjs.org:443)

All the settings were same as in sp2.

Any help is appreciated.


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on May 31, 2018 at 12:00 PM

    This could help:

    xs unbind-service di-local-npm-registry devx-npm-cache-fs
    xs delete-service devx-npm-cache-fs

    xs create-service fs-storage free devx-npm-cache-fs
    xs bind-service di-local-npm-registry devx-npm-cache-fs

    xs restage di-local-npm-registry
    xs restart di-local-npm-registry

    https://help.sap.com/viewer/1a8e7ab05a2e4119b02b702f211422f5/2.0.03/en-US/5fd9473b7e994e2aa66092da5a10c75a.html

    Add comment
    10|10000 characters needed characters exceeded