• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apt-get related issue
#6
Well you are running into the same issue as the user Tad in this post https://forum.hilscher.com/thread-269.html.

I see in your log file that mosquitto be default is using a default mosquitto.conf file. But in this default mosquitto.conf file "anonymus logins" as Node-Red is performing it is disabled by default as explained in the very official mosquitto container documentation here https://mosquitto.org/documentation/migrating-to-2-0/

So either
a.) you create your own corrected mosquitto.conf file and map it into the container during container start
b.) you post edit the default mosquitto.conf file now in your started container manually using netPI container console mode and edit the file in the container's folder /mosquitto/mosquitto.conf with a text ediutor like "vi"

In both cases a.) and b.) the *.conf file has to contain the two lines 


Code:
listener 1883
allow_anonymous true

After editing the *.conf file restart the container and your mosquitto container is running find and accept anonymous logins of Node-RED.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Apt-get related issue - by DSongra - January-3rd-2022, 11:42 AM
RE: Apt-get related issue - by Armin@netPI - January-3rd-2022, 11:51 AM
RE: Apt-get related issue - by Armin@netPI - January-3rd-2022, 11:53 AM
RE: Apt-get related issue - by Armin@netPI - January-3rd-2022, 11:55 AM
RE: Apt-get related issue - by DSongra - January-3rd-2022, 12:32 PM
RE: Apt-get related issue - by Armin@netPI - January-3rd-2022, 12:42 PM
RE: Apt-get related issue - by DSongra - January-3rd-2022, 12:52 PM
RE: Apt-get related issue - by Armin@netPI - January-3rd-2022, 12:55 PM
RE: Apt-get related issue - by DSongra - January-3rd-2022, 01:27 PM
RE: Apt-get related issue - by Armin@netPI - January-3rd-2022, 01:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)