Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kapua-dev] Can not manage the Kura f and get published data from Kura!

Hi, 
may you set a wrong account name in the Kura console.
The broker, once you connect a device with a user with broker_connect rights, allows the device to publish only into its “namespace” so account_name/client-id/something.
From the log you posted I’m supposing you set, in Kura configuration panel, a wrong account name (hahaha instead of kapua-sys may be).
Could you check if the account you are using to connect to kapua is the same set in the Kura console?

Regards,

Riccardo


> Il giorno 21 lug 2017, alle ore 11:13, sxlyq@xxxxxxxx ha scritto:
> 
>  Hi, everyone
> :
>    I have installed Kura 3.0 on Raspberry Pi 3.0 B Model, and Kapua on Docker running on Windows 10.  Now I have set the broker url  tcp://localhost:1883 to connect the kura with kapua. And the Kura admin Web UI showed the CloudService had connected successfully.
> In the Kura.log file , I can see the kura had published the DHT11 sensor data to kapua, I also get the data from the Kapua-broker console
> , These pheoneman showed their communication is ok, But  in the Kapua-broker i also get the following messages  and the kapua did not display the connected devices and i can not manage the device. Therefore ,I can not see the topic published by kura.
> 
> WARN o.e.k.b.c.p.KapuaSecurityBrokerFilter - User 1:kapua-broker (kapua-broker - tcp://10.0.2.2:56178 - conn id is not authorized to write to: topic://VirtualTopic.hahaha.kapua 1840321435420579455)-broker.DHT11Sensor.DHT11Data 13:26:43.493
> [ActiveMQ NIO Worker 5] WARN o.a.a.b.TransportConnection.Service - Security Error occurred on connection to: tcp://10.0.2.2:56178, User 1:kapua-broker (kapua-broker - tcp://10.0.2.2:56178 - conn id 1840321435420579455) is not authorized to write to: topic://VirtualTopic.hahaha.kapua-broker.DHT11Sensor.DHT11Data 13:26:43.493 [ActiveMQ NIO Worker 5] WARN o.a.a.t.mqtt.MQTTProtocolConverter - Failed to send MQTT Publish: 13:26:48.495 [ActiveMQ NIO Worker 6] WARN o.e.k.b.c.p.KapuaSecurityBrokerFilter - User 1:kapua-broker (kapua-broker - tcp://10.0.2.2:56178 - conn id 1840321435420579455) is not authorized to write
> 
> Would you like to give me some advices ? thx
> 
> Best Regards
> sxlyq
> 
> _______________________________________________
> kapua-dev mailing list
> kapua-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/kapua-dev


Back to the top