hi,
iam usig esp32 and esp idf 4.3 Framework .
is it possible to run using 2 task an MQTT client (port 8883) to publish data and have web page at same time .
for now each task work well separately. But i got error when i try to run both task at same code.
like :
E (385828) TRANS_TCP: tcp_poll_read select error 113, errno = Software caused connection abort, fd = 57
E (385848) MQTT_CLIENT: Poll read error: 119, aborting connection.
W (385848) httpd: httpd_accept_conn: error in accept (128).
E (395888) TRANS_TCP: [sock=54] connect() error: Host is unreachable
E (395888) MQTT_CLIENT: Error transport connect
Simultaneous MQTT and HTTP server
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Simultaneous MQTT and HTTP server
Yes, that should work fine (I have it working here). Can you post the code that leads to the issue?
Re: Simultaneous MQTT and HTTP server
If you can then run mqtt broker in verbose mode while you observe the problem.
IT Professional, Maker
Santiago, Dominican Republic
Santiago, Dominican Republic
Re: Simultaneous MQTT and HTTP server
Memory shortage for SSL connection?
Who is online
Users browsing this forum: No registered users and 124 guests