GOOD AFTERNOON, I AM TRYING TO MAKE A CONNECTION WITH MQTT ENGINE, BUT ITS STATUS APPEARS NOT CONNECTED AND I JUST FILLED IN THE NAME, HOST AND PORT DATA AND SAID SAVE AND I DON'T KNOW WHAT ELSE TO DO TO MAKE IT APPEAR CONNECTED. THANK YOU
If it's not connecting, check your logs and see why it's not connecting. You many need a username and password, but without knowing your setup, I don't know what else to tell you besides check your logs.
I HAVE ALREADY INVESTIGATED EVERYWHERE, IT ONLY SAYS WHAT I FILLED IN, I DON'T SEE HOW I CAN FIND OUT WHY IT DOESN'T CONNECT? I ALSO TRIED PUTTING LOCALHOST:1883 AND IT DID NOT WORK EITHER.
WHY ARE WE SHOUTING??
I'm sorry, it's my cell phone
There should be log entries related to the connection failures. Find them in the gateway status pages' Logs page.
Also:
-
Are you sure your broker is running?
-
Are you sure there's no firewall between your gateway and your broker?
-
You mention trying localhost--that would only apply if you are running the broker in the same system as the Gateway, perhaps the Distrubutor module. What is your architecture?
Are you sure the engine is enabled? There's a separate enable checkbox on the general tab that also needs to be checked.
If your Ignition server has a GUI like Windows, try using an MQTT test client like MQTT Explorer to try to connect to the broker separately from Ignition.
What broker are you using? Mosquito? MQTT distributor module? Chariot? EMQx? Something else?