Open gasagna opened 1 year ago
This does not appear to be an issue with the InfluxDB website or my own code, but rather a general issue with some https websites and my gsm modem. I have also tried the HttpsClient
example provided by this library, using other websites (e.g. discourse.julialang.org), and the same +UUSOCO: 0,255
code is returned.
[x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library [x] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help
What are you working with?
Modem: SARA-R410M-02B-00 Main processor board: MKR NB 1500 TinyGSM version: 0.11.3 Code: Here is the relevant code I am using. Read below for further info on the background
Scenario, steps to reproduce (with AT command log)
I am using the TinyGSM and ArduinoHTTPClient libraries to post data to my InfluxDB cloud account via SSL. The server is managed by google cloud and is located at "europe-west1-1.gcp.cloud2.influxdata.com", as described in the official InfluxDB docs. As can be seen from the code above, I am trying to open a secure connection at port 443. This does not seem to work, and here is the relevant excerpt from the AT command dump.
The return code from the
AT+USOCO
command is+UUSOCO: 0,255
. From the modem's docs this return code is not documented, so I am at a loss here, and can't proceed.I have tried posting data on an private InfluxDB instance managed on my own server that does not use SSL (using a
TinyGsmClient
object), and I can successfully post data.