Search found 2 matches
- Wed Aug 29, 2018 2:14 am
- Forum: ESP32 Arduino
- Topic: sending data in httpclient.Post() crashes esp32
- Replies: 1
- Views: 4721
Re: sending data in httpclient.Post() crashes esp32
Turns out it was my flask server. since I was running it in debug mode on the werkzeug wsgi server. The connection reset issue was coming from the server. turns out there is a well known 'Connection reset by peer' problem in python. once I switched to a production server like waitress(windows)/gunic...
- Sun Aug 26, 2018 10:43 pm
- Forum: ESP32 Arduino
- Topic: sending data in httpclient.Post() crashes esp32
- Replies: 1
- Views: 4721
sending data in httpclient.Post() crashes esp32
this code is probably missing variable declarations String server_address; bool is_config = false; const byte interruptPin = 27; volatile int interruptCounter = 0; int numberOfInterrupts = 0; portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED; void IRAM_ATTR handleInterrupt() { static unsigned long las...