• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

mqtt not connecting, tcpip

Q&A Forum › Category: Home Automation › mqtt not connecting, tcpip
0 Vote Up Vote Down
GARLAND asked 5 months ago

here is the error I am getting: when MQTT does not load:

assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!)

This is using the sketch in Module 5, page 164 of “Smart Home” version 1.5.  I found the solution you wrote on replacing  “Async TCP” and “ESPAsyncWebServer”, but that did not work, Is there Something else I can do?
 
Garland Sparks
 

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 months ago

Hi.
Here’s the solution: https://rntlab.com/question/solvedassert-failed-tcp_alloc-idf-components-lwip-lwip-src-core-tcp-c1851-required-to-lock-tcpip-core-functionality/
Let me know if you can solve it.

 

Make sure you’re using the download links and not installing through the library manager. Also make sure you’ve deleted all files related to previous versions of the libraries.

 

And update the ESP32 (Tools > Boards > Boards Manager > ESP32 ) to the lates version.

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.