Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hpm server down (npm deploys not working) #241

Closed
mikaelkaron opened this issue May 24, 2016 · 3 comments
Closed

hpm server down (npm deploys not working) #241

mikaelkaron opened this issue May 24, 2016 · 3 comments

Comments

@mikaelkaron
Copy link

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
Copy link
Collaborator

Marak commented May 24, 2016

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
#241

@mikaelkaron
Copy link
Author

It is indeed working now.

@Marak
Copy link
Collaborator

Marak commented May 24, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants