MaximeHeckel / HarborJS

Dokku Web Interface and Account Management
MIT License
111 stars 19 forks source link

Crash in crypto.js:407 new binding.DiffieHellman(sizeOrKey); #6

Closed jwthomp closed 10 years ago

jwthomp commented 10 years ago

I'm encountering a crash when submitting my SSH key. I am running off of master. Please let me know any information I can provide, or anything you would like me to try and I'll be happy to help.

crypto.js:407 this._binding = new binding.DiffieHellman(sizeOrKey); ^ Error: Initialization failed at new DiffieHellman (crypto.js:407:21) at Object.DiffieHellman (crypto.js:400:12) at onKEXDH_GEX_GROUP (/home/jwthomp/repos/HarborJS/node_modules/ssh-exec/node_modules/ssh2/lib/Connection.js:1628:22) at Parser. (/home/jwthomp/repos/HarborJS/node_modules/ssh-exec/node_modules/ssh2/lib/Connection.js:117:5) at Parser.EventEmitter.emit (events.js:97:17) at Parser.parsePacket (/home/jwthomp/repos/HarborJS/node_modules/ssh-exec/node_modules/ssh2/lib/Parser.js:459:12) at Parser.execute (/home/jwthomp/repos/HarborJS/node_modules/ssh-exec/node_modules/ssh2/lib/Parser.js:249:14) at Socket. (/home/jwthomp/repos/HarborJS/node_modules/ssh-exec/node_modules/ssh2/lib/Connection.js:506:18) at Socket.EventEmitter.emit (events.js:94:17) at Socket. (_stream_readable.js:649:14)

jwthomp commented 10 years ago

Using node v0.9.10

MaximeHeckel commented 10 years ago

Hi Jeff,

Did you try to npm update and npm install ssh-exec manually ? Maybe some dependencies failed to install properly.

jwthomp commented 10 years ago

Hi, thanks for getting back to me. I just tried and 'npm update' and 'npm install ssh-exec' and am still seeing the same error unfortunately.

Perhaps is there a version of node that you recommend as 'known to work' that I should try using in case it is a version issue?

MaximeHeckel commented 10 years ago

Yes, as I worked on Node v0.10.25 you might have to update your node installation in order to make ssh-exec work.

MaximeHeckel commented 10 years ago

Does it work ?

jwthomp commented 10 years ago

It did, thank you.

alexismaster commented 9 years ago

not work =( v0.11.9-pre