Problem with autosubscribe

+1 vote


I have three nodes running on a chain.

Now I discovered, that one of the nodes can not write to streams.

I get the error message: "code":-5,"message":"Not subscribed to this stream"}

But when I do a: ps aux I see that the node is started with command:

multichaind MyChain -daemon -server -autosubscribe=streams -txindex

So this seems ok?

When I query the streams:

multichain-cli MyChain liststreams

I get back the list of streams, and all but the root stream show the property:

"subscribed": false


I have also tried to stop and restart the node, but still not subscribed.

asked Apr 7, 2017 by Alexoid

1 Answer

0 votes
Best answer
Triggering a reindex worked for me.
answered Apr 7, 2017 by Alexoid
The autosubscribe parameter controls what happens to new streams (or assets) when they are created. It doesn't retroactively subscribe to existing ones.