leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
891 stars 123 forks source link

DioException #226

Closed Er-Dong-Chen closed 1 month ago

Er-Dong-Chen commented 1 month ago

macdeMacBook-Pro:flutter_health mac$ flutter_distributor release --name stage Unhandled exception: DioException [unknown]: null Error: HandshakeException: Connection terminated during handshake

0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520:7)

#1 PubDevApi.getLatestVersionFromPackage (package:flutter_distributor/src/utils/pub_dev_api.dart:14:24) #2 FlutterDistributor.checkVersion (package:flutter_distributor/src/flutter_distributor.dart:102:9) #3 main (file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/flutter_distributor-0.4.5/bin/main.dart:44:5)