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

Issue when self-hosting #94

Closed
nicola opened this issue Nov 1, 2017 · 2 comments
Closed

Issue when self-hosting #94

nicola opened this issue Nov 1, 2017 · 2 comments

Comments

@nicola
Copy link
Contributor

nicola commented Nov 1, 2017

I am self-hosting peerpad on http://nicola.io/peerpad

However, two different windows don't sync on each other, I guess they fail to create a keypair?

Uncaught TypeError: Cannot read property 'generateKey' of undefined
    at Object.exports.generateKey (rsa-browser.js:10)
    at Object.generateKeyPair (rsa-class.js:112)
    at Object.exports.generateKeyPair (index.js:33)
    at waterfall (index.js:137)
    at nextTask (waterfall.js:16)
    at exports.default (waterfall.js:26)
    at Function.exports.create (index.js:136)
    at waterfall (init.js:52)
    at nextTask (waterfall.js:16)
    at next (waterfall.js:23)
@nicola
Copy link
Contributor Author

nicola commented Nov 1, 2017

seems like that the error is the same as this one: ipfs/js-ipfs#964 (comment) and libp2p/js-libp2p-crypto#105

@nicola
Copy link
Contributor Author

nicola commented Nov 1, 2017

Use localhost or HTTPS

@nicola nicola closed this as completed Nov 1, 2017
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