Error 66 is being sent by client connect vi in labview
zombae98 opened this issue · 7 comments
Hi i am using MQTT to publish data onto systemlink cloud. I am using a esp32(publisher), raspberry pi(broker and susbsciber), mosquitto mqtt broker. I am successful in getting the data from the esp32 to the broker but i am having trouble configuring the raspberry pi in LabVIEW to get the data from the mosquitto as a subscriber. I keep on getting error 63 and error 66 when i try and connect to the broker. I am using the MQTT VI available on the VIPM. I have used localhost and the ip address as my TCP connect configuration to connect to the server, i am also passing the username and password as a cluster in the connect to server VI. I am also running LV 2021 CE and makerhub to connect and deploy my application.
you can refer to the NI forum Post where I have posted the issue https://forums.ni.com/t5/LabVIEW/MQTT-Labview/m-p/4288140#M1251469
Error 66 is a response that means "Socket has been closed by the peer". It can be the result of a protocol violation, failure to identify, incorrect connection flags, etc.
If you think this is not a normal response, can you share details about the issue? And if possible, with example code.
Error 66 is a response that means "Socket has been closed by the peer". It can be the result of a protocol violation, failure to identify, incorrect connection flags, etc.
If you think this is not a normal response, can you share details about the issue? And if possible, with example code.
I am using the default drop in simple connection VI
Glad it worked out.