Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jules 276 posts 587 karma points
    May 09, 2023 @ 07:22
    Jules
    0

    uSync Complete - very long signalr connections

    Hi Kevin

    Our infra team have quizzed me about signalr calls as below that in some cases has lasted up to 6 hours.

    /umbraco/BackOffice/signalr/connect?transport=ServerSentEvents&clientProtocol=2.1connectionToken=xxx&connectionData=%5B{}"name"%3A"usynchub}%5D&tid=8
    

    Any idea why these connections would stay open for so long?

    Regards

    Jules

  • Kevin Jump 2342 posts 14889 karma points MVP 8x c-trib
    May 09, 2023 @ 08:41
    Kevin Jump
    0

    Hi Jules,

    The connection will stay open if someone's browser is open with the dashboard, - The nature of SignalR is that its' a web socket connection, So it will remain open while your browser is active on the backoffice (i think).

    Its a little odd because for me during testing its usually the other way around and it closes after a while being idle, when i want to check something

    in terms of uSync the signalR connection is only used for informational purposes (to show progress when you import/export). if the connection actually fails the whole thing still works, and no 'commands' can be sent via the SignalR hub that uSync uses that will send anything out.

Please Sign in or register to post replies

Write your reply to:

Draft