研发管理
-
Git 推送至 Github 时提示:The authenticity of host ‘github.com (52.192.72.89)’ can’t be established.ECDSA key fingerprint is SHA256:.,在 Windows 10 中配置 GitHub 的 SSH key,生成新的 Personal access token
1、在执行命令时:git push -u origin master,提示:The authenticity of host ‘github.com (52.192.72.89)’ can’t be established.ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/…
-
接口响应数据不断变化 ( 5 分钟之内 )的排查分析,根源在于 Varnish 的部署问题
1、参考网址:https://www.shuijingwanwq.com/2021/11/10/5453/ 。列表中的单个数据项,将其在后台关闭后,本来应该一直消失的。但是,在几分钟内的时间,却是一会儿出现,一会儿消失。大约等待 5 分钟之后,才终于…
-
在 K8s 中 HTTP 响应 502,message:An invalid response was received from the upstream server
1、在 K8s 中 HTTP 响应 502 Bad Gateway,message:An invalid response was received from the upstream server。从上游服务器收到无效响应。502 Bad Gateway 错误具体表示服务器收到来自入站服务器的无效响应。k…
-
Rancher 环境变量缺失(在容器中未生效)的排查分析
1、在 Rancher 中总计配置了 4 个环境变量。如图1 图1 2、查看容器的日志,有 2 个环境变量缺失。如图2 图2 3、导致的结果是,配置文件中的缺失的 2 个环境变量未被替换。如图3 图3 4、发现缺失的 2 个环境变量,其…
-
通过 FTP 协议上传文件至 FTP 服务器的文件路径缺失的排查分析
1、通过 FTP 协议上传文件至 FTP 服务器,文件路径为:455ba786a7e62dd5cf24f3d6bb32c26c/source/ftp/2021/9/16/b9cf2265-736a-4df8-b02b-215b91ad4e3e.mp4。但是在 FTP 服务器中的实际路径为:/source/ftp/2021/9/…
-
在 K8s 中报错:504 Gateway Time-out nginx/1.17.8,NGINX 入口控制器在 60 秒后请求超时
1、在 K8s 中报错:504 Gateway Time-out nginx/1.17.8。请求超时限制为 60 秒。如图1 图1 504 Gateway Time-out nginx/1.17.8 2、参考网址:https://www.shuijingwanwq.com/2020/02/19/3936/ 。已经将相关参数调整…
-
通过 FlashFXP 上传后的文件,HTTP 访问时响应 404 的排查分析
1、通过 FlashFXP 上传文件:秦时明月第一集荧惑守心.mp4 至:/wp-content/uploads/2021/07/秦时明月第一集荧惑守心.mp4。如图1 图1 2、HTTP 访问:https://www.shuijingwanwq.com/wp-content/uploads/2021/07/秦时…
-
在 Rancher 2.3 版本中,添加健康检查后,容器无法启动,实则在容器中调用健康检查是成功的
1、去掉健康检查后,启动容器,在容器中调用健康检查是成功的。如图1 图1 [root@admin-66bbbb996f-4vfj5 /]# curl http://localhost:81/status pool: www process manager: static start time: 22/Jun/2021:13:17:5…
-
在 nginx/1.17.8 下响应 502 Bad Gateway 的排查分析(不再启用 ModSecurity)
1、响应 200 的 Nginx 配置文件内容如下。 server { listen 82; charset utf-8; root /mcloud/creditshop_back/app/webroot; index index.php; location / { modsecurity on; modsecurity_rules_file /etc/nginx/mo…
-
在 Konga 中实现 ccpapi.xxx.cn 至 apiv2.xxx.cn/ccpapi 的实现
1、现阶段的域名为:ccpapi.xxx.cn。可以在外网正常调用。如图1 图1 2、现阶段的 Rancher 配置,负载均衡。如图2 图2 3、在 Konga 中,SERVICES – ADD NEW SERVICE。Name:api_ccp 。Url:http://api.ccp:82 …