cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy Issue While Configuring SAP Hybrid Application Local / SAP HAT LOCAL Add on

0 Kudos

Prerequisites:

Step 1: Install- JDK, Android SDK and Apache ANT

Step 2: Install- NodeJS, Cordova, Kapsel, Git, Plugman and configure environment variables

Step 3: Install SAP HAT

Validate environment and connectivity prerequisites.

  • Proxy-based connections: If your workstation is connected to the Web via a proxy server, ensure that all development tools in your environment (for example, Git, npm, emulators, and so on) are configured to correctly use that proxy.
  • Network configurations: SAP recommends that you use the same network configuration while installing all tools.

Problem: At the time of installation getting below proxy issue

In my case my workstation/Laptop is not connected to the Web via a proxy(Not using Proxy) but still getting the issue to set proxy.

- failed with ECONNRESET

-There are some problem when installing client side libraries using bower. You ne ed to configure the HTTP(S) proxy (enter empty to cancel current installation). HTTP(S) proxy:

---------------------------------------------------------------------------------------------------------------------

Also got the below message(When pressed Enter key):

---------------------------------------------------------------------------------------------------------------------

- npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:8080 npm install FAILED. Please check that you have correctly configured the npm prox y. If it is not because of the proxy issue, please try the following steps to fix i t:

1. delete folder (if exists): "C:\SAP_HAT_local-1.29.7\setup\node_modules"

2. clean npm cache: npm cache clean

3. update npm (may need administrator mode): npm install npm -g

-----------------------------------------------------------------------------------------------------------------------

Below is the snap of messages while installation in CMD prompt

C:\SAP_HAT_local-1.29.7>cd setup


C:\SAP_HAT_local-1.29.7\setup>call setup.cmd
Validating installation prerequisites...


Node.js version:
v5.4.1
---
npm version:
3.3.12
---
git version:
git version 2.18.0.windows.1
---
bower version:
1.8.4
---
Installing required modules...


> hat-setup@1.2.1 postinstall C:\SAP_HAT_local-1.29.7\setup
> node scripts/install_os.js


bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 1.9s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 1.9s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 1.9s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 1.4s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 1.2s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 1.1s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 2.8s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 2.6s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 2.9s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 4.0s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 4.0s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 2.8s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 5.1s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 6.9s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 5.7s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 5.1s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 7.5s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 5.3s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 8.5s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 8.8s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 12.4s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 14.3s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 10.0s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 13.6s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 17.5s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 16.4s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 26.9s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 16.1s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 25.6s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 29.9s
bower angular-ui-router#0.2.13       ECONNRESET Request to https://registry.bower.io/packages/angular-ui-router failed: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:8080
{ code: 1,
  output: 'bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 1.9s\nbower
  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 1.9s\nbower
  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 1.9s\nbower  
  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 1.4s\nbower  
  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 1.2s\nbower
  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 1.1s\nbower
  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 2.8s\nbower  
  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 2.6s\nbower  
  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 2.9s\nbower  
  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 4.0s\nbower
  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 4.0s\nbower  
  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 2.8s\nbower  
  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 5.1s\nbower 
  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 6.9s\nbower
  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 5.7s\nbower  
  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 5.1s\nbower  
  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 7.5s\nbower
  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 5.3s\nbower
  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 8.5s\nbower  
  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 8.8s\nbower
  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 12.4s\nbower
  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 14.3s\nbower
  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 10.0s\nbower  
  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 13.6s\nbower  
  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 17.5s\nbower  
  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 16.4s\nbower
  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 26.9s\nbower  
  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 16.1s\nbower  
  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 25.6s\nbower  
  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 29.9s\nbower 
  angular-ui-router#0.2.13       ECONNRESET Request to https://registry.bower.io/packages/angular-ui-router failed: tunneling socket could not be established, cause=connect EC
ONNREFUSED 127.0.0.1:8080\n' }
https://localhost:8080/
https://localhost:8080/
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 1.9s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 2.0s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 1.2s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 1.5s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 2.0s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 1.5s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 2.3s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 2.0s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 3.0s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 3.4s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 2.7s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 2.3s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 6.1s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 4.5s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 5.6s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 5.5s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 6.8s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 4.8s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 13.1s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 9.8s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 13.4s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 12.1s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 14.5s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 12.9s
bower  retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 27.4s
bower  retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 27.8s
bower  retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 31.1s
bower  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 25.4s
bower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 30.5s
bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 30.3s
bower angular-bootstrap#0.12.0       ECONNRESET Request to https://registry.bower.io/packages/angular-bootstrap failed: tunneling socket could not be establishe
d, cause=connect ECONNREFUSED 127.0.0.1:8080
{ code: 1,
  output: 'bower  retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 1.9s\nbower
  retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 2.0s\nbower
             retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 1.2s\nbower  retry Request
 to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET,
 retrying in 1.5s\nbower  retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 2.0s\nbower
 retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 1.5s\nbower
 retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 2.3s\nbower  
 retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 2.0s\nbower  
 retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 3.0s\nbower
 retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 3.4s\nbower
 retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 2.7s\nbower  
 retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 2.3s\nbower  
 retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 6.1s\nbower 
 retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 4.5s\nbower
 retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 5.6s\nbower  
 retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 5.5s\nbower  
 retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 6.8s\nbower
 retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 4.8s\nbower
 retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 13.1s\nbower  
 retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 9.8s\nbower  
 retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 13.4s\nbower  
 retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 12.1s\nbower
 retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 14.5s\nbower  
 retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, 
 retrying in 12.9s\nbower  
 retry Request to https://registry.bower.io/packages/angular-bootstrap failed with ECONNRESET, retrying in 27.4s\nbower  
 retry Request to https://registry.bower.io/packages/jquery failed with ECONNRESET, retrying in 27.8s\nbower
 retry Request to https://registry.bower.io/packages/bootstrap failed with ECONNRESET, retrying in 31.1s\nbower  
 retry Request to https://registry.bower.io/packages/angular-ui-router failed with ECONNRESET, retrying in 25.4s\nbower  
 retry Request to https://registry.bower.io/packages/angular failed with ECONNRESET, retrying in 30.5s\nbower  
 retry Request to https://registry.bower.io/packages/angular-sanitize failed with ECONNRESET, retrying in 30.3s\nbower angular-bootstrap#0.12.0 ECONNRESET
 Request to https://registry.bower.io/packages/angular-bootstrap failed: tunneling socket could not be established, cause=connect E
CONNREFUSED 127.0.0.1:8080\n' }


There are some problem when installing client side libraries using bower. You ne
ed to configure the HTTP(S) proxy (enter empty to cancel current installation).
HTTP(S) proxy:
 

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member276237
Participant
0 Kudos

You might also want to take a look at 3rd bullet point in Resolution section of SAP Knowledge Base Article 2318332.

former_member276237
Participant
0 Kudos

If you are not behind a proxy then probably an antivirus program or more likely your system's firewall is blocking connections. Try disabling any antivirus program you might have as well as the firewall and try again. This issue doesn't seem to be specific to HAT, it's a general environmental issue.

0 Kudos

Disabled- Antivirus(Avast), Firewall Still facing same issue

 tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80\n' }
null
null
null
null


There are some problem when installing client side libraries using bower. You need to configure the HTTP(S) proxy (enter empty to cancel current installation).
HTTP(S) proxy: