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

Warning: no ClientId is provided by the connection request #25

Open
brunobg opened this issue Aug 28, 2015 · 8 comments
Open

Warning: no ClientId is provided by the connection request #25

brunobg opened this issue Aug 28, 2015 · 8 comments

Comments

@brunobg
Copy link
Contributor

brunobg commented Aug 28, 2015

Any ideas why I'm getting this warning? What might be causing it?

@brunobg
Copy link
Contributor Author

brunobg commented Aug 28, 2015

It seems only to happen in Android too. But it always happens, very easy to reproduce. Tested both in firefox and android.
Does not happen in linux, windows desktop or windows mobile.

@obastemur
Copy link
Member

I've just tested the sample under samples/Server/Hello_World and connected from the Android client. It works and didn't see a warning message. How should I reproduce this issue ?

@brunobg
Copy link
Contributor Author

brunobg commented Aug 31, 2015

I'll try to make a small sample that reproduces the issue or debug it and get back to you.

@brunobg
Copy link
Contributor Author

brunobg commented Aug 31, 2015

The difference is here: if(jxcore.SocketURL==null || jxcore.isAndroid || (jxcore.isIE && jxcore.ieVersion<9)) {. It makes android use xhr instead of websockets, and then the error pops out.

Any particular reason to disable websockets in Android? They seem to be working fine.

@obastemur
Copy link
Member

@brunobg see http://caniuse.com/#feat=websockets. Only 4.4+ devices are websocket capable.

@brunobg
Copy link
Contributor Author

brunobg commented Aug 31, 2015

I see. I'll try to make a PR with android version detection.
But the issue remains. Do you need any other help to reproduce the bug or more information from me?

@brunobg
Copy link
Contributor Author

brunobg commented Sep 2, 2015

@obastemur any tips?

@obastemur
Copy link
Member

I still don't know how to reproduce it

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

2 participants