• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node-Red MQTT with SSL/TLS can't connect to broker
#5
Yes if you use the "hilschernetpi/netpi-nodered-fieldbus" image as it comes and you have no HAT on your Rpi it will indeed report this error.

You could start the container differently on your Rpi with different parameters in order not to start the default script file which is looking for netPI or HAT:

docker run -it -p 1880:1880 -p 9000:9000 --device=/dev/spidev0.0 -e "FIELD=pns"--restart=always --network=host --entrypoint=/bin/bash hilschernetpi/netpi-nodered-fieldbus

Use this command line above to jump into the container and suppress starting the default start script file. No error will arise then.

After the container is now started, then please enter the command node-red which starts now node-red manually. There will be some warnings that can be ignored, node-red will start anyway and also the MQTT node can be used.

By this procedure you can use the fieldbus container and test MQTT. Of course the fieldbus node cannot be used in this constellation but this is not matter of this topic. You just want to test MQTT connectivity, right?

Thanks











You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by BFH_SAM2 - May-15th-2018, 06:15 AM
Answer - by Armin@netPI - May-15th-2018, 01:45 PM
Answer - by Armin@netPI - May-15th-2018, 02:55 PM
Answer - by BFH_SAM2 - May-18th-2018, 07:17 AM
Answer - by Armin@netPI - May-18th-2018, 08:45 AM
Answer - by BFH_SAM2 - May-18th-2018, 08:46 AM
Answer - by Armin@netPI - May-18th-2018, 08:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Node Red configuration LucioFiam 3 1,823 November-30th-2022, 05:14 PM
Last Post: Armin@netPI
  secure node-red with a username and password Christian_Rau 3 3,052 December-3rd-2021, 11:06 AM
Last Post: Armin@netPI
  cifx0 and Node-Red fabio1975 5 3,316 November-22nd-2021, 01:13 PM
Last Post: Armin@netPI
  Node red web UI issue DSongra 3 3,311 July-22nd-2021, 02:47 PM
Last Post: Armin@netPI
  Node-RED 'projects' possible on netPI? JG_KIT 2 2,447 July-20th-2021, 01:11 PM
Last Post: JG_KIT
  Node-RED: OpcUa Client node tad 4 4,632 June-9th-2021, 08:51 AM
Last Post: tad
  Mosquitto MQTT Broker Armin@netPI 8 5,611 March-3rd-2021, 11:57 AM
Last Post: tad
  MQTT test DSongra 12 7,897 October-20th-2020, 08:20 AM
Last Post: Armin@netPI
  Accessing a modbus device connected to RTE port from Node-RED tad 10 8,303 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  5 x NL 50-Mpi and Node Red like colector data? Jotarod 4 4,084 September-14th-2020, 01:59 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)