przemyslawpluta / mongo-edu

Select and download videos and handouts from https://university.mongodb.com courses
MIT License
279 stars 83 forks source link

npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND #50

Closed yhw82 closed 9 years ago

yhw82 commented 9 years ago

MongoDB Developer course is just started.

I'm trying to download videos using mongo-edu using the following command:

mongo-edu -d /videos/ MongoDB username: MongoDB passowrd: searching.......[100%]

Program exits after the above line.

I did use this tool last year to download other videos in MongoDB but it doesn't work now for the new course. Are the videos available in mongo-edu?

przemyslawpluta commented 9 years ago

add --cw

yhw82 commented 9 years ago

mongo-edu -d /videos/ --cw command does the same thing...no difference. It exits the mongo-edu after searching 100%. Any idea how I can resolve this?

przemyslawpluta commented 9 years ago

Try to reinstall python.

przemyslawpluta commented 9 years ago

@yhw82 upgrade to the latest version mongo-edu 0.2.16 and let me know ...

yhw82 commented 9 years ago

How do I upgrade mongo-edu?

Should I run the following commands? npm uninstall mongo-edu -g npm install mongo-edu -g

przemyslawpluta commented 9 years ago

@yhw82 yes

yhw82 commented 9 years ago

Reinstalled the mongo-edu using the above commands but the issue is no different. What else I can try?

przemyslawpluta commented 9 years ago

@yhw82 can you post the full snapshot of the console output.

przemyslawpluta commented 9 years ago

OK. @yhw82 try latest version mongo-edu 0.2.17 and give me an update.

yhw82 commented 9 years ago

image

nodeJ version is v0.10.29 npm version is v1.4.14 Python version (Canopy distribution) is 2.7.6

How do I check the mongo-edu version? Would reinstallation give me v0.2.17?

przemyslawpluta commented 9 years ago

npm uninstall mongo-edu -g then npm install mongo-edu -g

yhw82 commented 9 years ago

I've uninstalled and then reinstalled the mongo-edu...but it seems it's installing v0.1.24....don't know why... the issue still occurs after reinstallation

image

przemyslawpluta commented 9 years ago

Try npm cache clean then npm install mongo-edu@0.2.18 -g

yhw82 commented 9 years ago

I could not install the version using the command you've mentioned.

image

przemyslawpluta commented 9 years ago

It looks like you have issues with npm itself. What do you get when you run npm view mongo-edu versions?

yhw82 commented 9 years ago

When I ran the command, it shows the version as 0.1.24. How can I successfully remove npm and install the correct mongo-edu version?

przemyslawpluta commented 9 years ago

Just uninstall nodejs ... then install latest 0.10.x or 0.12.x nodejs from the website.

yhw82 commented 9 years ago

I installed the latest node.js and retried the mongo-edu installation and I'm getting the following error. I have no proxy enabled in any of my web browers but I am having socket connection error:

image

przemyslawpluta commented 9 years ago

Looks like you have network / npm issues. See if this helps https://github.com/npm/npm/issues/8639

yhw82 commented 9 years ago

I've managed to connect to mongo-edu after removing the proxy.....but getting other errors as such: any idea what the problem is? I'm losing the connection after downloading a video clip.. image

przemyslawpluta commented 9 years ago

What is the output of:

python %HOMEPATH%\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\youtube-dl\bin\youtube-dl YQTqdLe3W4M --verbose
przemyslawpluta commented 9 years ago

@yhw82 shall I assume you got it sorted?

przemyslawpluta commented 9 years ago

Closing for now ... will reopen later if required.