美文网首页
flutter upgrade遇到LibreSSL SSL_re

flutter upgrade遇到LibreSSL SSL_re

作者: 前端技术小咖 | 来源:发表于2021-09-08 00:28 被阅读0次

    在执行flutter upgrade命令时经常会遇到以下两个错误:

    ProcessException: Process exited abnormally:
    fatal: unable to access 'https://github.com/flutter/flutter.git/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
      Command: git fetch --tags
    

    或者是

    ProcessException: Process exited abnormally:
    fatal: unable to access 'https://github.com/flutter/flutter.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
      Command: git fetch --tags
    
    错误的原因:
    • 是我们在~/.gitconfig文件中配置的remote.origin.proxy参数导致的
    解决方法:
    git config --global --add remote.origin.proxy ""
    

    相关文章

      网友评论

          本文标题:flutter upgrade遇到LibreSSL SSL_re

          本文链接:https://www.haomeiwen.com/subject/hdumwltx.html