使用
flutter pub publish --server=https://pub.dartlang.org
或
flutter pub publish
命令执行 upload ,弹出 auth 认证链接,进入链接登陆 Google 账户后开始陷入等待
Waiting for your authorization... Authorization received, processing...
最终提示
ClientException with SocketException: Operation timed out (OS Error: Operation timed out, errno = 60), address = accounts.google.com, port = 49595, uri=https://accounts.google.com/o/oauth2/token
环境:macos terminal 和 AndroidStudio terminal
终端已走代理,curl www.google.com 没问题,不知该怎么办了,求佬指点一下
![]() | 1 zoharSoul 2023-11-11 20:14:54 +08:00 终端已走代理 详细描述下这个 |
![]() | 2 burden7 OP @zoharSoul zshrc 中声明了别名 proxy 开关 alias proxy=" export http_proxy=socks5://127.0.0.1:1086; export https_proxy=socks5://127.0.0.1:1086; export all_proxy=socks5://127.0.0.1:1086; export no_proxy=socks5://127.0.0.1:1086; export HTTP_PROXY=socks5://127.0.0.1:1086; export HTTPS_PROXY=socks5://127.0.0.1:1086; export ALL_PROXY=socks5://127.0.0.1:1086; export NO_PROXY=socks5://127.0.0.1:1086;" alias unproxy=" unset http_proxy; unset https_proxy; unset all_proxy; unset no_proxy; unset HTTP_PROXY; unset HTTPS_PROXY; unset ALL_PROXY; unset NO_PROXY" socks5 监听端口 1086 |
3 billlee 2023-11-11 20:29:14 +08:00 ![]() 用 socks5h:// 或者 http 代理试试 |
![]() | 4 zhcode 2023-11-11 20:39:30 +08:00 开源的话可以尝试用 github action 发 |
7 begeneral 2023-11-12 17:14:01 +08:00 急着用,可以 git 仓库上传下,在 pub 里引用下即可 |