Mac Safari OzBargain Page Reload Hangs/Timeout

For past few weeks I've been having problems refreshing and loading the OZBargain web site only on Safari (version 11) on the Mac (using the latest Mac OS High Sierra). A lot of the times the page refresh hangs and eventually timesout say "Server not responding". This doesn't happen for any other website and also when using Chrome, it loads immediately without any problems. Has anyone else experienced this problem?

Comments

  • Are you using an ad blocker? Often they can get in the way. Try disabling it, clearing cache and refreshing if you have.

    • Thanks for the reply. I don't have any ad blockers enabled. The strange thing is that it doesn't happen all the time. I think it might have to do with some "new" settings in Safari 11 … strange that it seems to only affect the OzBargain site

  • came to this forum just for this reason. takes forever to load the page. normally hangs. happened after a fresh install of high Sierra.

    if you r click the address bar > settings for this website > you can disable content blockers per site. no change though. hangs all the time.

    • Does Safari has something like Chrome's developer tools to see whether it's blocked on some network access? Is this only happening with High Sierra not other macOS versions?

      • Hey Scotty, yes Safari has development tools, but I'll need to see how to how to check for what you're asking. The problem actually started when I upgraded Safari to the latest version (v11) which is also built into the new Mac OS (High Sierra). You can actually upgrade Safari to the latest version without upgrading the OS.

      • Hey scotty, I was able to capture the error messages when it gets into a "hung" state, see if you can make any sense of this:

        [Error] Failed to load resource: The operation couldn’t be completed. Protocol error
        [Error] XMLHttpRequest cannot load https://www.ozbargain.com.au/ozbapi/popup/user?uid=30498&v=4… due to access control checks.
        send (jquery.min.js:4:16498)
        ajax (jquery.min.js:4:13330)
        load (jquery.min.js:4:18865)
        openMenu (ozbapp.js:1903)
        hoverMenu (ozbapp.js:1881)
        handle (jquery.min.js:3:13394)
        dispatch (jquery.min.js:3:9928)
        [Error] XMLHttpRequest cannot load https://www.ozbargain.com.au/ozbapi/popup/pages?v=430-30498&… due to access control checks.
        send (jquery.min.js:4:16498)
        ajax (jquery.min.js:4:13330)
        load (jquery.min.js:4:18865)
        openMenu (ozbapp.js:1903)
        hoverMenu (ozbapp.js:1881)
        handle (jquery.min.js:3:13394)
        dispatch (jquery.min.js:3:9928)
        [Error] XMLHttpRequest cannot load https://www.ozbargain.com.au/ozbapi/popup/notifications?v=43… due to access control checks.
        send (jquery.min.js:4:16498)
        ajax (jquery.min.js:4:13330)
        load (jquery.min.js:4:18865)
        openMenu (ozbapp.js:1903)
        hoverMenu (ozbapp.js:1881)
        handle (jquery.min.js:3:13394)
        dispatch (jquery.min.js:3:9928)

        • Looks like Access Control Allow Origin related issue. I'll have a look.

        • Sorry I don't have a Mac. Can you check whether it is working for you now?

        • @scotty: OK will check …. it usually only occurs after I've left my computer for a while and then go back to refresh the OZBargain. Let me test during the day and will get back to you - Thanks!

        • @scotty: Hey Scotty, so far so good, looks like its fixed. So what was the "problem"?

        • @jazzymc: Looks like some CORS changes in Safari. I just make sure Access-Control-Allow-Origin header is always present. Weird that none of other browsers require it for XmlHTTPRequest calls.

        • @scotty: Yep you're right, looks like a change to CORS in the latest version of Safari … I spotted this in the Safari 11.0 version notes:

          • Updated file restrictions to block cross origin access by default.
            CORS and cross origin access from file:// are now blocked unless Disable Local File Restrictions is selected from the Develop menu.

          Thanks for fixing it!!

    • Hey Evostar - I'm so glad I'm not the only one!

  • I just downloaded and installed the Safari Technology Preview browser. ozbargain works fine

Login or Join to leave a comment