Issue when creating streams

+1 vote

Hi everybody.

I'm running through the setup and install guides just to get a feel for Multichain, however I'm running into an issue when trying to create a stream.

Note: I've created my chain on 2 x docker ubuntu servers using the instructions here:

https://medium.com/@kiran.anantha/running-multichain-in-docker-containers-8ec30ea866a0#.ooly9why2

paired with the getting started instructions here:

http://www.multichain.com/getting-started/

Everything is fine up until step 6 of the getting started instructions.

From within the first server I try the command: "multichain-cli create type=stream stream1 false" - but get a return of "error: couldn't connect to server".

I've looked at other issues relating to "error: couldn't connect to server" but not sure I know enough yet to work out the relevance of those issues to mine.

Is there something I'm doing wrong? Is there something in the guide that needs to be updated?

asked Mar 6, 2017 by Robodashy
Also running through the "working with raw transactions" article, and am still encountering an issue.

While working on the chain trying to create the stream, I get

chain1: grant 1Y8KFmhyiBnQ1vG6dkky4T9oQpvAGyWSoXP5RG create
{"method":"grant","params":["notsharingthis","create"],"id":1,"chain_name":"chain1"}

error code: -5
error message:
Invalid permission

Has this permission been deprecated? If so, what has it been replaced with?

1 Answer

0 votes

To answer both issues:

You omitted the blockchain name when issuing the command to create the stream, and you need to pass stream rather than type=stream in the parameter.

If create is being reported as an unknown permission type, you're probably using quite an old version of MultiChain. Please try downloading the latest one.

answered Mar 7, 2017 by MultiChain
...