Jquery ajax - Failed to load resource: net - Stack Overflow
文章推薦指數: 80 %
I'm using the following code, but when it runs Chrome shows 'Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID' Home Public Questions Tags Users Collectives ExploreCollectives FindaJob Jobs Companies Teams StackOverflowforTeams –Collaborateandshareknowledgewithaprivategroup. CreateafreeTeam WhatisTeams? Teams CreatefreeTeam CollectivesonStackOverflow Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost. Learnmore Teams Q&Aforwork Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch. Learnmore Jqueryajax-Failedtoloadresource:net::ERR_CERT_AUTHORITY_INVALID AskQuestion Asked yesterday Active yesterday Viewed 27times 0 I'musingthefollowingcode,butwhenitrunsChromeshows'Failedtoloadresource:net::ERR_CERT_AUTHORITY_INVALID' $.ajax({ type:"POST", cache:false, async:true, data:$('#form').serializeArray(), url:"local.php", success:function(data){ console.log(data) }, error:function(data){ console.log(data) } }); I'mconnectingtotheserverandaccessingpagesviahttps,theajaxrequestisgoingtothesameserversothepagerequestsarelocal. Isthereanywaytostopthishappening? Thanks jqueryajaxhttps Share Improvethisquestion Follow askedyesterday RocketRocket 99922goldbadges1919silverbadges3636bronzebadges 3 1)usehttpnothttpssoitdoesn'tneedacert,or2)giveyourserveravalidcert – freedomn-m yesterday ThereseemtobeplentyofsolutionsonSO-perhapsoneofthemwillmatchyourrequirement(egenablechrome://flags/#allow-insecure-localhost) – freedomn-m yesterday Thanks,I'vebeencheckingtheserverthisisrunningonandwhenIaccessitviaHTTPSIamseeinganinvalidcertificatewarning..Iguessthatwon'thelp! – Rocket 13hoursago Addacomment | 0 Active Oldest Votes Knowsomeonewhocananswer?Sharealinktothisquestionviaemail,Twitter,orFacebook. YourAnswer ThanksforcontributingananswertoStackOverflow!Pleasebesuretoanswerthequestion.Providedetailsandshareyourresearch!Butavoid…Askingforhelp,clarification,orrespondingtootheranswers.Makingstatementsbasedonopinion;backthemupwithreferencesorpersonalexperience.Tolearnmore,seeourtipsonwritinggreatanswers. Draftsaved Draftdiscarded Signuporlogin SignupusingGoogle SignupusingFacebook SignupusingEmailandPassword Submit Postasaguest Name Email Required,butnevershown PostYourAnswer Discard Byclicking“PostYourAnswer”,youagreetoourtermsofservice,privacypolicyandcookiepolicy Browseotherquestionstaggedjqueryajaxhttpsoraskyourownquestion. TheOverflowBlog Podcast391:Explainingthesemiconductorshortage,andhowitmightend DoesES6makeJavaScriptframeworksobsolete? FeaturedonMeta Nowlive:Afullyresponsiveprofile PleasewelcomeValuedAssociates#999-BellaBlueϩ-SalmonofWisdom Related 1283 HowcanIgetjQuerytoperformasynchronous,ratherthanasynchronous,Ajaxrequest? 1466 HowtomanagearedirectrequestafterajQueryAjaxcall 775 jQueryAjaxerrorhandling,showcustomexceptionmessages 1922 AbortAjaxrequestsusingjQuery 1048 jQueryAJAXsubmitform 822 jQueryAjaxFileUpload 731 WaituntilalljQueryAjaxrequestsaredone? 730 jQueryAjaxPOSTexamplewithPHP 1094 IsSafarioniOS6caching$.ajaxresults? 310 TypeError:$.ajax(...)isnotafunction? HotNetworkQuestions HowiscantripdamagedeterminedwhencastbyNPCs? alt+selectionwontworkasexpected Embeddingofabundlewithconnectionintoabundlewithflatconnection? WhyareWhiteAmericansintheSouthernregionoftheUSAmuchmoreconservativeandRepublicanthanelsewhere? Coppergreaseonfreehubwhenmountingsprocket? Isitmostlysafetoinstallanysoftwarefromdefaultrepos?("yuminstall""apt-getinstall",etc) manreturnsexecve:Nosuchfileordirectoryinchrootjail Grouppointswhichonseveralstraightlines Whatwastheaffiliationofthe"ReverendMother"whoassistedwithJessica'sspiceagony? Proofthateverythree-dimensionalEinsteinmanifoldhasconstantcurvature IsmyunderstandingoftheMetropolissamplingalgorithmcorrect? Canatunnelbehiddenfromacousticscanners? Whatisthedifferencebetween"refeição"and"comida" Ifstocksareproducts,andinflationmakesthepriceofproductsgoup,thenwhydon'tstocksbenefitfrominflation? Raftersseparatingfromceiling Countrynamesfromothercountrynames WhatisthedifferencebetweenAzureContainerInstancesandAzureContainerApps WhyisitimpossibleforaprogramorAItohavesemanticunderstanding? Whatwouldbetheeffectsofgivingouttentimestheexpectedgold? I'mmakingatattooedrepositoryofparamedicalknowledgeforareligiousceremony.Howsmallcanwordsbeifthey'retattoosmadeofcremationashes? LawFirmwithonelawyerandhundredsoflegalexpertswhohaven'tpassedthebar WhiteLEDdoesn'tlightupwhenaredLEDisparalleltoit Waystohearkidonbackseat Canabeefandporkmixburgerbeservedmedium morehotquestions Questionfeed SubscribetoRSS Questionfeed TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader. lang-js Yourprivacy Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy. Acceptallcookies Customizesettings
延伸文章資訊
- 1How to Fix the NET::ERR_CERT_AUTHORITY_INVALID Error
How to Fix the NET::ERR_CERT_AUTHORITY_INVALID Error (9 Methods) · Run an SSL Server Test · Get a...
- 2怎么解决Chrome浏览器“Failed to load resource: net - 术之多
报错Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID请先确定自己的资源url是否可以确实访问到(地址正确与否.访问权限是否开启等)...
- 3Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
- 4Webpacker 的HTTPS 設定. 到底誰沒事會在開發環境用上 ...
/bin/webpacker-dev-server 後,還是錯的! # HTTPS 憑證錯誤Failed to load resource: net::ERR_CERT_AUTHORITY_IN...
- 5解决Chrome 70及以上版本的证书问题:Failed to load resource
解决Chrome 70及以上版本的证书问题:Failed to load resource: net::ERR_CERT_SYMANTEC_LEGACY. 秀发浓密的程序猿 2020-10-30...