实例篇"github_client_app",运行后登录不了,报错
Closed this issue · 2 comments
wenhuichen commented
flutter: DioError [DioErrorType.DEFAULT]: SocketException: OS Error: Operation timed out, errno = 60, address = 10.1.10.250, port = 54615
Deleted user commented
去掉dio的代理设置就好,或者你用release模式运行,就不会跑到代理里面
jhwsx commented
@TangYuanHuan 我使用了 release 模式运行,报错了:
I/flutter (29408): DioError [DioErrorType.DEFAULT]: SocketException: Failed host lookup: 'api.github.com' (OS Error: No address associated with hostname, errno = 7)