S00001

Error Code

S00001

Error Message

1.The feature of publish is not enabled.

2.Can’t complete subscription because subscription is not enabled.

3.Can’t cancel subscription because subscription is not enabled.

Causes

Streaming is not enabled by default in DolphinDB. Related configuration parameters should be specified before you publish or (un)subscribe to the stream tables. Otherwise the error will be reported.

  • For Error Message 1, the number of the subscriber nodes that can be connected to the publisher is not specified.

  • For Error Message 2 or 3, the port listening on the subscription is not specified.

Solutions

  • For Error Message 1, specify configuration parameter maxPubConnections.

  • For Error Message 2 or 3, specify configuration parameter subPort.

For more information on configuration parameters, please see Standalone Mode.