Unhandled exception:type 'Null' is not a subtype of type 'FutureOr<Response>' #22
Comments
From what I can see that seems to be a bug with http package. (https://pub.dev/packages/http) |
Oh also, check log.txt when that happens. |
OK so another user has reported the same issue (on Linux as well).
Seems like it could be an issue with the server/cloudflare refusing some connections. |
Thanks for the new version. I tried 1.3.4-dev and |
Ok, I'm gonna release it then. |
Fixed in v1.3.4 |
Hi
13:53:49 - Sent harvester report to server
Retrying in 10 minutes
Unhandled exception:
type 'Null' is not a subtype of type 'FutureOr<Response>'
#0 _FutureListener.handleError (dart:async/future_impl.dart:172)
#1 Future._propagateToListeners.handleError (dart:async/future_impl.dart:719)
#2 Future._propagateToListeners (dart:async/future_impl.dart:740)
#3 Future._completeError (dart:async/future_impl.dart:550)
#4 _completeOnAsyncError (dart:async-patch/async_patch.dart:274)
#5 _withClient (package:http/http.dart)
<asynchronous suspension>
After upgrading to version 1.3.x, I am experiencing this bug frequently. I mainly use
harvester.sh
I was using 1.2.7 before and 1.2.7 did not have this issue.
Also, this bug is not always there. Like I am able to run
harvester.sh
, and in the first 30 to 40 mins,harvester.sh
reports as expected.harvester.sh
crashes after making several reports.The text was updated successfully, but these errors were encountered: