I’m having some trouble with this library. Curious if others have as well. It keeps putting my Photon into “flashing red” (hard fault) state. Originally I thought it was a problem with my code, but I built the “glowfish-post-test” app, with no changes other than inserting my credentials, and it also puts the Photon into a hard fault.
With the glowfish-post-test, the last lines of the trace are:
HttpClient> Done before full len 0 HttpClient> Done before full len 0 Received: 0 FAIL: No HTTP Response httpsClientConnection Returned -12 free memory: 0
So it looks like it’s running out of memory? Is that example code working for anyone else? (Note, it didn’t build until I added the JSON library and #include).
With my own code, which is extremely similar to the above, but has a different endpoint and payload, I get errors more along the lines of:
matrixSslNewClientSession:1 free memory 3: 38420 FAIL: No HTTP Response <loop runs again> matrixSslNewClientSession:-10 New Client Session Failed: Exiting