LilyGo-T-Call-SIM800
LilyGo-T-Call-SIM800 copied to clipboard
Performing HTTPS +CME ERROR: operation not allowed
Hello,
Ihave followed your example code, and tried to connect to my api using HTTPS, I'm getting AT+HTTPSSL=1 OK So I'm assuming that the connection should succeed, however, that is not the case.
this is the following that seems to be going wrong, I really have no idea how to proceed from here:
01:41:24.879 -> GPRS connected
01:41:24.879 -> Performing HTTPS GET request... AT+HTTPTERM
01:41:24.913 ->
01:41:24.913 -> +CME ERROR: operation not allowed
01:41:24.913 -> [24193] +HTTPTERM
01:41:24.913 -> AT+SAPBR=0,1
01:41:24.913 ->
01:41:24.913 -> OK
01:41:25.912 -> AT+SAPBR=3,1,"Contype","GPRS"
01:41:25.912 ->
01:41:25.912 -> OK
01:41:25.912 -> AT+SAPBR=1,1
01:41:25.912 ->
01:41:25.912 -> OK
01:41:25.912 -> AT+SAPBR=2,1
01:41:25.912 ->
01:41:25.912 -> +SAPBR: 1,1,"10.161.128.115"
01:41:25.912 ->
01:41:25.912 -> OK
01:41:27.930 -> AT+HTTPINIT
01:41:27.930 ->
01:41:27.930 -> OK
01:41:27.930 -> AT+HTTPPARA="CID",1
01:41:27.930 ->
01:41:27.930 -> OK
01:41:27.930 -> AT+HTTPPARA="URL","www.api.tooltracker.dk"
01:41:27.930 ->
01:41:27.930 -> OK
01:41:27.930 -> AT+HTTPPARA="REDIR",1
01:41:27.930 ->
01:41:27.930 -> OK
01:41:27.930 -> AT+HTTPSSL=1
01:41:27.930 ->
01:41:27.930 -> OK
01:41:27.930 -> AT+HTTPACTION=0
01:41:27.930 ->
01:41:27.930 -> OK
01:41:37.927 -> AT+HTTPREAD
01:41:37.963 ->
01:41:37.963 -> +HTTPACTION: 0,603,0
01:41:37.963 ->
01:41:37.963 -> OK
01:41:37.963 -> AT+HTTPTERM
01:41:37.963 ->
01:41:37.963 -> OK
01:41:37.963 -> AT+SAPBR=0,1
01:41:37.963 ->
01:41:37.963 -> OK
01:41:37.963 -> AT+CIPSHUT
01:41:38.397 ->
01:41:38.397 -> SHUT OK
01:41:38.397 -> AT+CGATT=0
01:41:38.614 ->
01:41:38.614 -> OK
01:41:38.614 -> GPRS disconnected
I have tried with URLS such as: Baido and Google.com. With Baido it was the same result with Google I got:
01:54:06.648 -> +HTTPREAD: 14803
01:54:06.648 -> <!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="da"><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 nonce="k1q-RgtqlkBBVDYbJwZYjg">(function(){window.google={kEI:'F7V1YujQLZmWjgbM0KPoCA',kEXPI:'0,1302536,56873,6059,206,4804,926,1390,383,246,5,1354,4013,1238,1122515,1197780,621,380089,16115,28684,17572,4858,1362,12313,4751,12835,4998,13228,3847,3600,592,6430,22741,2370,4304,1279,2742,149,1103,840,6297,109,4011,2023,1777,520,14670,3227,2845,7,17450,8102,7666,552,4465,13142,3,576,6608,13975,4,1528,2304,32112,2658,7357,13658,4437,16786,5803,2554,4094,4052,3,3541,1,42154,2,14022,1931,998,11187,11623,5679,3401,28742,4568,6255,20803,2618,1246,5841,12137,2831,4332,6089,1395,1959,23017,1669,1,436,8155,6401,181,323,476,12,2437,12231,7341,2622,29,13733,1878,1308,1431,124,1882,2559,597,23,5101,2552,489,2716,3501,4,450,163,514,3,208,1916,1490,1510,214,1494,6436,356,1493,2738,239,1526,132,2,,19,158,450,157,754,3122,5429805,100,61,8796584,1326,3,1877,1,2562,1,748,141,795,6164,6,2,169,13,19,46,5,39,644,29,2,2,1,2,1,2,2,7,4,1,2,2,2,2,2,2,1052,1,1,158,3,2,2,2,2,2,4,2,3,3,3,1,1,1,1,62,21,5,9,22,14,2,58,19,2,40,1,10,3,2,2,8,2,75,23950681,4042143,1964,298',kBL:'53LM'};google.sn='webhp';google.kHL='da';})();(function(){
01:54:06.822 -> var f=this||self;var ar b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||h}funct(!a.getAttribute||!(b=a.getAttribute("leid")));)a=a.parentNode;return b}
01:54:06.822 -> function n(a,search("&ei=")||(e="&ei="+l(d),-1===b.search("&lei=")&&(d=m(d))&&(e+="&lei="+d));d="";!"&cshid=")&&"slh"!==a&&(d="&cshid="+f._cshid);c=c||"/"+(g||"gen_204")+"?atyp=i&ct="+a+)+d;/^http:/i.test(c)&&"https:"===window.location.protocol&&(google.ml&&google.ml(Erro"");return c};h=google.kEI;google.getEI=l;google.getLEI=m;google.ml=function(){return b,c,d,g){if(c=n(a,b,c,d,g)){a=new Image;var e=k.length;k[e]=a;a.onerror=a.onload=a.ona;a.src=c}};google.logUrl=n;}).call(this);(function(){
01:54:06.892 -> google.y={};google.sy=[];google..id;else{do c=Math.random();while(google.y[c])}google.y[c]=[a,b];return!1};google.sx=f;google.lm=[];google.plm=function(a){google.lm.push.apply(google.lm,a)};google.lq=[];oogle.lq.push([[a],b,c])};google.loadAll=function(a,b){google.lq.push([a,b])};google.b}).call(this);google.f={};(function(){
01:54:06.929 -> document.documentElement.addEventListener("sub.target){var c=a.getAttribute("data-submitfalse");a="1"===c||"q"===c&&!a.elements.q.veventDefault(),b.stopPropagation())},!0);document.documentElement.addEventListener("cr(a=b.target;a&&a!==document.documentElement;a=a.parentElement)if("A"===a.tagName){a=href");break a}a=!1}a&&b.preventDefault()},!0);}).call(this);</script><style>#gbar,op:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:x solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@mein-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underor:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !importan.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px 8pxtd{line-height:17px}form{margin-bottom:20px}.h{color:#1558d6}em{font-weight:bold;fonx;width:496px}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif:inline-block;margin:3px 0 4px;margin-left:4px}input{font-family:inherit}body{backg4b11a8;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl a{color:}.sblc{padding-top:5px}.sblc a{display:block;margin:2px 0;margin-left:13px;font-size;border:solid 1px;border-color:#dadce0 #70757a #70757a #dadce0;height:30px}.lsbb{dinline-block;margin:0 12px}.lsb{background:url(/images/nav_logo229.png) 0 -261px repsor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-aliadce0}.lst:focus{outline:none}.tiah{width:458px}</style><script nonce="k1q-RgtqlkBBgoogle.erd={jsr:1,bv:1579,de:true};
01:54:07.107 -> var f=this||self;var g,h=null!=(g=f.mei)?g:1,m,google.erd,u=r.jsr;google.ml=function(a,b,d,k,c){c=void 0===c?2:c;b&&(q=a&&a.messal(a,c,d),null;if(0>u){window.console&&console.error(a,d);if(-2===u)throw a;b=!1}eling script"===a.message||p>=h&&!k?!1:!0;if(!b)return null;p++;d=d||{};var e=c;c=encp=i&ei="+c(google.kEI);google.kEXPI&&(b+="&jexpid="+c(google.kEXPI));b+="&srcpg="ver="+c(r.bv)+("&jsel="+e);e=a.lineNumber;void 0!==e&&(b+="&line="+
01:54:07.175 -> e);var l=a.fill===window.location.href&&(e=document.documentElement.outerHTML.split("\n")[e],b+No script found.")));for(var t in d)b+="&",b+=c(t),b+="=",b+=c(d[t]);b=b+"&emsg="+sst="+c(a.stack||"N/A");12288<=b.length&&(b=b.substr(0,12288));a=b;k||google.log(function(a,b,d,k,c){q!==a&&(a=c instanceof Error?c:Error(a),void 0===d||"lineNumb==b||"fileName"in a||(a.fileName=b),google.ml(a,!1,void 0,!1,"SyntaxError"===a.namstring(0,11)?2:0));q=null;n&&p>=h&&(window.onerror=null)};})();</script></head><b"k1q-RgtqlkBBVDYbJwZYjg">(function(){var src='/images/nav_logo229.png';var iesg=ion(){window.n && window.n();if (document.images){new Image().src=src;}
01:54:07.245 -> if (!iesg);document.gbqf&&document.gbqf.q.focus();}
01:54:07.245 -> }
01:54:07.245 -> })();</script><div id="mngb"><div id/b> <a class=gb1 href="https://www.google.dk/imghp?hl=da&tab=wi">Billeder</a> <le.dk/maps?hl=da&tab=wl">Maps</a> <a class=gb1 href="https://play.google.com/?hlhref="https://www.youtube.com/?gl=DK&tab=w1">YouTube</a> <a class=gb1 href="httper</a> <a class=gb1 href="https://mail.google.com/mail/?tab=wm">Gmail</a> <a clacom/?tab=wo">Drev</a> <a class=gb1 style="text-decoration:none" href="https://ww?tab=wh"><u>Mere</u> »</a></nobr></div><div id=guser width=100%><nobr><spa=gbf class=gbf></span><span id=gbe></span><a href="http://www.google.dk/history/k</a> | <a href="/preferences?hl=da" class=gb4>Indstillinger</a> | <a target=_.google.com/ServiceLogin?hl=da&passive=true&continue=https://www.google.com/&ecr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div></dd"><div id="lga"><img alt="Google" height="92" src="/images/branding/googlelogoor_272x92dp.png" style="padding:28px 0 14px" width="272" id="hplogo"><br><br></><table cellpadding="0" cellspacing="0"><tr valign="top"><td width="25%"> input name="ie" value="ISO-8859-1" type="hidden"><input value="da" name="hl" type="hidden" value="hp"><input name="biw" type="hidden"><input name="bih" type=ht:32px;margin:4px 0"><div style="position:relative;zoom:1"><input class="lst tx 0 6px;vertical-align:top;color:#000;padding-right:38px" autocomplete="off" vangth="2048" name="q" size="57"><img src="/textinputassistant/tia.png" style="pot:5px;top:4px;z-index:300" data-script-url="/textinputassistant/11/da_tia.js" ="27"><script nonce="k1q-RgtqlkBBVDYbJwZYjg">(function(){var id='tsuid1';documction(){var s = document.createElement('script');s.src = this.getAttribute('daById('xjsc')||document.body).appendChild(s);};})();</script></div></div><br s><span class="lsbb"><input class="lsb" value="Google-s⸮gning" name="btnG" type"ds"><span class="lsbb"><input class="lsb" id="tsuid2" value="Jeg pr⸮ver lykk nonce="k1q-RgtqlkBBVDYbJwZYjg">(function(){var id='tsuid2';document.getElements.form.q.value){this.checked = 1;if (this.form.iflsig)this.form.iflsig.disabled les/';};})();</script><input value="AJiK0e8AAAAAYnXDJ-TjxWQmFso-ZhfA0VExPKBaNan></span></td><td class="fl sblc" align="left" nowrap="" width="25%"><a href=0">Avanceret s⸮gning</a></td></tr></table><input id="gbv" name="gbv" type="hgtqlkBBVDYbJwZYjg">(function(){
01:54:07.535 -> var a,b="1";if(document&&document.getElementuest)b="2";else if("undefined"!=typeof ActiveXObject){var c,d,e=["MSXML2.XMLHTTMLHTTP","Microsoft.XMLHTTP"];for(c=0;d=e[c++];)try{new ActiveXObject(d),b="2"}con.search.indexOf("&gbv=2")){var f=google.gbvu,g=document.getElementById("gbt(function(){location.href=f},0)};}).call(this);</script></form><div id="gac%;min-height:3.5em"><br><div id="gws-output-pages-elements-homepage_additionpages-elements-homepage_additional_languages__als{font-size:small;margin-bottoline-block;line-height:28px;}#SIvCob a{padding:0 3px;}.H6sW5{display:inline-bl.z4hgWe{display:inline-block;margin:0 2px}</style><div id="SIvCob">Google e.google.com/setprefs?sig=0_g9q8G2LTtYTpZhecflwgg0kt44Y%3D&hl=fo&souuIaUicz3AhUZi8MKHUzoCI0Q2ZgBCAU">F⸮royskt</a> </div></div></div><span id="fv style="margin:19px auto;text-align:center" id="WqQANb"><a href="http://www.edsl⸮sninger</a><a href="/intl/da/about.html">Alt om Google</a><a href="httom=DK&prev=https://www.google.dk/&sig=K_LGT-n0VwqkdWEmWM2m8K3yLdsAo%"font-size:8pt;color:#70757a">© 2022 - <a href="/intl/da/policies/privaclicies/terms/">Vilk⸮r</a></p></span></center><script nonce="k1q-RgtqlkBBVDYbJw{height:757,width:1440};(function(){
01:54:07.715 -> var a=window.innerWidth,b=window.inne,d="CSS1Compat"==c.compatMode?c.documentElement:c.body;a=d.clientWidth;b=d||b!=google.cdo.height)&&google.log("","","/client_204?&atyp=i&biw="+a+"&bih="})();</script> <script nonce="k1q-RgtqlkBBVDYbJwZYjg">(function(){google.x <script nonce="k1q-RgtqlkBBVDYbJwZYjg">(function(){var u='/xjs/_/js/k\x3d/d\x3d1/ed\x3d1/esmo\x3d1/rs\x3dACT90oG9yZp6vJHJ-IGrgT-C2ULvvqfLCQ/m\x3dsb_heeturn a};var g;var l=function(a,b){this.g=b===h?a:""};l.prototype.toStrinfunction n(){var a=u;google.lx=function(){p(a);google.lx=function(){}};goe.timers&&google.timers.load&&google.tick&&google.tick("load","xjsls");var b=xhtml+xml"===b.contentType&&(c=c.toLowerCase());c=b.createElement(c);if(v(k&&k.createPolicy){try{b=k.createPolicy("goog#html",{createHTML:e,createonsole&&d.console.error(q.message)}g=b}else g=b}a=(b=g)?b.createScriptURL(a)a.constructor===l?a.g:"type_error:TrustedResourceUrl";var f,m;(f=(a=null=defaultView||window).document).querySelector)?void 0:m.call(f,"script[nonce:"")&&c.setAttribute("nonce",f);document.body.appendChild(c);google.psa=!0})},0);})();function _DumpException(e){throw e;}
01:54:07.858 -> function _F_installCss(c'none',chnk:0,dw:false,dwu:true,emtn:0,end:0,ine:false,injs:'none',injt:0,ll:0,ubm:false,uwp:true};})();(function(){var pmc='{\x22d\x22:{},\x22sb_he\x22client\x22:\x22heirloom-hp\x22,\x22dh\x22:true,\x22dhqt\x22:true,\x22x22fl\x22:true,\x22host\x22:\x22google.com\x22,\x22isbh\x22:28,\x22jsonp\xyd s⸮gning\x22,\x22dym\x22:\x22Mente du:\x22,\x22lcky\x22:\x22Jeg pr⸮verninger\x22,\x22oskt\x22:\x22Inputv⸮rkt⸮jer\x22,\x22psrc\x22:\x22Denne s⸮gni3d\\\x22/history\\\x22\\u003EWebhistorik\\u003C/a\\u003E\x22,\x22psrl\x2 billede\x22,\x22srch\x22:\x22Google-s⸮gning\x22},\x22ovr\x22:{},\x22pq\x222:[],\x22sbas\x22:\x220 3px 8px 0 rgba(0,0,0,0.2),0 0 0 1px rgba(0,0,0,0.0x22scd\x22:10,\x22stok\x22:\x22GbLqQZ6-7wCJwLSeKSwNDeVt8OY\x22,\x22uhde\x22</script> </body></
But I'm not sure if it didn't just default to http and get the html from there.
Been stuck for some time, help is much appreciated!
could you solve this problem, I get same error messages "+CME ERROR: operation not allowed", anyone help?