问题一
我的环境
名称 | 值 |
---|---|
操作系统 | Windows10 |
软件版本 | 0.9.1 |
主题名称 | Notes |
问题描述
根据教程设置好一系列信息,经测试域名可访问,并且确保其他信息均正确
检查远程连接错误:远程连接失败,请检查仓库、用户名和 token 设置
问题分析
- 先查看
Gridea
文件存储目录:C:\Users\Only\Documents\Gridea\output.git 下的 config 文件,看是否有 [remote “origin”] 信息,如果没有自行添加
[remote "origin"]
url = https://你的github用户名:Token@github.com/你的github用户/仓库名
fetch = +refs/heads/*:refs/remotes/origin/*
附:查看Gridea
文件存储目录
- 检查错误信息:
[“fatal: unable to access 'https://github.com/Epitom…led to connect to github.com port 443: Timed out↵”]
问题解决
- 谷歌 433 错误,得知是没有设置代理服务器的原因。
以下为网上一高赞解决方式,可自行尝试,(不过对我的问题无效果)
参考链接:https://blog.csdn.net/runningman2012/article/details/54633677
- 再次谷歌 git 如何设置代理服务器
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
参考:https://blog.csdn.net/isea533/article/details/84748009
- 再次尝试检测远程连接成功
接下来同步查看效果完成后就可以开启开心的写作之旅啦~
问题二
我的环境
名称 | 值 |
---|---|
操作系统 | Windows10 |
软件版本 | 0.9.2 |
主题名称 | Notes |
问题描述
版本更新到 0.9.2 后重新安装了 Gridea ,再次检测远程连接失败
错误信息
connect ETIMEDOUT 140.82.114.4:443
问题分析
- cmd 命令行 ping github.com 失败。代理问题
问题解决
-
使用 ping 检测工具找一个能够 ping 通 github.com 的 IP,检测工具网址如下:
-
选择一个响应较快的 IP,添加到 C:\Windows\System32\drivers\etc\host 文件末尾:
140.82.113.3 github.com
- 再次检测远程连接,成功。