stackvana / hook.io

Open-Source Microservice Hosting Platform
https://hook.io
Other
1.26k stars 117 forks source link

hpm server down (npm deploys not working) #241

Closed mikaelkaron closed 8 years ago

mikaelkaron commented 8 years ago

On the public instance hook.io try a simple hook like this:

module["exports"] = function(hook) {
  var select = require("json-select/select");
  hook.res.end("end");
};

when testing the result is:

module.js:338
    throw err;
          ^
Unable to communicate with hpm server 

connect ECONNREFUSED
Marak commented 8 years ago

Sorry about that. We've been upgrading server security and infrastructure lately.

The hpm service was attempting to connect to local redis without any authentication ( which is no longer allowed )

I updated the configuration to use the new password and restarted hpm. I also installed json-select package. Should be working again.

The current approach to NPM deps isn't great. We need to setup a ghost registry so all published deps are just automatically available and installed.

On Tue, May 24, 2016 at 3:48 PM, Mikael Karon notifications@github.com wrote:

On the public instance hook.io try a simple hook like this:

module["exports"] = function(hook) { var select = require("json-select/select"); hook.res.end("end"); };

when testing the result is:

module.js:338 throw err; ^ Unable to communicate with hpm server

connect ECONNREFUSED

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/bigcompany/hook.io/issues/241

mikaelkaron commented 8 years ago

It is indeed working now.

Marak commented 8 years ago

Sorry for the trouble. Please let me know if you run into any more issues or have any questions.