Closed 8bitkick closed 5 years ago
@Rocketct we should also look at making sure the WiFiNINA WiFiClient behaves the same as the WiFi101 one and closes the old socket in connect.
hi @8bitkick, the PR https://github.com/arduino-libraries/WiFiNINA/pull/41 should resolve this issue, could you test and let us know if work?
Following examples to do HTTPS POST every 15s, works fine for initial requests but eventually returns "No Socket Found"
Fixed by adding an
httpClient.stop()
after request as suggested by @sandeepmistry in other comments.Might worth adding this to the examples (e.g. SimpleGet.ino, SimplePost.ino).