Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket triggered::connect_error #146

Open
MusabAbid opened this issue Jan 14, 2021 · 4 comments
Open

Socket triggered::connect_error #146

MusabAbid opened this issue Jan 14, 2021 · 4 comments
Assignees

Comments

@MusabAbid
Copy link

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.
@AbdullahGaber
Copy link

have you solved this issue?

@MusabAbid
Copy link
Author

MusabAbid commented Apr 1, 2021 via email

@AbdullahGaber
Copy link

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
#146 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASIDDPAC22Y62BBNSU2XKKLTGG7AFANCNFSM4WCPGWJQ
.

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

@tiholic
Copy link
Contributor

tiholic commented Apr 6, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants