title: how to handle error of websocket in flutter
body: <p>I try making real time chat using node.js, express, and socket io in backend... and then I am using flutter for client-side... the problem is... I get error that say:</p>
  <pre><code>D/FlutterSocketIoPlugin: SocketIO(22042): connect_error: [{&quot;cause&quot;:{&quot;detailMessage&quot;:&quot;Expected HTTP 101 response but was \u0027404 Not Found\u0027&quot;,&quot;stackTrace&quot;:[],&quot;suppressedExceptions&quot;:[]},&quot;detailMessage&quot;:&quot;websocket error&quot;,&quot;stackTrace&quot;:[],&quot;suppressedExceptions&quot;:[]}]
  D/FlutterSocketIoPlugin: SocketIO(22042): reconnect_error: [{&quot;cause&quot;:{&quot;cause&quot;:{&quot;detailMessage&quot;:&quot;Expected HTTP 101 response but was \u0027404 Not Found\u0027&quot;,&quot;stackTrace&quot;:[],&quot;suppressedExceptions&quot;:[]},&quot;detailMessage&quot;:&quot;websocket error&quot;,&quot;stackTrace&quot;:[],&quot;suppressedExceptions&quot;:[]},&quot;detailMessage&quot;:&quot;Connection error&quot;,&quot;stackTrace&quot;:[],&quot;suppressedExceptions&quot;:[]}]
  </code></pre>
  <p>is there something that I miss here?</p>