Comments (10)
Since client
is a local variable for the function, at function end, the destruct method for client will be called, which will close the connection (call client.stop())
from arduino-esp32.
Hi,
from point of view loop() you are right but the channel will be kept open
so after 3 loops (> MAXSOCKETS?) I get an connect fail in my case
BR
from arduino-esp32.
that is rather strange... it behaves fine when I try it here. What is the web server?
from arduino-esp32.
Apache Server with simple Index.html "It works" content
connecting to 192.168.10.22
Requesting URL: /index.html....................?private_key=....................&value=2
HTTP/1.1 200 OK
Date: Mon, 28 Nov 2016 12:36:47 GMT
Server: Apache/2.4.10 (Win32) OpenSSL/1.0.1i mod_jk/1.2.40 PHP/5.5.15
Last-Modified: Sat, 30 Mar 2013 11:29:00T
....
closing connection
from arduino-esp32.
Post your code? I'll try and duplicate.
from arduino-esp32.
i see openSSL there, you are not connecting to HTTPS correct?
from arduino-esp32.
@espuser you know what? You might be correct! Destruct was not closing the client. Could you please try the latest commit?
from arduino-esp32.
Hi,
the client runs without client.stop() now, but since You use the latest libs for WiFi from espressif I have the same problem as with the espressif/esp-idf toolchain, my esp32 NodeMCU cyclic reboots (about every 30 sec) or hangs
BR
from arduino-esp32.
There are lots of thing being worked on the network stack on IDF. Soon it will all be working :)
from arduino-esp32.
BTW pinMode time depends on which pin you apply it too. If it's an RTC pin, it's 2.6 us, if not it's 0.744us
from arduino-esp32.
Related Issues (20)
- Cookie jar can't work with session cookies
- Custom Partition in Board Configuration do not take FLASH Mode Size into account HOT 6
- Send UDP package to server, but server got UDP package with wrong size. HOT 3
- NimBLE support for ESP32-C6, H2 and future MCU's and why is Bluedroid still the default? HOT 1
- v3.0.0 detects / defaults to wrong XTAL frequency on ESP32-D0WDQ6-V3 - millis and UART baud are not correct HOT 10
- How to realize Chinese recognition of ESP-SR on ArduinoIDE HOT 13
- NetworkClient `localIP()` always returns `IPAddress(0,0,0,0)` HOT 1
- ESP32 Latest 3 series HOT 2
- Verify/Uplad throws error if username contains a special character HOT 3
- "Wrong Magic Byte" HTTP_Client_AES_OTA_Update HOT 4
- Query regarding esp-modbus. HOT 2
- Problem with the HA_temperature_sensor example - can't set a value which is shown in zigbee2mqtt HOT 1
- WiFi.setTxPower() always return +19.5dBm HOT 3
- HTTPClient should allow for setting own Accept-Encoding header HOT 2
- FlashMemory Address for EEPROM HOT 4
- Arduino 3.0.x doesn't work with RMT Legacy Driver HOT 19
- ESP32 WiFiScan: no networks found HOT 4
- BluetoothSerial::flush() takes too long HOT 2
- printf compile "expects argument of type 'int'" warnings on IDF_VER 5.1 HOT 2
- Log strings visible in firmware.bin even if the CORE_DEBUG_LEVEL is set to 0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-esp32.