Hello,
I am trying to use googleapis.com to perform cell and wifi geolocation and am having trouble connecting.
I am using a custom board with a nRF9160 chip and the 1.6.1 version of the sdk. The latest VS Code pack is my IDE/compiler.
My code is based off of the https_client sample.
I am able to connect to Skyhookwireless and UnwiredLabs and use their services to geolocate, but whenever I try to connect to Googleapis, the connect() function gives me one of the following errors:
#define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ #define ECONNREFUSED 111 /* Connection refused */
I considered that it might be a certificate issue so I attempted to use a certificate returned by openssl s_client www.googleapis.com:443. I was unable connect to google with that certificate, but I was able to connect to skyhook with it.
Any assistance would be much appreciated.