Search code examples
linuxgitubuntu-12.04boweropenedx

Error to install insights ( install bower ) { OpenEdX , Ubuntu Server 12.04 }


I'm trying to install OpenEdX on my own SERVER (OS : Linux Ubuntu Server 12.04 ) , and i got same errors . Can anyone help me?

TASK:  [ insights | install bower dependencies]**************************
failed: [localhost] => {"changed"; true, "cmd"; 
"./edx/app/insights/nodeenvs/insights/bin/activate && 
/edx/app/insights/edx_analystics_dashboard/node_modules/.bin/bower install --production --config.interactive=false", "delta": "0:02:32.056040", "ende"; "2015-05-01 05:32:47.289788", "rc":1, "start": "2015-05-01 05:38:33.233748", "waring": []}
stderr: bower globalize#1.0.0-alpha.17                                ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery/globalize.git", exit code of #128 fatal: unable to connect to github.com:github.com[0: 192.30.252.130]: errno=Connection timed out
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.130]: errno=Connection timed out
stdout: bower globalize#1.0.0-alpha.17              not-cached  git://github.com/jquery/globalize.git#1.0.0-alpha.17  
bower globalize#1.0.0-alpha.17                         resolve  git://github.com/jquery/globalize.git#1.0.0-alpha.17

Solution

  • Make sure you are allowed to access repo with the git:// url schema (which uses the port 9418, sometimes blocked by firewall)

    You can test the same installation process with first:

    git config --global url."https://".insteadOf git://
    

    (See "Unable to connect to github.com for cloning")