Closed j0hnsmith closed 6 months ago
I think you need to setup the SSL parameters in the modem to fully use https and this will be website dependent. The example code is mostly only changing the port number from 80 to 443.
There doesn't seem to be an example of adding the root CA certificate.
I've tried using client->setCACert(rootCACertificate) but it says:
error: base operand of '->' has non-pointer type 'TinyGsmClient' {aka 'TinyGsmSim7600::GsmClientSim7600'}
client->setCACert(rootCACertificate);
^~
exit status 1
base operand of '->' has non-pointer type 'TinyGsmClient' {aka 'TinyGsmSim7600::GsmClientSim7600'}
I have a similar issue posting to an HTTPs server using the example in "A76XX Series_HTTP(S)_ApplicationNote_V1.03" It worked fine with a previous A7670 module but not the one on the T-SIM. I get error 715 "handshake". The only difference that I can see is that the T-SIM has version A7670M7_V1.11.1 and the working one on a waveshare module is A7670M7_V8.18.1.
How can I upgrade the firmware in the T-SIMs A7670 to be the same?
Hi! I am choosing the board for MQTTS communication, will it work? I see you guys have a problem with https
I was having trouble doing an HTTPS post but it turned out to be a faulty A7670E device. Another module worked perfectly.
Richard
----- Original Message ----- From: Alex Solomaha @.> Reply-To: Xinyuan-LilyGO/T-A7670X @.> To: Xinyuan-LilyGO/T-A7670X @.> Cc: Middlerig @.>, Comment @.***> Sent: 06/08/2023 16:19:44 Subject: Re: [Xinyuan-LilyGO/T-A7670X] HttpsClient example doesn't work (Issue #32)
Hi! I am choosing the board for MQTTS communication, will it work? I see you guys have a problem with https — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***> Virus-free.www.avg.com
I was having trouble doing an HTTPS post but it turned out to be a faulty
A7670E device. Another module worked perfectly.
Richard
----- Original Message -----
From: Alex Solomaha @.***>
Reply-To: Xinyuan-LilyGO/T-A7670X
@.***>
To: Xinyuan-LilyGO/T-A7670X @.***>
Cc: Middlerig @.>, Comment @.>
Sent: 06/08/2023 16:19:44
Subject: Re: [Xinyuan-LilyGO/T-A7670X] HttpsClient example doesn't work (Issue #32)
Hi! I am choosing the board for MQTTS communication, will it work? I see you guys have a problem with https
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Virus-free.www.avg.com
oh, 40 bucks to find out that module is faulty 😭 have they refunded? thank you for the reply!
Ha! 20 was the first offer, refused and increased to 30. I would have expected a replacement T-sim. Even then I was days trying different code trying to see what I was doing wrong. Just not fun sometimes. Still I have a paperweight. RichardSent from my iPhone On 6 Aug 2023, at 18:31, Alex Solomaha @.***> wrote:
I was having trouble doing an HTTPS post but it turned out to be a faulty A7670E device. Another module worked perfectly. Richard ----- Original Message ----- From: Alex Solomaha @.> Reply-To: Xinyuan-LilyGO/T-A7670X @.> To: Xinyuan-LilyGO/T-A7670X @.> Cc: Middlerig @.>, Comment @.> Sent: 06/08/2023 16:19:44 Subject: Re: [Xinyuan-LilyGO/T-A7670X] HttpsClient example doesn't work (Issue #32) Hi! I am choosing the board for MQTTS communication, will it work? I see you guys have a problem with https — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Virus-free.www.avg.com
oh, 40 bucks to find out that module is faulty 😭 have they refunded? thank you for the reply!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
When I run
/examples/new_version/Arduino/HttpsClient/HttpsClient.ino
it sends a http request to port 443,The plain HTTP request was sent to HTTPS port
Can you fix the example?