Skip to content

Reconnect issue #44

@zukrup

Description

@zukrup

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions