przemyslawpluta / mongo-edu

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

Self signed certificate issue #48

Closed farscapeone closed 9 years ago

farscapeone commented 9 years ago

I am running mongo-edu within a corporate environment. YouTube is accessible. I have installed NodeJS with NPM support and have installed the latest version of mongo-edu.

I am getting a "Self signed certificate" error when I attempt to run the command - see below

Please help


$ mongo-edu -d .

[ MONGO-EDU 0.2.14 ]

? MongoDB Uni User Name: XXXXXX@gmail.com ? MongoDB Uni Password: ***** C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\mongo-edu\lib\initialize.js:26 if (err !== null) { throw err; } ^ Error: self signed certificate in certificate chain at Error (native) at TLSSocket. (_tls_wrap.js:929:36) at TLSSocket.emit (events.js:104:17) at TLSSocket._finishInit (_tls_wrap.js:460:8)

przemyslawpluta commented 9 years ago

What version of py have you got installed? Also have you tired running it with -ncc?

farscapeone commented 9 years ago

$ python --version Python 2.7.8

Have tried the following with error as well: mongo-edu -d . --ncc

przemyslawpluta commented 9 years ago

Tried that same on my side and can't replicate the issue you're having. I'd suggest reinstalling py ... let me know.

farscapeone commented 9 years ago

Just found out that is most likely internal firewall/proxy causing problems - will close the issue. Thanks for help