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

Problems with node and Error.Forbidden #51

Open
wrathchylde opened this issue Mar 11, 2015 · 1 comment
Open

Problems with node and Error.Forbidden #51

wrathchylde opened this issue Mar 11, 2015 · 1 comment

Comments

@wrathchylde
Copy link

Hello,

I have migrated a known working instance of kibana-authentication-proxy between similar Ubuntu systems on EC2, and on the new host when I try to start node with app.js I get the following error accessing the port. Can you advise me please I'm having trouble finding resources.

Error: Forbidden
at SendStream.error (/mnt/apps/kibana-authentication-proxy/node_modules/express/node_modules/send/index.js:239:16)
at SendStream.pipe (/mnt/apps/kibana-authentication-proxy/node_modules/express/node_modules/send/index.js:425:19)
at Object.serveStatic as handle
at next (/mnt/apps/kibana-authentication-proxy/node_modules/express/node_modules/connect/lib/proto.js:169:15)
at Object.compression as handle
at next (/mnt/apps/kibana-authentication-proxy/node_modules/express/node_modules/connect/lib/proto.js:169:15)
at pass (/mnt/apps/kibana-authentication-proxy/node_modules/express/lib/router/index.js:110:24)
at Router._dispatch (/mnt/apps/kibana-authentication-proxy/node_modules/express/lib/router/index.js:173:5)
at Object.router as handle
at next (/mnt/apps/kibana-authentication-proxy/node_modules/express/node_modules/connect/lib/proto.js:169:15)

@wrathchylde
Copy link
Author

I found the problem on my own. Unlike before where the answer was to issue npm update and install, in this case it was to actually remove the npm version and use the apt-get version first. Now, it's working. Thank you.

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

1 participant