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

Error: bad endpoint #119

Closed
bjorntheart opened this issue Jan 22, 2015 · 6 comments
Closed

Error: bad endpoint #119

bjorntheart opened this issue Jan 22, 2015 · 6 comments

Comments

@bjorntheart
Copy link

I run the command hook app:new my-app --endpoint http://localhost:4665 as suggested in the documentation and get the following error

...
Error: bad endpoint.
Please check if it is accessible: http://localhost:4665/```

I am running this on Mac osx
@endel
Copy link
Contributor

endel commented Jan 22, 2015

Hi @bjorntheart, you need to have the server running locally:

cd path/to/hook/
hook server

By default it will listen on port 4665.

@bjorntheart
Copy link
Author

Hi @endel

Thanks that worked! But now I get {"error":"Invalid credentials."}

@endel
Copy link
Contributor

endel commented Jan 22, 2015

@bjorntheart This is an expected error when no application key is provided. The server is running properly.

Now you can run hook app:new myapp command, and use the browser key on JavaScript client, if you're using JavaScript, of course. :)

Please let me know if you find any other problem. We're working on better documentation for getting started.

@bjorntheart
Copy link
Author

@endel Thanks so much for your help

@endel endel closed this as completed Jan 22, 2015
@hugooliveirad
Copy link

@endel Let me know if you need any help with the docs. I saw some rooms for improvement.

@santoshgistto
Copy link

@endel getting this error

{"error":"Your IP Address is not allowed to perform this operation."}

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

4 participants