Flutter web socket channel, Connection closed before full header was received
I’m trying to listen to socket (i run it locally), I’m using web_socket_channel, I followed the instruction from the documentation, but I can’t make it work. It keeps telling me this:
WebSocket error: WebSocketChannelException: HttpException: Connection closed before full header was I/flutter (18089): WebSocket error: WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://10.2.7.14:3003
I/flutter (18089): WebSocket connection closed
E/flutter (18089): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://10.2.7.14:3003