• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. saturn
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Groups 0

    saturn

    @saturn

    0
    Reputation
    94
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    saturn Unfollow Follow

    Latest posts made by saturn

    • RE: Client does not have read permissions

      @jkandasa
      With

      house-out/#, house-in/#
      

      I get

      Client does not have read permissions on the topic CId=house-1, username=house, messageId=2, topic=house-in/+/+/+/+/+```
      posted in General Discussion
      S
      saturn
    • RE: Client does not have read permissions

      May be I misunderstand you.
      I think you mean that, I should use

      +
      

      instead of

      \w+
      

      and

      #
      

      instead of

      .*
      

      in role's settings.
      But my problems with read permissions was resolved only when I add

      house-out/.*, house-in/.*
      

      to the role's settings.
      Thank you for your help.

      posted in General Discussion
      S
      saturn
    • RE: Client does not have read permissions

      When I use only "house-in/#, house-out/#" in "Topics publish" and "Topics subscribe" I get the same error:

      ERROR [nioEventLoopGroup-8-10] [io.moquette.spi.impl.ProtocolProcessor:851] Client does not have read permissions on the topic CId=house-1, username=house, messageId=2, topic=house-in/+/+/+/+/+
      

      I want to control MySensors network by sending data to the "house-in" and get statistic and status information from "house-out".

      posted in General Discussion
      S
      saturn
    • RE: Client does not have read permissions

      I have got error again:

      2018-05-30 00:14:40,149 ERROR [nioEventLoopGroup-8-10] [io.moquette.spi.impl.ProtocolProcessor:851] Client does not have read permissions on the topic CId=house-1, username=house, messageId=2, topic=house-in/+/+/+/+/+
      

      My options not help:
      Topics publish

      house-in, house-in/#, house-in/+/+/+/+/+, house-in/\w+/\w+/\w+/\w+/\w+, house-out/+/+/+/+/+, house-out/\w+/\w+/\w+/\w+/\w+
      

      Topics subscribe

      house-out, house-out/#, house-out/+/+/+/+/+, house-out/\w+/\w+/\w+/\w+/\w+, house-in/+/+/+/+/+, house-in/\w+/\w+/\w+/\w+/\w+
      

      What I do wrong again?

      posted in General Discussion
      S
      saturn
    • RE: Client does not have read permissions

      Thank you.
      It's working now.
      Is it posible to use mask or regexp for topics in the role?

      posted in General Discussion
      S
      saturn
    • Client does not have read permissions

      Hello.
      I have created the role "mqtt" as at attached screenshot.
      User "house" is the member or the "mqtt" role.
      I have created the gateway "House" with settings as at attached screenshot.
      When I try to enable this gateway, I get the following in the log:

      2018-05-24 15:23:41,517 ERROR [nioEventLoopGroup-3-12] [io.moquette.spi.impl.ProtocolProcessor:851] Client does not have read permissions on the topic CId=house-mqtt-client_44gNx, username=house, messageId=1, topic=house-out/#
      

      What's my mistake?
      1_1527168004512_gateway.png 0_1527168004511_role.png

      posted in General Discussion
      S
      saturn