草庐IT

nt_status_logon_failure

全部标签

Feign feign.FeignException$NotFound: status 404 reading

Feignfeign.FeignException$NotFound:status404reading有几种情况:第一种情况是远程调用接口和调用的方法路径不一致,特别是远程接口路径没有写全;第二种情况是远程类controller使用的@controller,返回的是视图层页面跳转,在SpringBoot中我们基本上都是使用@RestController,他返回的是数据。远程调用应该使用@RestController。第三种就是我遇到这种的就是在远程调用的时候尽量不要使用路径传参,我不清楚是不是版本的文问题我用的openfeign是2.2.0RELEASE,用路径传参就会报Feignfeign.

数据库连接bug异常:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure异常

1、启动SpringBoot项目出现com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communicationslinkfailure异常。2、查询后定位问题是数据库连接不上,服务器异常。3、方案一:切换数据库为本地地址,重新启动即可。url:jdbc:mysql://127.0.0.1:3306/mysql001?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&characterEncoding=utf-8&allowMultiQue

RPC failed; curl 56 Recv failure: Connection was reset.

RPCfailed;curl56Recvfailure:Connectionwasreset.问题:网络问题。http缓存不够或者网络不稳定等解决办法修改git配置(加大httpBuffer)即可。gitconfig--globalhttp.postBuffer524288000记录错误,后期要是在遇到。链接:参考.

Gitee 提交代码报错:LFS only supported repository in paid enterprise.: exit status 1

         Gitee在提交大文件时,出现如下错误,异常退出:       GitLFS操作指南中可以知道,出现这个问题主要是因为GitLFS(LargeFileStorage,大文件存储)是GitHub开发的一个Git的扩展,用于实现对大文件的支持。        目前码云(Gitee.com)已经支持GitLFS功能,目前改功能针对付费企业开放。如个人活非付费企业有这方面使用需求,可通过git@oschina.cn联系支持。解决方法:$rm.git/hooks/pre-push$gitpush-uorigin"master"   执行完,OK,可以push大文件到远程仓库。 

Linux系统切换root出现su: authentication failure解决办法

一、问题说明在Linux系统中,使用命令su切换root用户,正确输入密码后仍报错su:Authenticationfailure二、解决办法使用命令sudopasswdroot修改root账户密码,输入该命令后回车,先输入当前root密码,然后键入新密码并确认(可以和之前相同)。提示密码更新成功,此时再su,输入新密码,成功切换到root。

【问题记录】fatal: unable to access ‘https://github.com/‘: Recv failure: Connection was reset

问题场景GitHub上的项目克隆到本地问题描述fatal:unabletoaccess'https://github.com/Henry-chr/ProgrammerManuel.git/':Recvfailure:Connectionwasreset原因分析:一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错解决方案:在GitBash中执行以下命令gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxy

连接mysql数据库报错com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure的解决方法

com.mysql.cj.jdbc.exceptions.CommunicationsException:CommunicationslinkfailureThelastpacketsentsuccessfullytotheserverwas0millisecondsago.Thedriverhasnotreceivedanypacketsfromtheserver.解决办法:配置文件加上&useSSL=falsespring:datasource:username:rootpassword:rendudataurl:jdbc:mysql://127.0.0.1:3306/consulting

鸿蒙开发真机调试报错Failure[INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED] The profile does not contain the udid of

鸿蒙开发真机调试报错Failure[INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED]Theprofiledoesnotcontaintheudidofthedevice.File->projectstructure->project->signingconfigs->automaticallygeneratesign重新生成一下签名即可

neo4j错误:Error: The client is unauthorized due to authentication failure

问题:首次启动neo4j后,输入账号密码报如下错误:Error:Theclientisunauthorizedduetoauthenticationfailure**解决方法:**打开conf文件夹里面的conf配置文件,打开后如下图,修改红框处,即删除掉注释符号就行。此时就关闭了neo4j的验证,便可成功登录neo4j了。

swift Alamofire : How to get the HTTP response status code

我想检索请求失败(理想情况下也是成功)的HTTP响应状态代码(例如400、401、403、503等)。在此代码中,我使用HTTPBasic执行用户身份验证,并希望能够在用户输入错误密码时向用户发送身份验证失败的消息。Alamofire.request(.GET,"https://host.com/a/path").authenticate(user:"user",password:"typo").responseString{(req,res,data,error)iniferror!=nil{println("STRINGError::error:\(error)")println(