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
    Oct 21, 2024 @ 17:00
    Jules
    0

    SignalR errors in console when starting uSync Dashboards

    Hi Kevin

    uSync Complete 13.1.5

    Umbraco 13.3.2

    We are getting signalr console errors when starting the usync dashboard.

    enter image description here

    On my local dev machine I've eliminated errors my enabling web sockets support in local IIS. However, when we deploy to Azure, the error is pretty consistent across all of our environments and apps.

    Any idea what's going on?

    Cheers

    Jules

  • Kevin Jump 2342 posts 14889 karma points MVP 8x c-trib
    Oct 21, 2024 @ 21:12
    Kevin Jump
    0

    Hi,

    Its probably an azure / websockets thing too (i have seen a couple of posts suggesting maybe a linux azure setup, not sure if your azure is linux or windows?).

    but the thing to say is signalr failure will not impact the operation of uSync. the signalR methods are used purely to keep the UI refreshing while the operations happen, and without it, uSync will still perform all the operations and work through any import/export you asik it to do, it will just not update the ui as much (it still updates it a bit).

    to be honest this is just me searching, the last few times i've tested it with azure and webservices its been fine. its likey a config setting somewhere, but i am not really sure where.

  • Jules 276 posts 587 karma points
    Nov 01, 2024 @ 09:20
    Jules
    0

    Thanks Kevin

    In fact I'd already worked that one out. However, was wondering more what changed since signalr has always been a part of usync in the backoffice and we didn't see those errors before. We've never had to change the websockets settings in IIS or AppServices before.

    To confirm though, setting Configuration>Web Sockets to On in the appservice fixes the errors

    Regards

    Jules

  • Kevin Jump 2342 posts 14889 karma points MVP 8x c-trib
    Nov 01, 2024 @ 09:45
    Kevin Jump
    0

    Hi Jules

    Yes in uSync (since v9 and really since v8) I don't think the signalR bit of code has changed much if at all ?

    • About a year ago, we changed the method to make it a bit more generic with the url not being hardwired into the controller. Github Commit

    • Three years ago, we had the methods return true, GitHub commit

    We do use the already existing signalR client libraries that are part of Umbraco so maybe there was an update there - but i suspect very little changes there appart from the when the .net core version is updated.

Please Sign in or register to post replies

Write your reply to:

Draft