facebook

installation, update and create behind proxy and corp self signed certs

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #520087 Reply

    b12s
    Participant

    Hello, I am having difficulties with installation of ngide and creation & import of a angular project via webclipse. I don’t need both to work but would like one or the other. With much anguish, I am trying to get things ‘working’ behind a corporate proxy, firewall with corporate self signed certificates in the chain. Do you have configuration/environment variables that can be defined to set the http/s proxy and path to certificates files?

    List of issues:

    1) When attempting to create a new angular project in webclipse the project wizard hangs waiting for: Angular CLI version “Loading list of versions…”

    2) When importing an existing angular project in webclipse the terminal says “Downloading and extracting Node 7.4.0…” then a few minutes later “Download of Node 7.4.0 failed”

    3) When attempting to instal ngide via “ngide install ~/toolbox/angular-ide” I get the following error

    ngide install ~/toolbox/angular-ide
    Installing Angular IDE in: /home/me/toolbox/angular-ide
    /home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:77
        throw e;
        ^
    SyntaxError: Unexpected end of JSON input
        at JSON.parse (<anonymous>)
        at MapObservable.buffer$.map.buffer (/home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/mt-downloader/.dist/Utils.js:124:37)
        at MapObservable.selector (/home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:5386:51)
        at MapObservable.selector (/home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:5386:67)
        at /home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:5386:67
        at tryCatcher (/home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:63:31)
        at InnerObserver.next (/home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:5407:43)
        at InnerObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/home/twelvesb/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:1762:31)
        at InnerObserver.tryCatcher (/home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:63:31)
        at AutoDetachObserverPrototype.next (/home/me/toolbox/node-v7.9.0-linux-x64/lib/node_modules/angular-ide/node_modules/rx/dist/rx.js:5883:51)
          

    Hoops i have jumped through at this point:
    1) set the http_proxy, https_proxy and ftp_proxy in my env.
    2) imported self signed certificates using java keytool into the system keystore and truststore
    3) configured npm for proxy and certs: Here is my .npmrc:

    
    proxy=http://proxy-my.corp.com:80/
    https-proxy=http://proxy-my.corp.com:80/
    cafile=/usr/java/default/jre/lib/security/cacerts
    strict-ssl=false
    registry=http://registry.npmjs.org/
    

    4) confured eclipse for proxy and certs. At this point i can download, install from eclipse marketplace, get http updates in the webclipse dashboard so I know http/https and certs are working in eclipse:

    `
    -Djavax.net.ssl.trustStore=/usr/java/default/jre/lib/security/cacerts
    -Djavax.net.ssl.trustStorePassword=******
    -Djavax.net.ssl.keyStore=/usr/java/default/jre/lib/security/cacerts
    -Djavax.net.ssl.keyStorePassword=******
    -Djavax.net.debug=ssl,handshake
    -Dhttp.proxyHost=http://proxy-my.corp.com/
    -Dhttp.proxyPort=80
    -Dhttps.proxyHost=http://proxy-my.corp.com/
    -Dhttps.proxyPort=80
    -Dhttp.nonProxyHosts=localhost|127.0.0.1
    -Djava.net.useSystemProxies=true
    -Djava.net.preferIPv4Stack=true
    -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient

    Versions:
    node: 7.9.0
    npm: 4.5.0
    ng: @angular/cli: 1.0.0
    os: linux x64

Viewing 1 post (of 1 total)
Reply To: installation, update and create behind proxy and corp self signed certs

You must be logged in to post in the forum log in