
BUG
冷小鱼
博客以实战为主,欢迎大家留言讨论。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
npm install Saving to file: /root/.jenkins/workspace/ems-web/node_modules/chromedriver/2
问题:➜ npm installnpm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm> [email protected] install /Users/user/wisedu/flo...原创 2019-04-02 17:55:57 · 2263 阅读 · 0 评论 -
0914-npm EACCES: permission denied权限问题官网终极解决办法
node saas 模块安装失败,无法打包成功,异常堆栈如下:[root@dev ems-web]# npm rebuild node-sass> [email protected] install /root/.jenkins/workspace/ems-web/node_modules/node-sass> node scripts/install.jsUnable t...原创 2019-04-02 10:42:28 · 8184 阅读 · 2 评论 -
The valid characters are defined in RFC 7230 and RFC 3986
问题分析:问题出现的原因是URL中包含了非法字符,这个问题可能是由于升级tomcat版本导致解决方案:1、降级Tomcat版本tomcat7及以下可以。2、规范代码,URL编码encodeURI("http://localhost:8080/app/handleResponse?msg=name|id|")> http://localhost:8080/ap...原创 2018-10-18 19:28:55 · 1394 阅读 · 0 评论 -
CertPathValidatorException: Path does not chain with any of the trust anchors
由于安全考虑,MYSQL开启了SSL,通过JAVA代码链接的时候就报错了。解决方案如果数据库没有开启SSL,那么修改 useSSL=true 为 useSSL=false。如果开启了SSL,那么按照以下步骤解决。MSYQL默认安装的data 目录下:拷贝三个文件到本地:进入你的JRE证书目录打开命令行工具,切换到当前目录下执行:WindowsLinux提示输入密码:默认密码为 changeit提示是否信任:是如果出现请使用管理员打开命令行工具操作成功后...原创 2022-07-11 15:15:36 · 922 阅读 · 0 评论 -
Chrome 错误代码:ERR_UNSAFE_PORT
最近在用Nginx发布多个站点测试,使用了6666端口,折腾好久不起作用,后来试了下IE可以,然后下载火狐,提示的更加人性化了。谷歌:IE:火狐:点击更多,提示错误代码:ERR_UNSAFE_PORT解决办法:选中Google Chrome 快捷方式,右键属性,在”目标”对应文本框添加:--explicitly-allowed-ports=87,6666,55...原创 2019-05-06 13:39:18 · 1055 阅读 · 0 评论 -
fake_useragent.errors.FakeUserAgentError: Maximum amount of retries reached
本质原因是:https://fake-useragent.herokuapp.com/browsers/0.1.11无法访问导致,看到很多文章说,把这个地址的内容复制出来,我很惊讶,都访问不了,怎么另存为?在项目当前目录新建fake_useragent.json,内容如下:{"browsers": {"chrome": ["Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0..原创 2021-06-25 16:25:20 · 1425 阅读 · 0 评论 -
es Failed: 1: this action would add [2] total shards, but this cluster currently has [1001]/[1000]
你用的7版本以上的elasticsearch吧,默认只允许1000个分片,问题是因为集群分片数不足引起的。现在在elasticsearch.yml中定义PUT /_cluster/settings{ "transient": { "cluster": { "max_shards_per_node":10000 } }}...原创 2020-05-26 20:23:24 · 6679 阅读 · 0 评论