Downloading files from the Internet directly from Cloud9


#1

Hi,

I am running Cloud9 from a BeagleBone Green board and am experiencing problems accessing files on the Internet. How do I check if my Cloud9 environment can reach the Internet and download files? Right now, it looks to be blocked. Here is an example command that has failed:

root@beaglebone:/var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts# npm install npm@latest -g
npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! System Linux 3.8.13-bone71.1
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install” “npm@latest” "-g"
npm ERR! cwd /var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ECONNRESET
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts/npm-debug.log
npm ERR! not ok code 0


#2

More information. The Cloud9 terminal cannot reach the network:

root@beaglebone:/var/lib/cloud9# ping 98.139.183.24
connect: Network is unreachable

This is running from a BeagleBone Green board with the IDE running here:
http://192.168.7.2:3000/ide.html

How do I open this up to the Internet so I can download external files and packages?


#3

Any help on this topic would be greatly appreciated! I dont know how to make my Cloud9 workspace connect to the broader Internet without error.

Thanks!

Steve


#4

this is not related to cloud9, cloud9 only provides the ui for the terminal, for network issues try searching beaglebone related forums