Search found 4 matches

by nandishre
Sat Apr 20, 2024 12:21 pm
Forum: General Discussion
Topic: ESP32 websocket client fails after 1 hour with multiple errors
Replies: 4
Views: 2367

Re: ESP32 websocket client fails after 1 hour with multiple errors

little more specific , after we send data to websockt after some time get below error <ESC>[0m<CR><LF> <ESC>[0;31mE (6336342) transport_base: tcp_write error, errno=No more processes<ESC>[0m<CR><LF> < ESC>[0;31mE (6336342) transport_ws: Error write header<ESC>[0m<CR><LF> <ESC>[0;31mE (6336342) webso...
by nandishre
Sat Apr 20, 2024 11:55 am
Forum: General Discussion
Topic: ESP32 websocket client fails after 1 hour with multiple errors
Replies: 4
Views: 2367

Re: ESP32 websocket client fails after 1 hour with multiple errors

esp_websocket_client_send_text(_socket, databuff, strlen(databuff), portMAX_DELAY); i use this line of code to transmit data , as databuff is local variable with fixed length of 1024. but i see memory exhaust issue is coming from internal stack. but i dont know how to clear the buffer in this context
by nandishre
Thu Apr 18, 2024 1:32 am
Forum: General Discussion
Topic: ESP32 websocket client fails after 1 hour with multiple errors
Replies: 4
Views: 2367

ESP32 websocket client fails after 1 hour with multiple errors

presently i am using ESP32 wroom and working on esp32 websockt client, till one hour module is stable , after an hpur websocket fails but some time says socket disconnected and if try to reconnect it says, <ESC>[0;31mE (6356662) transport_base: tcp_write error, errno=No more processes<ESC>[0m<CR><LF...
by nandishre
Tue Apr 16, 2024 8:16 am
Forum: ESP-IDF
Topic: Logging stops working after i2c_new_master_bus()
Replies: 2
Views: 8021

Re: Logging stops working after i2c_new_master_bus()

i am using esp32 devkit, esp-idf , sdk=v5.2.1 , i too face similar issue, some times if i disable printf/esp_log it will work but some times not.
if i disable I2C it works fine, dont know what is the issue, need some solutions as no where seen any solutions for this issue