Skip to content

SocketException: Reading from a closed socket #33

@wilson0506

Description

@wilson0506

Hi, I have encountered this problem. I am wondering how to fix it.

Unhandled Exception: SocketException: Reading from a closed socket
#0 _RawSecureSocket.read (dart:io/secure_socket.dart:699:7)
#1 _Socket._onData (dart:io-patch/socket_patch.dart:1830:27)
#2 _rootRunUnary (dart:async/zone.dart:1134:38)
#3 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#4 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
#5 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:338:11)
#6 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:265:7)
#7 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:766:19)
#8 _StreamController._add (dart:async/stream_controller.dart:642:7)
#9 _StreamController.add (dart:async/stream_controller.dart:588:5)
#10 _RawSecureSocket._sendReadEvent (dart:io/secure_socket.dart:1018:19)
#11 _rootRun (dart:async/zone.dart:1122:38)
#12 _CustomZone.run (dart:async/zone.dart:1023:19)
#13 _CustomZone.runGuar<…>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions