-
Notifications
You must be signed in to change notification settings - Fork 977
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
still frequently reconnection in my first connection, wait on line...., my log is here #229
Comments
Do you mean having the same problem before too? Can you post your code? |
@nkzawa our app contains ios and android , the ios version works well and the socket.io module is supported by socket.io official, if it is possible , you can remote control my computer for solving the problem, here is my code , i will online to wait you thanks: the next 3 method is from my SocketClient class the method below is in SocketPost class and i will call SocketPost.getNews(onGetNews.getPackageId(), null, null) with params to request the web server. |
Unfortunately, I can't help you like that. Your code looks OK. Do you know how we can reproduce the issue? Any other detailed logs? |
I just bought a server, I will build a test environment as soon as possible, and then tell you the account and password, in order to reproduce the bug。But I'm worried about that the test environment is only a device connection, this error will not reproduce。 |
Thanks for the logs, but still I have no idea. Can you modify the source code of engine.io-client-java, and debug what kind of errors actually happen in the following methods? https://github.com/socketio/engine.io-client-java/blob/master/src/main/java/io/socket/engineio/client/transports/PollingXHR.java#L250 |
I already update the logs ,please see the post above. |
@nkzawa It seems the error is caused by okHttp, square/okhttp#1114 |
@hpustudent sorry for the delay. looks like so. Does |
The problem is still alive,but why can't the websocket transport build? any solution |
What version of socket.io-client-java do you use? Can you test with the latest version if you are using an old version, since they say |
It is really the latest version , okio version :1.6.0 , okhttp: 2.5.0. |
Is there a solution for this? |
Closed due to inactivity, please reopen if needed. |
my server is node.js+socket.io ,the version of socket.io is 1.x,the problem is stil alive,my app is about to on the line , is anyone know the other way to connect to socke.io server?
this is my log:
transport is always "polling"
can I contact to you with IM so that i can support you more infomation?
The text was updated successfully, but these errors were encountered: