当前位置:   article > 正文

Git 报错及解决记录(个人持续更新中)_gitlib bcrypt::errors::invalidhash: app/controller

gitlib bcrypt::errors::invalidhash: app/controllers/sessions_controller.rb

不同的代码管理账号,所以就选择输入用户名和密码提交,github上整整就连不上,而且用登录密码提交代码现在不好使了,得用token;
记录一下git问题,方便我自己查找!
1.OpenSSL SSL_read: Connection was reset, errno 10054
解决办法:git config --global http.sslVerify “false”
再次输入用户名、密码即可对远端代码进行管理。
2.连不上github时,可以配置host,对github进行提速,(注:不用改任何地址,拿来直接用,使用的是SwitchHosts进行host管理)

# GitHub520 Host Start
140.82.114.26                 alive.github.com
140.82.113.26                 live.github.com
185.199.108.154               github.githubassets.com
140.82.114.21                 central.github.com
185.199.108.133               desktop.githubusercontent.com
185.199.108.153               assets-cdn.github.com
185.199.108.133               camo.githubusercontent.com
185.199.108.133               github.map.fastly.net
199.232.69.194                github.global.ssl.fastly.net
140.82.113.3                  gist.github.com
185.199.108.153               github.io
140.82.114.4                  github.com
192.0.66.2                    github.blog
140.82.112.6                  api.github.com
185.199.108.133               raw.githubusercontent.com
185.199.108.133               user-images.githubusercontent.com
185.199.108.133               favicons.githubusercontent.com
185.199.108.133               avatars5.githubusercontent.com
185.199.108.133               avatars4.githubusercontent.com
185.199.108.133               avatars3.githubusercontent.com
185.199.108.133               avatars2.githubusercontent.com
185.199.108.133               avatars1.githubusercontent.com
185.199.108.133               avatars0.githubusercontent.com
185.199.108.133               avatars.githubusercontent.com
140.82.114.9                  codeload.github.com
52.217.88.132                 github-cloud.s3.amazonaws.com
52.216.12.36                  github-com.s3.amazonaws.com
52.216.239.131                github-production-release-asset-2e65be.s3.amazonaws.com
52.217.174.129                github-production-user-asset-6210df.s3.amazonaws.com
52.217.129.153                github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153               githubstatus.com
64.71.144.202                 github.community
23.100.27.125                 github.dev
185.199.108.133               media.githubusercontent.com
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35

3.git push的时候提示"fatal: unable to access ‘https://github.com/xxxxx/xxxx.git/’: Failed to connect to github.com port 443: Timed out
此时账户和密码框都没有进行弹出;
解决办法:输入以下命令
git config --global --unset http.proxy
然后就可以重新push了。

4.推送代码失败!!!fatal: Authentication failed for ‘https://github.com/xxxlgloverd/my-docs.git/’
github老是整幺蛾子!!烦死了!!
你得配token才能上传代码!!!
在这里插入图片描述
设置完了之后存起来!!!方便下次上传代码的时候用!!!!

未完持续更新中。。。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/461179
推荐阅读
相关标签
  

闽ICP备14008679号