Page 1 of 1

QIot + ESP - Error MQTT client connection failed, rc=-4

Posted: Wed Nov 14, 2018 6:12 am
by icapelli
I writing ESP code using your guide to connect ESP and display DHT data but always never connect

Can you help me

Re: QIot + ESP - Error MQTT client connection failed, rc=-4

Posted: Wed Nov 14, 2018 10:57 am
by OneCD
Hi and welcome to the forum. :)

I'm not sure what you're asking about. Are you setting-up something like this? https://thingsboard.io/docs/samples/esp ... mperature/

Is this the guide you mentioned? https://www.qnap.com/en/how-to/tutorial ... suite-lite

Re: QIot + ESP - Error MQTT client connection failed, rc=-4

Posted: Thu Nov 15, 2018 5:56 pm
by icapelli
OneCD wrote:
Wed Nov 14, 2018 10:57 am
Hi and welcome to the forum. :)

I'm not sure what you're asking about. Are you setting-up something like this? https://thingsboard.io/docs/samples/esp ... mperature/

Is this the guide you mentioned? https://www.qnap.com/en/how-to/tutorial ... suite-lite
Hi,
i use this guide https://www.qnap.com/en/how-to/tutorial ... suite-lite. When ESP8266 try to connect to QIoS return error code -4 (timeout)

Re: QIot + ESP - Error MQTT client connection failed, rc=-4

Posted: Tue Dec 04, 2018 6:55 pm
by timhsu
Hi icapelli,

Can you help check if your NAS IP has ever changed?
If you have changed your IP, go to "Setting page > Administrative Settings" renew your IP Address.
And edit your code to new IP addriss.

Thank you.
icapelli wrote:
Thu Nov 15, 2018 5:56 pm
OneCD wrote:
Wed Nov 14, 2018 10:57 am
Hi and welcome to the forum. :)

I'm not sure what you're asking about. Are you setting-up something like this? https://thingsboard.io/docs/samples/esp ... mperature/

Is this the guide you mentioned? https://www.qnap.com/en/how-to/tutorial ... suite-lite
Hi,
i use this guide https://www.qnap.com/en/how-to/tutorial ... suite-lite. When ESP8266 try to connect to QIoS return error code -4 (timeout)