Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kura-Kapua Connect Failed #3533

Open
rohithmuthyala opened this issue Mar 22, 2022 · 0 comments
Open

Kura-Kapua Connect Failed #3533

rohithmuthyala opened this issue Mar 22, 2022 · 0 comments

Comments

@rohithmuthyala
Copy link

I am trying to setup sensors-raspberry pi-mosquito-kura -kapua-grafana to collect and visualize agriculture related data ,however i am unable to connect kura to kapua ,i have followed all th steps mentioned here - https://github.com/eclipse/kapua/pull/780/files but the error im getting is "connection failed.unable to connect.please check your configuration and try again"

Warning
Failed to connect! Please review your configuration and try again later.
Show Stack Trace
Unknown.lh(denali-0.js)
Unknown.new Huc(denali-0.js)
Unknown.Muc(denali-0.js)
Unknown.Qeb(denali-0.js)
Unknown.Meb(denali-0.js)
Unknown.jdb(denali-0.js)
Unknown.Sdb(denali-0.js)
Unknown.es(denali-0.js)
Unknown.rs(denali-0.js)
Unknown.eval(denali-0.js)
Unknown.Wh(denali-0.js)
Unknown.Zh(denali-0.js)
Unknown.eval(denali-0.js)

I have check my logs on kura, heres what it says:

2022-03-22T09:44:49,575 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.DataServiceImpl - Connecting...
2022-03-22T09:44:49,575 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - Creating a new client instance
2022-03-22T09:44:49,575 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - Using memory persistence for in-flight messages
2022-03-22T09:44:49,577 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # ------------------------------------------------------------
2022-03-22T09:44:49,577 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # Connection Properties
2022-03-22T09:44:49,577 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # broker = tcp://192.168.1.192:1883
2022-03-22T09:44:49,578 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # clientId = zepto
2022-03-22T09:44:49,578 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # username = User123
2022-03-22T09:44:49,578 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # password = XXXXXXXXXXXXXX
2022-03-22T09:44:49,578 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # keepAlive = 30
2022-03-22T09:44:49,579 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # timeout = 10
2022-03-22T09:44:49,579 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # cleanSession = true
2022-03-22T09:44:49,579 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # MQTT version = 3.1.1
2022-03-22T09:44:49,579 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # willDestination = $EDC/Account123/zepto/MQTT/LWT
2022-03-22T09:44:49,580 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # willMessage =
2022-03-22T09:44:49,580 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - #
2022-03-22T09:44:49,580 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - # Connecting...
2022-03-22T09:44:49,581 [pool-15-thread-1] INFO o.e.k.c.s.r.LogStatusRunnable - Notification LED fast blinking
2022-03-22T09:44:50,665 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] WARN o.e.k.c.d.t.m.MqttDataTransport - xxxxx Connect failed. Forcing disconnect. xxxxx
2022-03-22T09:44:50,666 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - Forcing client disconnect...
2022-03-22T09:44:55,800 [WifiMonitor Thread] WARN o.e.k.n.a.m.WifiInterfaceState - setWifiLinkState() :: !! Link is down for the wlan0 interface. isSupplicantRunning? false isIfaceInManagedMode? true
2022-03-22T09:44:55,821 [iwScanThread] INFO o.e.k.l.n.u.iwScanTool - scan() :: executing: iw dev wlan0 scan
2022-03-22T09:44:59,487 [iwScanThread] INFO o.e.k.l.n.u.iwScanTool - scan() :: iw dev wlan0 scan command returns status=0
2022-03-22T09:44:59,822 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: the 'iw scan' command executed successfully, parsing output ...
2022-03-22T09:44:59,826 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: destroing scan proccess ...
2022-03-22T09:44:59,826 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: Terminating iwScanThread ...
2022-03-22T09:44:59,827 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: 'iw scan' thread terminated? - true
2022-03-22T09:44:59,827 [WifiMonitor Thread] WARN o.e.k.n.a.m.WifiMonitorServiceImpl - monitor() :: - access point is not available
2022-03-22T09:45:09,952 [WifiMonitor Thread] WARN o.e.k.n.a.m.WifiInterfaceState - setWifiLinkState() :: !! Link is down for the wlan0 interface. isSupplicantRunning? false isIfaceInManagedMode? true
2022-03-22T09:45:09,965 [iwScanThread] INFO o.e.k.l.n.u.iwScanTool - scan() :: executing: iw dev wlan0 scan
2022-03-22T09:45:13,635 [iwScanThread] INFO o.e.k.l.n.u.iwScanTool - scan() :: iw dev wlan0 scan command returns status=0
2022-03-22T09:45:13,966 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: the 'iw scan' command executed successfully, parsing output ...
2022-03-22T09:45:13,971 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: destroing scan proccess ...
2022-03-22T09:45:13,971 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: Terminating iwScanThread ...
2022-03-22T09:45:13,972 [WifiMonitor Thread] INFO o.e.k.l.n.u.iwScanTool - scan() :: 'iw scan' thread terminated? - true
2022-03-22T09:45:13,972 [WifiMonitor Thread] WARN o.e.k.n.a.m.WifiMonitorServiceImpl - monitor() :: - access point is not available
2022-03-22T09:45:20,670 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - Closing client...
2022-03-22T09:45:20,671 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] INFO o.e.k.c.d.t.m.MqttDataTransport - Closed
2022-03-22T09:45:20,671 [pool-15-thread-1] INFO o.e.k.c.s.r.LogStatusRunnable - Notification LED off
2022-03-22T09:45:20,671 [DataServiceImpl:ReconnectTask:org.eclipse.kura.data.DataService-Kapua] WARN o.e.k.c.d.DataServiceImpl - Connect failed
org.eclipse.kura.KuraConnectException: "Connection failed. Cannot connect"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant