Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Disabling cloud service?

Hello,

 

This is somewhat of a known issue in the emulator. The default client-id is the MAC address of the primary network interface. The services used to retrieve the MAC information is significantly different in the emulator as compared to Kura running on a physical device. In many cases, the emulator can’t determine the MAC of the primary interface, so you get the clientId error. There is a more general issue tracking this problem here [1]. It doesn’t affect the emulator, so it is more of an annoyance than anything.

 

Hope that helps.

 

[1] https://github.com/eclipse/kura/issues/823

 

Thanks,

--Dave

 

David Woodard | EUROTECH  | direct: +1 301.490.4007 x318

 

 

From: <kura-dev-bounces@xxxxxxxxxxx> on behalf of "Lewis, ScottX" <scottx.lewis@xxxxxxxxx>
Reply-To: Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Date: Thursday, August 10, 2017 at 10:20
To: Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Subject: Re: [kura-dev] Disabling cloud service?

 

Thanks Benjamin.

 

Turns out I was actually experiencing a different problem:   for some reason unknown to me, on the simulator (on ubuntu linux64) I get an exception:   'The configuration attribute clientId is required and no value has been set'.   I mistook the exception on startup as a connect error without looking closely enough.  

 

This is strange though because it says in the ui that if the client-id field is blank that some network address is used.   When I fill in the client-id field with an explicit value it goes away and so problem solved...but something must be going wrong with the auto client-id generation.

 

Scott

 


From: kura-dev-bounces@xxxxxxxxxxx [kura-dev-bounces@xxxxxxxxxxx] on behalf of Benjamin Cabé [benjamin.cabe@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, August 10, 2017 10:06 AM
To: Kura Developers mailing list
Subject: Re: [kura-dev] Disabling cloud service?

If you do not set the 'auto connect on startup' option of the DataService to true, your Kura instance should remain not connected to the broker unless you explicitly connect e.g in the UI.

 

Le 10 août 2017 18:36, "Lewis, ScottX" <scottx.lewis@xxxxxxxxx> a écrit :

Hi,

In Kura 2.1.0...

I would like to temporarily disable the Kura Cloud service....i.e. to prevent the MqttDataTransport from connecting to any broker at all.  I don't want to stop or remove the bundles...as they need to be there...but in some deployment situations I would like to prevent the MqttDataTransport from attempting to connect at all.

I went to the Cloud Services UI /MqttDataTransport tab, but the broker-url can't be empty (which is the thing that I tried).  Is there some other way to temporarily disable the MqttDataTransport on start?

Scott

_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev


Back to the top