flutter_socket_io icon indicating copy to clipboard operation
flutter_socket_io copied to clipboard

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

Open hhly opened this issue 4 years ago • 5 comments

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

hhly avatar Apr 30 '21 14:04 hhly

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

hhly avatar Apr 30 '21 14:04 hhly

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

savanbthakkar avatar May 02 '21 16:05 savanbthakkar

@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.

tiholic avatar May 31 '21 08:05 tiholic

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

savanbthakkar avatar May 31 '21 12:05 savanbthakkar

@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

tiholic avatar May 31 '21 12:05 tiholic