草庐IT

remote_host

全部标签

pip安装模块报错ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed

今天在安装python模块时提示ReadTimeoutError:HTTPSConnectionPool(host=‘files.pythonhosted.org’,port=443):Readtimedout具体报错如下:[root@0018/]#pipinstallpygameDEPRECATION:Python2.7reachedtheendofitslifeonJanuary1st,2020.PleaseupgradeyourPythonasPython2.7isnolongermaintained.pip21.0willdropsupportforPython2.7inJanuary

msg:xxl-job remoting error(connect timed out), for url : http://169.254.104.1:8900/run

 问题如上。xxl-job是部署在腾讯云服务器上的,但是web程序在本地。在不同局域网中。内网穿透解决。注意,这两个端口需要和yaml文件中配置的port一致,port默认是9999,可以自己修改。然后,获取对应的域名(这里webinterface会显示对应的ip:端口,显示disable的肯定是不行的) 将这个域名手动配置到执行器的机器地址栏 最后添加任务管理就可以了

npm install报错C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire

vue-element-admin安装时npminstall报错npmERR!Errorwhileexecuting:npmERR!C:\ProgramFiles\Git\cmd\git.EXEls-remote-h-tssh://git@github.com/sohee-lee7/Squire.gitnpmERR!npmERR!Hostkeyverificationfailed.npmERR!fatal:Couldnotreadfromremoterepository.npmERR!npmERR!PleasemakesureyouhavethecorrectaccessrightsnpmER

端口映射问题:Bad Request This combination of host and port requires TLS.

错误信息:BadRequestThiscombinationofhostandportrequiresTLS.遇到上面的错误信息:如果是通过域名访问,则该域名后配置的转发端口映射错误。如果是通过ip+端口或者域名+端口访问,则为你端口填写错误。我出现过若干次以上问题,所以将其记录,原因为在配置端口时,为服务配置了一个serverport一个httpport。但在访问的时候访问了serverport。就访问不到了。

【python】python运行脚本出现InsecureRequestWarning:Unverified HTTPS request is being made to host错误

问题原因大概意思就是没有正在向主机发出未经验证的HTTPS请求,所以需要关闭校验解决流程添加requests.packages.urllib3.disable_warnings()verify=Falseproxies={"http":None,"https":None,}header={'User-Agent':'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/87.0.4280.40Safari/537.36Edg/87.0.664.24'}requests.packages.url

npm 报错ERR Host key verification failed.

问题npminstall时报错npmERR!Hostkeyverificationfailed.npmERR!Errorwhileexecuting:npmERR!C:\ProgramFiles\Git\cmd\git.EXEls-remote-h-tssh://git@github.com/sohee-lee7/Squire.gitnpmERR!npmERR!Hostkeyverificationfailed.npmERR!fatal:Couldnotreadfromremoterepository.npmERR!npmERR!Pleasemakesureyouhavethecorrecta

解决git clone代码,报错remote: The project you were looking for could not be found or you don‘t

问题描述gitclone项目时,clone失败,错误信息如下:remote:Theprojectyouwerelookingforcouldnotbefoundoryoudon'thavepermissiontoviewit.fatal:repository'https://119.23.248.3/xxxx/pad.git'notfound原因分析由于我在没有账号前用的同事的账号进行clone代码,所以之后克隆的时候系统还使用我之前的用户来连接,所以会报错。查找了许多资料,有更改本地账号密码,还有直接去凭据里修改,发现都没有用解决办法最后发现在克隆的时候加上当前用户名就可以了,然后就会让你输

Windows下启动Docker容器遇到Error invoking remote method ‘docker-start-container‘: Error解决办法

报错:Errorinvokingremotemethod'docker-start-container':Error:(HTTPcode500)servererror-Portsarenotavailable:exposingportTCP0.0.0.0:5903->0.0.0.0:0:listentcp0.0.0.0:5903:bind:Anattemptwasmadetoaccessasocketinawayforbiddenbyitsaccesspermissions.解决方法1.使用管理员权限在cmd中执行netstopwinnat 2.启动Docker容器3.使用管理员权限在cmd中

关于 IntelliJ Maven error: Repository is non-nexus repo, or is not indexed (remote update error) 的问题

今天用IDEAmaven导入github上一个项目的包,报了无法解析该依赖的错误查看File|Settings|Build,Execution,Deployment|BuildTools|Maven|Repositories发现(remoteupdateerror)无法更新远程库,报错信息是IntelliJMavenerror:Repositoryisnon-nexusrepo,orisnotindexed在互联网上找了很久的解决方案,最后看到一个博客Maven配置遇到的问题RemoteUpdateError,发现原因是我的maven配置了阿里巴巴的镜像源,解决办法如下:将maven文件中co

修改host文件来访问GitHub

说明国内无法访问GitHub的问题除了用某工具访问,还可以通过host文件来达到效果,缺点就是需要经常更新ip地址。一、查询ip地址通过以下网址来查询 http://ip.tool.chinaz.com/https://www.ipip.net/https://www.ipaddress.com/github.comassets-cdn.github.comgithub.global.ssl.fastly.net二、修改host文件host文件在(Windows系统)C:\Windows\System32\drivers\etc(linux系统)/etc/hosts打开host文件之前先修改权