草庐IT

微信小程序真机预览报错“errno“:600001,“errMsg“:“request:fail -202

本地模拟测试无问题,上真机测试就报错“errno“:600001,“errMsg“:“request:fail-202官方回答通过https://myssl.com/检测证书状态,该网站有缓存,如果有更换过证书记得手动点刷新报告如果是证书链不完整,参照指引https://blog.myssl.com/faq-miss-ca-certificate/解决即可第二点觉得有些干瘪补充一下给的居然是文本,不是文件,我当时还疑惑很久然后直接复制粘贴到后缀为crt文件当中去,覆盖掉之前的然后我用的是pfx格式的证书,需要多一步去转换,其他同理可以去这个网站进行转换,担心安全的可以下载OpenSSL操作ht

Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container

K8S运行一段时间就会出现这样的问题,我也不知道问题出现在哪里,但有两种解决方案,1、重新部署Calico网络插件,但需要定时这么做2、$mv/etc/containerd/config.toml{,.bak}$systemctlrestartcontainerd容器引擎是Docker,虽然不知道为什么要移除Containerd的配置文件,但移除了确实有效果,K8S系统镜像拉不下来也是移除此配置文件,不知道具体原因,希望大佬们能为小弟解答,感激不尽!!

ElasticsearchSecurityException[failed to load SSL configuration [xpack.security.transport.ssl]]

[ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler][master]uncaughtexceptioninthread[main]org.elasticsearch.bootstrap.StartupException:ElasticsearchSecurityException[failedtoloadSSLconfiguration[xpack.security.transport.ssl]];nested:ElasticsearchException[failedtoinitializeSSLTrustManager];nested:I

Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorlist: No URLs

一、原因这是因为Centos8于2021年年底停止了服务,使用yum源安装时候,就会报错:Failedtodownloadmetadataforrepo‘AppStream’:Cannotprepareinternalmirrorlist:NoURLsinmirrorlist”,这时我们需要修改yum源二、解决办法cd/etc/yum.repos.d/sed-i's/mirrorlist/#mirrorlist/g'/etc/yum.repos.d/CentOS-*sed-i's|#baseurl=http://mirror.centos.org|baseurl=http://vault.ce

docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc crea

docker:Errorresponsefromdaemon:failedtocreateshimtask:OCIruntimecreatefailed:runccreatefailed:unabletostartcontainerprocess:报错`errorwhileloadingsharedlibraries:libseccomp.so.2:`使用命令下面的命令查找一下,找打之后copy到`/usr/lib64/`目录下docker:Errorresponsefromdaemon:failedtocreateshimtask:OCIruntimecreatefailed:runccre

鸿蒙运行项目显示error: failed to start ability. Error while Launching activity.

DevEcoStidio使用本地模拟器运行项目显示:error:failedtostartability.ErrorwhileLaunchingactivity.实际上你的项目已经装进了模拟器中,只是模拟器出现了问题。解决方法:使用远程模拟器运行看看重装本地模拟器具体是什么原因造成的我也不知道,但是重装解决了。如果有其他不需要重装的解决方法,欢迎告知。

hive建表报错 FAILED: ParseException line 3:22 mismatched input ‘<EOF>‘ expecting StringLiteral near ‘by‘

错误hive建表报错FAILED:ParseExceptionline3:22mismatchedinput‘’expectingStringLiteralnear‘by’intablerowformat’sfieldseparator详细错误建表语句hive>createexternaltableifnotexistsepidemicStatisticsData(dateRangestring,numberOfAsymptomaticPeopleint,cumulativeNumberOfConfirmedCasesint,cumulativeNumberOfPeopleCuredint,c

harmony鸿蒙Failure[INSTALL_FAILED_INCOMPATIBLE_SIGNATURE] 报错的解决方法

在跑鸿蒙项目在真机上的时候遇到的问题,顺便记录下来使用hdc工具来安装鸿蒙的hap包的时候报错,报错的原因是因为你已经安装过存在手机了,可能项目是服务卡片没有在你的手机桌面上显示。 比如:hdcappinstall-rxxx.hap 解决方法:执行命令,hdc app uninstall com.my.application,这里com.my.application替换成你项目的使用的包名即可,然后再执行hdcappinstall-rxxx.hap安装你的hap包即可哈哈,问题解决~我建了个群欢迎来聊骚啊,解决了问题的话大佬们请给老弟点点赞和关注吧! 

docker-compose 报错failed to solve: rpc error: code = Unknown desc = failed to solve with frontend doc

执行docker-compose up时候,有时候会出现如下报错:failedtosolve:rpcerror:code=Unknowndesc=failedtosolvewithfrontenddockerfile.v0:failedtocreateLLBdefinition:unexpectedstatuscode[manifestslatest]:403Forbidden这个错误据说基本只出现在Windows端,查了一圈的资料,有说是因为win端必须显式声明Dockerfile位置的,可以参考如下连接:SolutionforDockerissuefailedtosolve:rpcerro

idea 2020.3运行dockerfile文件部署出现报错:Failed to deploy ‘服务 Dockerfile: Dockerfile‘: Not connected

在IDEA2020.3修改了Docker服务器的配置之后,运行Dockfile文件,出现如下报错Failedtodeploy'服务Dockerfile:Dockerfile':Notconnected关闭所有项目,重新打开IDEA即可