-
Notifications
You must be signed in to change notification settings - Fork 55
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
Reconnect issue #44
Comments
same.. |
I have the same problem. |
I think I may be seeing the same thing |
@zukrup it's been a while, but were you ever able to determine why |
Unfortunately no. I couldn't find where it stucks. However here is what i've done;
|
not working : while let endIndex = buffer.index(of: "\n") ?? buffer.index(of: "\n\r") { 2- initially got it this issue Please help me on issue. @zukrup - (same issue I am facing now even after changes done ) |
Objective C code working in swift (using bridge header) - No reconnection issues and other. Dear @auther please check on swift version. Thank for your help |
Hi,
first of all thanks for the pod.
I am confused about connecting process.
In my experience the connection process complete successfully when it first fires "started" event then shortly after "reconnecting", and finally it fires "reconnected". and everything runs smoothly afterwards.
I watch this process in logs such as..
signalR started
signalR Reconnecting..
signalR Reconnected. Connection ID: debfd30d-862f-4e33-bed5-206a0f64a939
However,
Sometimes connection stuck on Started phase. never tries to reconnect.
When this happens I see only
signalR started
as log.
HubConnection never throws an error never disconnects (which I 'm waiting a disconnect or timeout to try to reconnect)
When I debug, HubConnection class shows as connected but proxy events cannot be called. Strangely I can call proxy methods from the application (successfully). but callbacks are failing.
Am I missing something ? or if this is a state that can happen eventually, how do I catch it?
or there is a core knowledge or feature that I must know before starting to use signalr?
many thanks.
The text was updated successfully, but these errors were encountered: