Hello!
I've been trying to use the SIM900A module to access a vercel website I created. The website is meant as an endpoint for my device to send data to the cloud, more specifically a firebase firestore app.
I was able to get the SIM900A going, and was able to access HTTPS websites such as google.com. However, it seems like when I try to access my vercel website (or even, vercel.com), it returns a 601 or 603 error code.
Here is the commands I ran.
AT
OK
AT+SAPBR=3,1,"Contype","GPRS"
OK
AT+SAPBR=3,1,"APN","internet"
OK
AT+SAPBR=1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"10.xxx.xxx.xxx"
OK
AT+HTTPSSL=1
OK
AT+HTTPINIT
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPPARA="URL","www.google.com"
OK
AT+HTTPACTION=0
OK
+HTTPACTION:0,200,15388
AT+HTTPREAD?
ERROR
AT+HTTPREAD=?
+HTTPREAD: (0-318976),(1-318976)
OK
AT+HTTPREAD=1,500
+HTTPREAD:500
!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="id"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image"><title>Google</title><script>a random script</script>
OK
AT+HTTPTERM
OK
AT+HTTPINIT
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPPARA="URL","my-vercel-website.vercel.app"
OK
AT+HTTPACTION=0
OK
+HTTPACTION:0,603,0
AT+HTTPTERM
OK
AT+HTTPINIT
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPPARA="URL","vercel.com"
OK
AT+HTTPACTION=0
OK
+HTTPACTION:0,601,0
AT+HTTPTERM
OK
AT+CDNSCFG?
PrimaryDns: 0.0.0.0
SecondaryDns: 0.0.0.0
OK
AT+CDNSCFG="8.8.8.8","8.8.4.4"
ERROR
AT+SAPBR=1,1
ERROR
AT+SAPBR=2,1
+SAPBR: 1,1,"10.xxx.xxx.xxx"
OK
Does anyone know why specifically I can't access vercel? If there is no solution, are there any alternatives I can use to send data to the cloud? I'm using vercel and firebase because they are both free. Thank you!
PS: The vercel website I created has been up for more than 2 weeks. I would assume the DNS servers would've been updated already to include my website.