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

Connection error #45

Closed
jbridgenet opened this issue Sep 26, 2022 · 5 comments
Closed

Connection error #45

jbridgenet opened this issue Sep 26, 2022 · 5 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jbridgenet
Copy link

Connection error
It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here:
https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)

compiled your demo depo, then connected to your: https://flutter-feathersjs.herokuapp.com

@Dahkenangnon
Copy link
Owner

Dahkenangnon commented Oct 19, 2022

Hello @jbridgenet , thank for your feedback.
Can you please be more clear ? What's the issue and how to do you encounter it.

The issue is related to this package or about the demo app ?

@Dahkenangnon
Copy link
Owner

@jbridgenet , I can reproduce the issue now. And it's fixing state.

@Dahkenangnon Dahkenangnon pinned this issue Oct 20, 2022
@Dahkenangnon Dahkenangnon added the good first issue Good for newcomers label Oct 20, 2022
@Dahkenangnon
Copy link
Owner

Any idea, fix, migration, contribution (PR) are welcome for this issue.

By these moment, I'm very busy because of my current job. So I cannot fix this before january.

So any help are welcome

PS: Join this telegram group for pratical discussion: https://t.me/flutter_featherjs

@Dahkenangnon Dahkenangnon added the help wanted Extra attention is needed label Nov 20, 2022
@biloo-dev
Copy link

yo can solve this issue just downgrade this package to socket_io_client: ^1.0.2

@Dahkenangnon
Copy link
Owner

Try using directly this branch: https://github.com/Dahkenangnon/flutter_feathersjs.dart/tree/Socket.IO-v2.x-V3.x in your pubspec.yaml , latest commit.

Because if your server and compliant to the socketio client in the main branch, you should get always this error.

So opt for:

  • above solution
  • update your feathers js server

@Dahkenangnon Dahkenangnon unpinned this issue Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants