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

No longer connecting to nodejs #26

Closed
Kavantix opened this issue May 29, 2019 · 2 comments
Closed

No longer connecting to nodejs #26

Kavantix opened this issue May 29, 2019 · 2 comments
Labels

Comments

@Kavantix
Copy link
Contributor

Dear Author,

Firstly, thanks for this package I have been using it over the past month and it has been working very well in my flutter app.

However, today I upgraded my libraries including this library from 0.9.1 to 0.9.3 and suddenly it won't connect to the node js websocket anymore.
After some testing I found out that when reverting to 0.9.1 everything still works but in 0.9.2 and 0.9.3 it doesn't anymore.

Not sure if this is important, but to get this library to work I had to set the transports to websocket only, for some reason polling and then upgrading was not working correctly (even though the web version of my app can use it).

@jumperchen
Copy link
Member

0.9.2 has only with this fix - #21
Could you verify whether the change make it unable to work with nodejs?

@Kavantix
Copy link
Contributor Author

@jumperchen 0.9.2 does indeed still work (i also found that weird)
0.9.3 however does not. I managed to find that it thows an error that the headers map is a <dynamic, dynamic> map instead of <String, dynamic>
I made a pull request for it #27

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

No branches or pull requests

2 participants