I am using the GsmSSLWebClient example which comes with the MKRGSM library. The original example works just fine, I get the arduino ascii logo. But when I change the URL the arduino doesn't get any answer:
//char server[] = "arduino.cc";
//char path[] = "/asciilogo.txt";
char server[] = "wepardi.fi";
char path[] = "/robots.txt";
Starting Arduino web client.
connecting...
connected
GET /robots.txt HTTP/1.1
Host: wepardi.fi
Connection: close
disconnecting.
From Firefox https://www.wepardi.fi/robots.txt is displayed correctly. I tried also some other sites, and from some of them I get the ascii file content correctly, and from some others not.
Something wrong with my settings?
Prints from debug mode:
connecting...
...
AT+USECMNG=0,0,"VeriSign_Class_3_Public_Primary_Certification_Authority_G5",1239
>
+USECMNG: 0,0,"VeriSign_Class_3_Public_Primary_Certification_Authority_G5","cb17e431673ee209fe455793f30afa1c"
OK
AT+USOCR=6
+USOCR: 0
OK
AT+USOSEC=0,1,0
OK
AT+USECPRF=0,0,1,4,"www.wepardi.fi"
OK
AT+USOCO=0,"www.wepardi.fi",443
ERROR
+UUSOCL: 0
AT+USOCL=0
ERROR
connected
GET /robots.txt HTTP/1.1
Host: www.wepardi.fi
Connection: close
disconnecting.
Command AT+USOCO=0,"www.wepardi.fi",443 fails
GsmWebClient (no SSL) example works fine with any hosts I have tried.