I’m running into issues with the TCPClient. I have some code that monitors a switch, when the switch is pressed, I connect to a local server, create a HTTP Request, read the answer and then close the connection.
By default this works for the first 10-20 times, but after a while the core hangs ( probably in connect() ).
I’ve seen others having this issue as well.
I’ve found a workaround though and that is calling
but not connecting to the Spark cloud. As long as I don’t connect to the Spark cloud everything works fine. As soon as I connect, I get the hangs again.
For now I just don’t connect to the cloud and I’ve put in a button combination to connect to the cloud so I can still flash via the WebUI when I need to.
Hope this helps someone,