由于近期服务器升级了openssl,在使用navicat连接数据库报 查看日志 sshd[1990]: error: kex protocol error: type 30 seq 1 [preauth] 解决办法 vim /etc/ssh/sshd_config KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-gr…
昨晚尝试搭建一个Git服务器,在搭建好服务器后,在服务器创建了一个空项目,我在本地使用git clone 拉取项目时,报了fatal: protocol error: bad line length character: This的错误.这个问题是出在Git服务器端,不是Git客户端的问题,所以Git客户端不需要修改任何东西. 我们可以查看如果我们是通过git用户拉去项目的,我们可以在服务器端通过cat /etc/passwd来查看git的登录shell,应该可以看到类似下面一行: git:x:…
今天在前端调用PHP的接口时,有报错信息为:protocol error, got 'o' as reply type byte另外此错误有几率会重现,并不是必现的.十分疑惑,遂百度一下,发现是redis的错误. 网上说是redis的连接问题,解决方案为:在redis.conf中1.将bind参数注释2.protected-mode由yes改为no 改完后重启redis服务.暂时未发现问题会复现. 另附参考链接:1.github的phpredis项目issue中该问题的提问:https://gi…
centos6.5上安装redis3.2版本,本地访问redis报错protocol error, got 'n' as reply type byte 解决办法 在redis配置文件redis.conf把protected-mode由yes改为no 注意如果使用src/redis-server 这个指令重启服务器,那问题还是依旧存在,解决方式是使 ./redis-server redis.conf redis.conf是一个默认的配置文件.刚才我们已经修改里面的配置. 这样其他服务器访问就不会…
其它机子的PHP访问redis爆“protocol error, got 'n' as reply type byte ”错误 解决办法: 在redis配置文件redis.conf中注释掉bind配置项的同时把redis3.2新增的配置项 protected-mode由yes改为no,改完后重启redis服务,其它机子就可访问redis服务 注意如果使用src/redis-server 这个指令重启服务器,那问题还是依旧存在,解决方式是使 ./redis-server redis.conf re…
在SSH  Secure Shell 连接Linux centos的时候,遇到F-Secure SSH File Transfer错误"too many authentication failures for root".A protocol error was detected.This usually indicates a bug in the SSH application(either client or server). 网上有种方法是这样的:修改了客户端的设置Edit-&…
接收一个性能测试任务,各种原因需要使用linux agent产生压力.诡异的事发生了,同样脚本windows回放成功,使用linux agent报如下错误,脚本回放失败. Action.c(33): Error -27778: SSL protocol error when attempting to connect with host "xxx.xxx.xxx" 各种查找原因: 方法1:lr设置如下,无效因为只在windows生效linux根本不起作用 runtime setting…
这是头文件包含顺序的问题,原因与解决办法见下面代码的注释. /* 包含下面这两个头文件时,必须把winsock2.h放在前面 否则编译报错,N多的重定义错误:例如 error C2011: 'fd_set' : 'struct' type redefinition */ #include <WinSock2.h> #include <Windows.h> int main(int argc, _TCHAR* argv[]) { Sleep(); ; } 其实可以不包含Windows…
服务器上装了reids3.2版本,配置文件中已将bind的选项注释掉, linux的iptables的redis端口也开放 其它机子的PHP访问redis爆“protocol error, got 'n' as reply type byte ”错误 解决办法: 在redis配置文件redis.conf中注释掉bind配置项的同时把redis3.2新增的配置项 protected-mode由yes改为no,改完后重启redis服务,其它机子就可访问redis服务…
puppeteer运行时报错: UnhandledPromiseRejectionWarning: Error: Protocol error (Page.getLayoutMetrics): Target closed. 解决: 在 await browser.close(); 前添加上等待时间 await page.waitFor(1000); ps:虽然问题解决了,但还是不太明白原因. 因为其它的文件在关闭浏览器前没加等待时间并不会报错.…
1.执行命令:git pull –progress –no-rebase -v "origin",报错,如图1 fatal: unable to access 'https://github.com/shuijingwan/yii2-starter-kit.git/': Unknown SSL protocol error in connection to github.com:443 fatal: unable to access 'https://github.com/shuiji…
转:http://blog.csdn.net/yhawaii/article/details/7511141 今天使用Xcode自带的svn客户端时,总是连接不上服务器,报如下错误: Error validating server certificate for 'https://svn2.assembla.com:443': – The certificate is not issued by a trusted authority. Use the fingerprint to valida…
在socket编程的过程中头文件中 #include <windows.h> #include "stdafx.h" #include "WinSock2.h" 在编译的时候会报错 :error C2011: 'fd_set' : 'struct' type redefinition 解决方法 在所有的#include <windows.h>前使用#define WIN32_LEAN_AND_MEAN,如: #define WIN32_LEA…
在研究Linux安全的时候遇到一个问题,原本打算修改linux直接远程root登陆,修改为sshd的配置文件后 Nano /etc/ssh/sshd_config 把#PermitRootLogin yes 修改为PermitRootLogin no 修改完成后,保存退出 重启sshd service sshd restart 新建一个普通用户 Useradd unixbar Passwd unixbar 在securecrt远程工具中,使用普通用户登陆的时候,出现了 The server ha…
每天学习一点点 编程PDF电子书.视频教程免费下载:http://www.shitanlife.com/code   问题: 报错:Uncaught Error: [MODULE_MISS]"echarts/config" is not exists! 原因: require( [ 'echarts', 'echarts/chart/scatter' ], function (ec) { // 基于准备好的dom,初始化echarts图表 myScatter = ec.init(doc…
问题背景:安装apk是报error:protocol fault<no status>或error:device not found手机驱动有问题 出现的问题如下:adb devices -l  或者 adb devices 解决方案一. windows: 任务管理器, 看到adb的进程, 关闭掉, 然后重新启动 adb start-server . Linux(我机子是 ubuntu系统) 执行命令 gnome-system-monitor 打开任务管理器, 然后把 adb的个关掉. 解决方…
CentOS 7.5 x64下 sudo yum install docker -y systemctl enable docker systemctl start docker 发现启动失败 journalctl -xe 查询获得报错 Jan 11 22:49:16 localhost.localdomain dockerd-current[29403]: time="2019-01-11T22:49:16.686305029+08:00" level=info msg="…
OSX go get报错 go get Unknown SSL protocol error in connection to gopkg.in https://github.com/niemeyer/gopkg/issues/49 FYI, on OS X 10.12.3, go 1.8, and git 2.12.0, I was having this issue until I ran git config --global http.sslVerify true.…
https://blog.csdn.net/chengsi101/article/details/72627062 https://www.cnblogs.com/gradven/p/6323195.html 项目中使用druid对数据库连接池进行管理,在本地及测试环境均无问题,但是上了生产环境后,每当tomcat第一次启动时,日志未报错,但是页面总是出不来,在关闭tomcat时,看日志,发现报错如下: ERROR [com.alibaba.druid.stat.DruidDataSourceS…
在家用的WiFi,把电脑从房间搬到餐厅来用发现用我的xshell不能用ssh连接了,报错Socket error Event: 32 Error: 10053.同时在自己物理机上ipconfig看到自己的本本的Ip也被分配成网段其他ip(就是不是原来在房间里面的192.168.1.104,变成了192.168.1.101) 虚拟机配置的是192.168.1.105,能够ping通,就是ssh连接不上. 考虑解决:IP冲突 sudo -i vi /etc/sysconfig/network-scr…
例如在unity c# script中定义 private float x=0.0; 则会报 error CS0664: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type 应写成 float x=0.0f;…
I'm trying to run the following artisan command: php artisan storage:link I get this error: [ErrorException] symlink(): Protocol error Can you help me to solve this. This is my setup: Windows 10 using vagrant with Homestead (v0.5.0) box Ubuntu 16.04…
SecureCRT ssh 客户端连接失败: The server has disconnected with an error.  Server message reads: A protocol error occurred. Change of username or service not allowed: (root,ssh-connection) -> (zoujiaqing,ssh-connection) 这是因为SecureCRT设置中的用户名和你登录时候输入的用户名不相符,在这…
更新Composer依赖报错处理 Fatal error: Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRe pository::search() must be compatible with Composer\Repository\RepositoryInterfa ce::search($query, $mode = 0, $type = NULL) in C:\Users\Arthur\AppData\…
转摘自:http://preceo.blog.51cto.com/6225017/1130931 近来写程序时发现了一个问题,用 VC 编译 C语言是 总是提示一个错误:error C2143: syntax error : missing ';' before 'type'.考虑了很久也没有答案,于是上网搜索,终于在一位网友网易博客中找到了解决办法.解决方法如下: 把所有变量的声明放在可执行代码之前. 出现此问题的原因在于:将文件保存成了 *.c 格式.如果是 cpp 格式就能正常编译. 这是…
php新手在mac系统中搭建apache+mysql+php的开发环境(按照这篇博客来操作的:http://my.oschina.net/joanfen/blog/171109?fromerr=xvCsafCe),在安装配置mysql完毕后,登录mysql,报错:mac ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO),折腾很久,终于解决,随手记录下,备忘. 解决方法: 第一步:如…
环境: 基于VBox 的 vagrant (centos版本)开发环境. 问题: Virtualbox 虚拟机(centOS)中,在进行go程序编译的时候,需要设置一个链接符,然后得到了如下的错误: ln: failed to create symbolic link ‘/home/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes’: Protocol error 查证: 经过排查,发现这是因为这 Virtua…
项目中使用druid对数据库连接池进行管理,在本地及测试环境均无问题,但是上了生产环境后,每当tomcat第一次启动时,日志未报错,但是页面总是出不来,在关闭tomcat时,看日志,发现报错如下: ERROR [com.alibaba.druid.stat.DruidDataSourceStatManager] – unregister mbean errorjavax.management.InstanceNotFoundException: com.alibaba.druid:type=Dr…
XShell连接CentOS系统时,报出Xshell Socket error Event: 32 Error: 10053..错误 有点烦人.. 操作:用SSH工具连接linux电脑出现的问题:Read from socket failed: Connection reset by peer 解决办法修改配置文件 vim /etc/ssh/sshd_config 将UseDNS yes 改为 no,保存.vim /etc/sysconfig/network-scripts/ifcfg-eno1…
使用python setup.py build_ext --inplace命令编译cython代码, 出现以下错误: Compiling cython_example.pyx because it changed. [1/1] Cythonizing cython_example.pyx D:\python_virtualenv\bigdata\lib\site-packages\Cython\Compiler\Main.py:367: FutureWarning: Cython directi…