flutter_socket_io icon indicating copy to clipboard operation
flutter_socket_io copied to clipboard

Socket triggered::connect_error

Open MusabAbid opened this issue 4 years ago • 4 comments

Describe the bug W/.flutter_rwtap( 5678): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (light greylist, reflection) W/.flutter_rwtap( 5678): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (light greylist, reflection) W/.flutter_rwtap( 5678): Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (light greylist, reflection) D/Adhara:Socket( 5678): Socket triggered::connect_error I/flutter ( 5678): onConnectionError io.socket.engineio.client.EngineIOException: websocket error

Have you tried reproducing the issue with example available in this repo? Yes/No? No To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Device details:

  • Device Type: Emulator
  • Model: Nexus 5S api28
  • OS: Window 10
  • Package Version:adhara_socket_io: ^0.4.2+1

Relevant Logs

Add any relevant logs about the problem here.

MusabAbid avatar Jan 14 '21 14:01 MusabAbid

have you solved this issue?

AbdullahGaber avatar Mar 30 '21 12:03 AbdullahGaber

No it doesn't work so i just leave it and use Firebase Firestore

On Tue, Mar 30, 2021, 5:22 PM AbdullahGaber @.***> wrote:

have you solved this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/infitio/flutter_socket_io/issues/146#issuecomment-810176420, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIDDPAC22Y62BBNSU2XKKLTGG7AFANCNFSM4WCPGWJQ .

MusabAbid avatar Apr 01 '21 05:04 MusabAbid

No it doesn't work so i just leave it and use Firebase Firestore

On Tue, Mar 30, 2021, 5:22 PM AbdullahGaber @.***> wrote:

have you solved this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/infitio/flutter_socket_io/issues/146#issuecomment-810176420, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIDDPAC22Y62BBNSU2XKKLTGG7AFANCNFSM4WCPGWJQ .

In my case, the problem was from backend he didn't run the socket server

AbdullahGaber avatar Apr 01 '21 07:04 AbdullahGaber

@MusabAbid @AbdullahGaber this issue could be due to usage of incompatible sever side socket io version. Currently the package supports only v2 socket.io

track v3/v4 support here: #160

tiholic avatar Apr 06 '21 11:04 tiholic