Issue with connection on Watson IoT Out node on Raspberry Pi

0 votes
So, I'm using a Watson IoT Output (wiotp out) in a Node-RED flow on my Raspberry PI and I'm by its recurrent disconnection and then re-connection.

The connection is configured so that I can send messages to the cloud and successfully have them trigger a flow in my cloud Node-RED instance.

The main issue I'm faced with is when I attempt to send a string array as my payload. The items in my array make it through before the service disconnects. Since I'm limited to 3-5 strings at a time, I lose 195-197 of the 200 items I am trying to send.

Can anybody help my entire payload make it through to the IoT platform?
Dec 20, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,039 views

1 answer to this question.

0 votes

The frequent disconnects could be due to the fact that 2 MQTT clients are fighting over the same client ID,i.e, you're unknowingly performing clientId stealing.

You should probably start with the NodeRed console on the raspberry and check what logs do say about the disconnections

You can go to device connection logs in the device drill down panel to get a confirmation on this. You might see something in the lines of "The client ID was reused".

answered Dec 20, 2018 by Shubham
• 13,490 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer

Firewall issue with Webserver in UWP on Raspberry Pi 3

Here's what could be happenning: You port hasn't ...READ MORE

answered Oct 12, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,147 views
0 votes
1 answer
0 votes
1 answer

Refactoring multi thread program on raspberry pi with sensors

Before re-engineering your application, you should narrow ...READ MORE

answered Sep 11, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,900 views
0 votes
1 answer

CLI for Watson IBM IoT service in Bluemix

Programmatically register devices using bulk/devices operations. https://docs.internetofthings.ibmcloud.com/swagger/v0002.html#!/Bulk_Operations/post_bulk_devices_add Here's ...READ MORE

answered Nov 23, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
855 views
0 votes
1 answer

I cannot retrieve data from historian in Bluemix Watson IoT Platform

You're partially right! Earlier this month, the "built-in" ...READ MORE

answered Jan 11, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
1,192 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Windows IoT on Raspberry Pi Unique Identifier

Try getting the MAC address of your network. var ...READ MORE

answered Mar 8, 2019 in IoT (Internet of Things) by Shubham
• 13,490 points
1,096 views
0 votes
1 answer

Best Practices on AWS IoT

I would recommend you use Case 2 ...READ MORE

answered Dec 26, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
1,546 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP