Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9188859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:06:49+00:00 2026-06-17T20:06:49+00:00

I’ve started working with SignalR and was trying to figure out when a Hub

  • 0

I’ve started working with SignalR and was trying to figure out when a Hub Reconnect occurs. I didn’t find any satisfying explanation on the web. Can someone explain when/why a reconnect occurs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:06:50+00:00Added an answer on June 17, 2026 at 8:06 pm

    A hub reconnect occurs when a client goes offline then regains connectivity shortly after. SignalR configuration values largely determine the time stamps of the following examples so do not take the times verbatim.

    Here are several examples and their outcomes (time format m:ss) involving reconnecting behavior:

    When I Mention the following i am referring to the server side Hub method

    • OnConnected
    • OnDisconnected
    • OnReconnected

    1)
    0:00 – Client connects to server, OnConnected is triggered
    0:10 – Client loses connection due to ISP issues (and realizes it loses connection)
    0:15 – Client Regains connectivity
    0:16 – OnReconnected event is triggered

    2)
    0:00 – Client connects to server, OnConnected is triggered
    0:10 – Client loses connection due to pulling ethernet cable (doesn’t realize it’s disconnected)
    0:15 – Client Regains connectivity
    Two things can happen here
    A: 0:16 – Nothing happens and client continues on with its previous connection
    B: 0:~45 – Client Realizes its disconnected *
    B: 0:46 – Client transitions into the reconnecting state
    B: 0:47 – Client successfully reconnects and the OnReconnected event is triggered.

    3)
    0:00 – Client connects to server, OnConnected is triggered
    0:10 – Client loses connection due to pulling ethernet cable (doesn’t realize it’s disconnected)
    0:~45 – Client Realizes its disconnected *
    0:46 – Client transitions into the reconnecting state
    1:15 – Server determines that client has been gone for too long and then forgets about it, queuing up a "disconnect" command for the client to receive if it reconnects slightly later. ***
    1:15 – OnDisconnected is triggered
    1:16 – Client regains connectivity
    1:17 – Client does a "soft" reconnect (does not trigger OnReconnected)
    1:18 – Client retrieves the "disconnect" command
    1:19 – Client calls "stop" and does a soft disconnect (does not trigger OnDisconnected)

    4)
    0:00 – Client connects to server, OnConnected is triggered
    0:10 – Client loses connection due to pulling ethernet cable (doesn’t realize it’s disconnected)
    0:~45 – Client Realizes its disconnected *
    0:46 – Client transitions into the reconnecting state
    1:15 – Server determines that client has been gone for too long and then forgets about it, queuing up a "disconnect" command for the client to receive if it reconnects slightly later. ***
    1:15 – OnDisconnected is triggered
    1:30 – Client stops trying to reconnect (been trying too long) **
    1:30 – Client transitions into disconnected state

    * Due to client side keep alive check: Used to determine when a client is offline due to lack of keep alives. Not utilized for the long polling transport

    ** Due to client side disconnect timeout: Used to determine when a client has been reconnecting for too long of a period and chances are the server has forgotten about the client during the time

    *** Due to server disconnect timeout: Used to determine when a client should be forgotten about. It’s a time span that starts accruing once a connection is tagged as dead on the server. Ultimately the server queues a disconnect command for the client’s topic which tells the client (if it reconnects) that it needs to start a fresh connection. The command will disappear from the server when the topic is cleaned up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I'm trying to select an H1 element which is the second-child in its group

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.