Closed itisluiz closed 1 year ago
Hello,
You can find some info here:
https://github.com/vshymanskyy/TinyGSM/issues/29
Regards, Adrián.
Hi, that doesn't really illustrate my problem well, I am able to make HTTPS requests, but as I stated, those would only fail on the website provided with the HTTPS TinyGSM example file. I have provided everything I could think of on my original issue, but sadly, I'm unable to test anything further since I don't have my module anymore.
Hi, I am experiencing this issue exactly as described above. My aim is to use the Mongodb API endpoints but I am experiencing the same issue as I do with vsh.pp.ua, If I can resolve why it doesn't work with vsh.pp.ua then I should be able to do the same with Mongodb.
Does anyone know what additional steps I could investigate to determine why I am experiencing this?
I am using: Modem: ATI SIMCOM SIM808 R14.18 Main processor board: Mega2560 TinyGSM version: 0.11.5 Code: examples\HttpsClient\HttpsClient.ino
Scenario, steps to reproduce Attempt to establish a secure connection to the host in the example (vsh.pp.ua) When I use the example sketch with the default settings: Server: vsh.pp.ua Resource: /TinyGSM/logo.txt
The result is:
AT+CIPSTART=0,"TCP","vsh.pp.ua",443
AT+CIPSTART=0,"TCP","vsh.pp.ua",443
OK
0, CLOSE OK
failed to connect
However, if I change the server and resource: Server: www.google.com Resource: /robots.txt
The result is:
AT+CIPSTART=0,"TCP","www.google.com",443
AT+CIPSTART=0,"TCP","www.google.com",443
OK
0, CONNECT OK
Then sketch continues to get the resource successfully.
[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: SimCom Sim800L Revision: 1418B04SIM800L24 Main processor board: ESP32 TinyGSM version: 0.11.4 Code: examples\HttpsClient\HttpsClient.ino
Scenario, steps to reproduce
Attempt to establish a secure connection to the host in the example (vsh.pp.ua)
Expected result
It works with Google, as expected.
Actual result
It doesn't work with the provided host within the exaple
What I tried
At first I assumed it had to be an issue regarding TLS, since the example using regular http worked fine for that same domain. So I tried explicitly disabling the certificate validation with "AT+SSLOPT=0,1", which didn't yield results. I then thought it could be related to the TLS version, the example host is running TLS v1.2 and google runs TLS v1.3. Trying a different website with TLS v1.2 works fine, just like google did. The website also worked fine on my phone with the same sim card, using mobile data.
Debug and AT command log