-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Groups are not supported error when creating a new node deterministically #1946
Comments
Is the schema of the options I'm providing not correct? |
@jacobheun @vasco-santos @vmx do you have any bandwidth to look into this issue? It looks like a libp2p issue here but a ipld issue here: https://discuss.ipfs.io/t/using-jsipfs-pin-add/5044 |
Not sure if this is relevant mafintosh/protocol-buffers#38 |
@jacobheun @vasco-santos It would be cool if you could have a look and ping me when it comes to IPLD? If you don't have the time, let me know an I'll try to see what I can do. |
The issue is that the privateKey is not supported/correct. @rmisio how did you generate the private key you're using? This is likely due to libp2p/js-peer-id#82. There's some discussion at libp2p/js-libp2p#229 (comment) around how to create and print out a workaround if you need to reuse your own private key |
@jacobheun hmm... it's the same code I'm using from a project I worked on two month back. Then it worked without issue. Has something changed regarding the private key format? Anyhow, this is how I'm generating the key:
|
ok, interesting, if I change the private key in the identityKeyFromSeed method to I think I switched to Anyhow, looks like it's working for now and not using the "private" property seems safer. I'll re-comment if I discover any issue. |
Version: 0.34.4
Platform: OSX
Browse: Chrome
When I try to create a new IPFS node with a specific peerId, I get a "Groups not supported" error.
Here's how I'm creating the node:
The
ready
handler never fires and the error comes through via theerror
handler.The text was updated successfully, but these errors were encountered: