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

fails to run if no ssl keys and certificates #21

Open
gb96 opened this issue Jul 6, 2012 · 0 comments
Open

fails to run if no ssl keys and certificates #21

gb96 opened this issue Jul 6, 2012 · 0 comments

Comments

@gb96
Copy link
Contributor

gb96 commented Jul 6, 2012

The proxy should still run without https (ssl) support if no ssl.key is available.

node proxy.js

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: ENOENT, no such file or directory 'D:\path\to\ssl.key'
    at Object.openSync (fs.js:230:18)
    at Object.readFileSync (fs.js:120:15)
    at Object.<anonymous> (D:\pkrumins-nodejs-proxy\config.js:21:22)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (D:\pkrumins-nodejs-proxy\proxy.js:13:14)
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