infitio / flutter_socket_io

Socket IO supprt for flutter. Looking for contributors Swift and Java.
Other
191 stars 113 forks source link

您好,io.socket.engineio.client.EngineIOException: xhr poll error #164

Open hhly opened 3 years ago

hhly commented 3 years ago

您好,之前项目使用socket是OK的flutter版本升级后出现io.socket.engineio.client.EngineIOException: xhr poll error这个错误请问是什么原因,实在是找不到解决方法

hhly commented 3 years ago

Hello, before the project using socket is OK, after the flutter version upgrade, io.socket.engineio.client.engineioexception: XHR poll error appears. What's the reason? I really can't find a solution

savanbthakkar commented 3 years ago

We had the same problem. Try downgrading your flutter version to Flutter 1.22.5 • channel stable. It worked for us.

tiholic commented 3 years ago

@hhly @savanbthakkar new versions 1.0.0 and higher are supposed to work with new versions of flutter. Please try and share more details of the issue still persists.

savanbthakkar commented 3 years ago

@tiholic , we rolled back a month ago and everything is working fine now. We are not upgrading again until this issue is resolved.

tiholic commented 3 years ago

@savanbthakkar please share more details to reproduce the issue:

  1. Flutter doctor log
  2. Socket.io version (on node.js side)

Note that this repo is now backed by integration tests which ensure latest flutter version is compatible with v2 socket.io