添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account "content-type" gets added automatically after getting error like -> [DioErrorType.DEFAULT]: type 'int' is not a subtype of type 'String' of 'value' DioError [DioErrorType.DEFAULT]: RangeError (index): Invalid value: Only valid value is 0: 1#0 怎么解决 [VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: DioError [DioErrorType.DEFAULT]: RangeError (index): Invalid value: Only valid value is 0: 1#0 List.[] (dart:core-patch/growable_array.dart:145:60) [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: DioError [DioErrorType.DEFAULT]: type '_StreamHandlerTransformer<List<int>, List<int>>' is not a subtype of type 'StreamTransformer<Uint8List, List<int>>' of 'streamTransformer'#0 Stream.transform (dart:async/stream.dart) DioError [DioErrorType.other]: Converting object to an encodable object failed: Instance of 'Future<dynamic>' #1160 DioError [DioErrorType.other]: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = crmdemo.fortex.com, port = 49266 #1647 'package:dio/src/options.dart': Failed assertion: line 102 pos 12: 'value.isEmpty || kIsWeb || Uri.parse(value).host.isNotEmpty': is not true. #2126 Failed host lookup error at every request after disconnecting and reconnecting to internet. #2179 SocketException: Connection reset by peer (OS Error: Connection reset by peer, errno = 104), address = XXXX, port = 49440 #2189 Return the app to the desktop, then switch to Wi Fi in the system. After switching to Wi Fi, click on the desktop app icon to enter the app. At this point, there is an exception when sending network requests. This is highly likely to occur on Ios #2272