Search Unity

Getting a 10-20 second delay on the forums when logged in.

Discussion in 'Meta-forum Discussion' started by Arowx, May 13, 2019.

  1. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    7,073
    Hope you can help.

    Anyone else experiencing this issue?

    I'm working around this delay by browsing the forum in one browser logged out and another for posting logged in.

    However every editor interaction triggers a 10-20 second delay, so adding images/videos/code all take way longer than they should, I might just have to learn the embed codes as it will be quicker typing them than waiting 20 seconds.
     
  2. larslinnet

    larslinnet

    Unity Technologies

    Joined:
    Jul 5, 2018
    Posts:
    5
    Hey Arowx,

    I am not able to reproduce this issue you are having – can you elaborate on what actions you are taking for this to happen?

    Best regards,
    Lars
    Unity - Web team

    Testing Embed of content:



    ionut-necula-1081756-unsplash.jpg
     
  3. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    7,073
    I'm seeing a batch of warnings and errors in the chrome browser console
    jquery-1.11.0.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
    send @ jquery-1.11.0.min.js:4
    ajax @ jquery-1.11.0.min.js:4
    n._evalUrl @ jquery-1.11.0.min.js:4
    domManip @ jquery-1.11.0.min.js:3
    append @ jquery-1.11.0.min.js:3
    modalInit @ redactor.js:150
    (anonymous) @ redactor.js:148
    j @ jquery-1.11.0.min.js:2
    fireWith @ jquery-1.11.0.min.js:2
    x @ jquery-1.11.0.min.js:4
    b @ jquery-1.11.0.min.js:4
    jquery-1.11.0.min.js:4 [Violation] 'readystatechange' handler took 510ms
    [Violation] Forced reflow while executing JavaScript took 50ms
    (unknown) XenForo.activate(#document)
    (unknown) Unable to find menu for Popup e.fn.init [li.navTab.members.Popup.PopupControl.PopupClosed, context: li.navTab.members.Popup.PopupControl.PopupClosed]
    __construct
    XenForo.PopupMenu
    create
    b
    each
    each
    (anonymous)
    dispatch
    r.handle
    trigger
    e.event.trigger
    (anonymous)
    each
    each
    trigger
    activate
    init
    (anonymous)
    j
    fireWith
    ready
    (unknown) Unable to find menu for Popup e.fn.init [li.navTab.navigationHiddenTabs.Popup.PopupControl.PopupClosed.PopupContainerControl, context: li.navTab.navigationHiddenTabs.Popup.PopupControl.PopupClosed.PopupContainerControl]
    __construct
    XenForo.PopupMenu
    create
    b
    each
    each
    (anonymous)
    dispatch
    r.handle
    trigger
    e.event.trigger
    (anonymous)
    each
    each
    trigger
    activate
    init
    (anonymous)
    j
    fireWith
    ready
    (unknown) Unable to find menu for Popup e.fn.init [li.navTab.account.Popup.PopupControl.PopupClosed.PopupContainerControl, context: li.navTab.account.Popup.PopupControl.PopupClosed.PopupContainerControl]
    __construct
    XenForo.PopupMenu
    create
    b
    each
    each
    (anonymous)
    dispatch
    r.handle
    trigger
    e.event.trigger
    (anonymous)
    each
    each
    trigger
    activate
    init
    (anonymous)
    j
    fireWith
    ready
    (unknown) Unable to find menu for Popup e.fn.init [li.navTab.inbox.Popup.PopupControl.PopupClosed.PopupContainerControl, context: li.navTab.inbox.Popup.PopupControl.PopupClosed.PopupContainerControl]
    __construct
    XenForo.PopupMenu
    create
    b
    each
    each
    (anonymous)
    dispatch
    r.handle
    trigger
    e.event.trigger
    (anonymous)
    each
    each
    trigger
    activate
    init
    (anonymous)
    j
    fireWith
    ready
    (unknown) Unable to find menu for Popup e.fn.init [li.navTab.alerts.Popup.PopupControl.PopupClosed.PopupContainerControl, context: li.navTab.alerts.Popup.PopupControl.PopupClosed.PopupContainerControl]
    __construct
    XenForo.PopupMenu
    create
    b
    each
    each
    (anonymous)
    dispatch
    r.handle
    trigger
    e.event.trigger
    (anonymous)
    each
    each
    trigger
    activate
    init
    (anonymous)
    j
    fireWith
    ready
    (unknown) Unable to find menu for Popup e.fn.init [div.Popup, context: div.Popup]
    __construct
    XenForo.PopupMenu
    create
    b
    each
    each
    (anonymous)
    dispatch
    r.handle
    trigger
    e.event.trigger
    (anonymous)
    each
    each
    trigger
    activate
    init
    (anonymous)
    j
    fireWith
    ready
    (unknown) XenForo.init() 95ms. jQuery 1.11.0/1.2.8-dev
    [Violation] 'setTimeout' handler took 120ms
    [Violation] Forced reflow while executing JavaScript took 39ms
    [Violation] Forced reflow while executing JavaScript took 60ms
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
    www-embed-player.js:540 [Violation] 'setTimeout' handler took 93ms
    www-embed-player.js:384 GET https://googleads.g.doubleclick.net/pagead/id net::ERR_CONNECTION_REFUSED
    Le @ www-embed-player.js:384
    Ke @ www-embed-player.js:369
    (anonymous) @ www-embed-player.js:625
    J @ www-embed-player.js:251
    oi @ www-embed-player.js:622
    me @ www-embed-player.js:635
    Ai @ www-embed-player.js:640
    Bi @ www-embed-player.js:641
    (anonymous) @ www-embed-player.js:658
    (anonymous) @ YlcX-O7fRic:12
    www-embed-player.js:413 GET https://static.doubleclick.net/instream/ad_status.js net::ERR_CONNECTION_REFUSED
    vf @ www-embed-player.js:413
    sf @ www-embed-player.js:410
    rf @ www-embed-player.js:409
    Ff @ www-embed-player.js:425
    (anonymous) @ www-embed-player.js:659
    (anonymous) @ YlcX-O7fRic:12
    embed:1 GET https://stats.g.doubleclick.net/r/c...558012241&gjid=1124952460&_v=j75&z=1857067274 net::ERR_CONNECTION_REFUSED
    www-embed-player.js:401 [Violation] 'setTimeout' handler took 66ms
    vendors-ae4ca8f3cbab3dc9b775.js:159 couldn't load mixpanel
    /threads/getting-a-10-20-second-delay-on-the-forums-when-logged-in.677242/#post-4547806:1 Mixed Content: The page at 'https://forum.unity.com/threads/get...he-forums-when-logged-in.677242/#post-4547806' was loaded over HTTPS, but requested an insecure font 'https:'. This request has been blocked; the content must be served over HTTPS.
    /threads/getting-a-10-20-second-delay-on-the-forums-when-logged-in.677242/#post-4547806:1 Mixed Content: The page at 'https://forum.unity.com/threads/get...he-forums-when-logged-in.677242/#post-4547806' was loaded over HTTPS, but requested an insecure font 'https:'. This request has been blocked; the content must be served over HTTPS.
    /threads/getting-a-10-20-second-delay-on-the-forums-when-logged-in.677242/#post-4547806:1 Mixed Content: The page at 'https://forum.unity.com/threads/get...he-forums-when-logged-in.677242/#post-4547806' was loaded over HTTPS, but requested an insecure font 'https:'. This request has been blocked; the content must be served over HTTPS.
    /threads/getting-a-10-20-second-delay-on-the-forums-when-logged-in.677242/#post-4547806:1 Mixed Content: The page at 'https://forum.unity.com/threads/get...he-forums-when-logged-in.677242/#post-4547806' was loaded over HTTPS, but requested an insecure font 'https:'. This request has been blocked; the content must be served over HTTPS.
    www-embed-player.js:384 GET https://googleads.g.doubleclick.net/pagead/id net::ERR_CONNECTION_REFUSED
    Le @ www-embed-player.js:384
    Ke @ www-embed-player.js:369
    (anonymous) @ www-embed-player.js:625
    J @ www-embed-player.js:251
    oi @ www-embed-player.js:622
    (anonymous) @ www-embed-player.js:639
    www-embed-player.js:384 GET https://googleads.g.doubleclick.net/pagead/id net::ERR_CONNECTION_REFUSED
    Le @ www-embed-player.js:384
    Ke @ www-embed-player.js:369
    (anonymous) @ www-embed-player.js:625
    J @ www-embed-player.js:251
    oi @ www-embed-player.js:622
    (anonymous) @ www-embed-player.js:639
    setTimeout (async)
    S @ www-embed-player.js:357
    zi @ www-embed-player.js:639
    yi @ www-embed-player.js:638
    (anonymous) @ www-embed-player.js:639
    e.onRejected @ www-embed-player.js:263
    Hd @ www-embed-player.js:275
    Cd @ www-embed-player.js:274
    J.m @ www-embed-player.js:273
    Tc @ www-embed-player.js:208
    Promise.then (async)
    Pc @ www-embed-player.js:206
    Oc @ www-embed-player.js:205
    Ed @ www-embed-player.js:271
    sd @ www-embed-player.js:267
    (anonymous) @ www-embed-player.js:251
    a.onError @ www-embed-player.js:623
    (anonymous) @ www-embed-player.js:369
    g @ www-embed-player.js:383
    XMLHttpRequest.send (async)
    Le @ www-embed-player.js:384
    Ke @ www-embed-player.js:369
    (anonymous) @ www-embed-player.js:625
    J @ www-embed-player.js:251
    oi @ www-embed-player.js:622
    (anonymous) @ www-embed-player.js:639
     
  4. larslinnet

    larslinnet

    Unity Technologies

    Joined:
    Jul 5, 2018
    Posts:
    5
    Hey Arowx,

    I will create an internal ticket for this for further followups, I have not been able to reproduce the errors you are seeing.

    Best regards,
    Lars
    Unity - Web team

    For reference the internal id is WSD-2618
     
  5. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    7,073
    I ran the Unity forum site through a web analysis tool (dareboost.com) and it raised a number of potential problems:
    • [Security] This page is exposed to the Mixed Content issue
    • [Single Point of Failure] 2 critical dependencies detected
    • [Update Required] Consider using jQuery 1.12
    • [Browser Rendering] This page contains too many DOM elements (1840 elements).
    • [Security] The Content Security Policy is missing
    The mixed content and content security policy item sound similar in description to the errors I was seeing in the chrome browser console.

    Hope this helps.