FATAL 标签归档 - 永夜 https://www.shuijingwanwq.com/tag/fatal/ 没有不值得去解决的问题,也没有不值得去学习的技术! Sat, 15 Aug 2026 03:24:48 +0000 zh-Hans hourly 1 https://wordpress.org/?v=7.1 https://media.shuijingwanwq.com/2026/05/logo-150x150.png FATAL 标签归档 - 永夜 https://www.shuijingwanwq.com/tag/fatal/ 32 32 启用2FA双因子认证后,git pull 时,报错:remote: HTTP Basic: Access denied remote: You can generate one at https://xxx.com/-/profile/personal_access_tokens https://www.shuijingwanwq.com/2022/07/19/6805/ Tue, 19 Jul 2022 01:21:55 +0000 https://www.shuijingwanwq.com/?p=6805 启用2FA双因子认证后,执行git pull操作报错提示认证失败,要求使用具备特定权限的Personal Access Token。在生成该令牌并通过Git Credential Manager登录仍无法解决问题的情况下,通过重新设置远程仓库地址,将令牌以oauth2格式嵌入URL,最终成功完成拉取且不再报错。

启用2FA双因子认证后,git pull 时,报错:remote: HTTP Basic: Access denied remote: You can generate one at https://xxx.com/-/profile/personal_access_tokens最先出现在永夜

]]>
在 TortoiseGit 中推送至 GitHub 时报错:Failed to connect to github.com port 443 after 21049 ms: Timed out https://www.shuijingwanwq.com/2022/07/16/6799/ Sat, 16 Jul 2022 12:17:55 +0000 https://www.shuijingwanwq.com/?p=6799 在使用 TortoiseGit 向 GitHub 推送代码时,遇到了连接 443 端口超时的报错。通过在推送设置中取消勾选自动加载 Putty 密钥选项,解决了网络连接失败的问题,最终成功完成了推送操作。

在 TortoiseGit 中推送至 GitHub 时报错:Failed to connect to github.com port 443 after 21049 ms: Timed out最先出现在永夜

]]>
fatal: unable to access ‘https://github.com/shuijingwan/refactoring.git/’: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version https://www.shuijingwanwq.com/2022/07/02/6733/ Sat, 02 Jul 2022 06:40:02 +0000 https://www.shuijingwanwq.com/?p=6733 在执行 git push 时遇到了 SSL routines 报错,经排查发现是本地 Git 版本过旧。通过下载安装最新版 Git 并卸载旧版本或清理环境变量解决了版本冲突。随后因 GitHub 已移除密码验证支持,改用 Personal access token 并通过 SSH 测试连接,最终删除本地 .git 目录重新初始化后,成功完成代码推送。

fatal: unable to access ‘https://github.com/shuijingwan/refactoring.git/’: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version最先出现在永夜

]]>
Docker 部署,基于 Supervisor 的 crontab (bash sleep) 的实现,以降低内存占用 https://www.shuijingwanwq.com/2019/10/12/3555/ Sat, 12 Oct 2019 07:36:38 +0000 http://www.shuijingwanwq.com/?p=3555 文章介绍了基于 Supervisor 和 bash sleep 实现 Docker 部署中类 crontab 任务以降低内存占用的过程。通过编辑配置文件调整脚本执行间隔,并在测试环境检测运行状态与异常处理情况。实验发现将 sleep 时间控制在合理范围并调整 startsecs 参数可有效降低内存,最终在两个产品环境中验证了该方法能显著减少 Docker 容器的内存占用并符合预期。

Docker 部署,基于 Supervisor 的 crontab (bash sleep) 的实现,以降低内存占用最先出现在永夜

]]>