1. #1

    Troubles after Installing new OS

    I recently upgraded my motherboard and CPU, so I had to reinstall Win7. After updating everything, I can think of, I have come upon a major issue. I am taking an online class on the site Advanced Academics, however the webpages are taking between 5-15 minutes to load, which is strange because everything else loads in seconds, this site did too on my previous install, as well on school computers, so it's not a server issue. So I did some digging, and looked at the JavaScript console for errors where I found these:

    Unsafe JavaScript attempt to access frame with URL http://roads.advancedacademics.com/p...b/default.aspx from frame with URL https://roads.advancedacademics.com/...chatlogin=True. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.


    XMLHttpRequest cannot load https://roads.advancedacademics.com/...andard%20Time). Origin http://roads.advancedacademics.com is not allowed by Access-Control-Allow-Origin.

    Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101


    I have asked the support for this site about these issues, and haven't gotten much help, so I decided to ask here, hoping for more intelligent people, or maybe someone who knows about javascript coding.

    TL;DR Reinstalled Win7 and a site now takes 5-15 minutes to load and I have a 1/3 of a semester's worth of work to do in 6 days, which I can't do under these circumstances, error messages posted above^^

  2. #2
    I am Murloc! Cyanotical's Avatar
    10+ Year Old Account
    Join Date
    Feb 2011
    Location
    Colorado
    Posts
    5,553
    what browser are you using?

  3. #3
    Quote Originally Posted by Cyanotical View Post
    what browser are you using?
    I typically use chrome, however I tried IE and FireFox to see if they would do the same thing, and neither work.
    Last edited by Kevin38924; 2012-12-14 at 07:52 AM.

  4. #4
    Partying in Valhalla
    Annoying's Avatar
    15+ Year Old Account
    Join Date
    Aug 2008
    Location
    Socorro, NM, USA
    Posts
    10,657
    This is a cross-site scripting security *feature* in javascript. Try changing the link from http://.... to https://.... (or vice versa). Looks like one is using SSL security and the other isn't.

  5. #5
    Quote Originally Posted by Annoying View Post
    This is a cross-site scripting security *feature* in javascript. Try changing the link from http://.... to https://.... (or vice versa). Looks like one is using SSL security and the other isn't.
    Do you know how I can do this? The https site is the one that I have to access, and it's only in https, the other sites are objects loaded into the https site, and I don't think I can change them?

  6. #6
    Did you complete all of the Windows 7 updates via Windows Update, including the service pack and whatnot?

  7. #7
    Partying in Valhalla
    Annoying's Avatar
    15+ Year Old Account
    Join Date
    Aug 2008
    Location
    Socorro, NM, USA
    Posts
    10,657
    Hrm, last ditch fix. THIS IS SUPER UNSAFE AND IF YOUR DATA SECURITY IS IMPORTANT DON'T DO THIS.
    Copy your chrome shortcut.
    Rename the new one "UNSAFE CHROME".
    Right Click -> Properties on it.
    Shortcut Tab.
    After the last quote, add:

    –disable-web-security

    Should look like this:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" –disable-web-security
    With your own path to chrome.exe, of course.

    Like I said, this essentially allows for cross-site scripting, which is what's happening. If this doesn't fix it, it's something deeper in the javascript/XML/AJAX being used.



    Additionally, I get this:
    Code:
    LogOn.aspx    GET    200OK    text/html    http://roads.advancedacademics.com    redirect
    Try copy/pasting this in your browser:
    https://roads.advancedacademics.com/...Web/LogOn.aspx
    Instead of the main website. See if that works. Doing that eliminates what appears to be an http redirect.
    Last edited by Annoying; 2012-12-14 at 03:13 PM.

  8. #8
    Quote Originally Posted by Annoying View Post
    Hrm, last ditch fix. THIS IS SUPER UNSAFE AND IF YOUR DATA SECURITY IS IMPORTANT DON'T DO THIS.
    Copy your chrome shortcut.
    Rename the new one "UNSAFE CHROME".
    Right Click -> Properties on it.
    Shortcut Tab.
    After the last quote, add:

    –disable-web-security

    Should look like this:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" –disable-web-security
    With your own path to chrome.exe, of course.

    Like I said, this essentially allows for cross-site scripting, which is what's happening. If this doesn't fix it, it's something deeper in the javascript/XML/AJAX being used.



    Additionally, I get this:
    Code:
    LogOn.aspx    GET    200OK    text/html    http://roads.advancedacademics.com    redirect
    Try copy/pasting this in your browser:
    https://roads.advancedacademics.com/...Web/LogOn.aspx
    Instead of the main website. See if that works. Doing that eliminates what appears to be an http redirect.
    No luck with either of them =/

    ---------- Post added 2012-12-14 at 11:07 AM ----------

    Quote Originally Posted by Erous View Post
    Did you complete all of the Windows 7 updates via Windows Update, including the service pack and whatnot?
    Yes, I updated everything that I could think of, and the OS was priority #1.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •