gdbassett / moirai

1 stars 1 forks source link

Moriai Server still seems to reject some valid subscriptions #1

Closed gdbassett closed 11 years ago

gdbassett commented 11 years ago

Subscription is rejected when connecting from the abgraphsync client.

gdbassett commented 11 years ago

2013-03-05 17:08:48-0600 [PubSubServer1,23,127.0.0.1] client wants to subscribe to prefix http://informationsecurityanalytics.com/moirai/graph and suffix 1 2013-03-05 17:08:48-0600 [PubSubServer1,23,127.0.0.1] illegal topic - skipped su bscription 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] Allowed topics are [1] 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] Executing query START n=no de() RETURN n; 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] Results Received from quer y. Formatting now. 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] Returning Results. 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] Executing query START n=no de() MATCH n-[r]->m RETURN r, ID(n), ID(m); 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] Results Received from quer y. Formatting now. 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] Returning Results. 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] client wants to subscribe to prefix http://informationsecurityanalytics.com/moirai/graph and suffix 1 2013-03-05 17:09:17-0600 [PubSubServer1,24,127.0.0.1] illegal topic - skipped su bscription

gdbassett commented 11 years ago

Fixed. when parsing config file, llist of topicIds were being imported as a string, not a list. by using json.loads on the topic lists as they are imported in the config file and command line arguements, it is appropriately cast as a list.