Announcement

Collapse
No announcement yet.

Failed to load resource: net::ERR_INSECURE_RESPONSE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Failed to load resource: net::ERR_INSECURE_RESPONSE

    Working on a dev site and editing the Ready Theme Main navigation bar. I'm receiving the following error in the console log.

    Failed to load resource: net::ERR_INSECURE_RESPONSE

    https://dev.domain.net/store/json.mv...FieldList_Load

    Failed to load resource: net::ERR_INSECURE_RESPONSE

    https://dev.domain.net/store/json.mv...ionItem_Insert

    Basically when I'm adding a new nav item and click the "Add" button nothing happens, but the error is generated in the console log.

    This is a dev site on a subdomain of the live site, not a Miva dev. Is this a matter of the dev site not being set up correctly? I haven't encountered this error until now, while working on the menu.
    Ron Frigon
    Jedi Webmaster Obi-Ron Kenobi

    #2
    Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

    I must have some other issues going on. No I'm also getting the following error when updating the "Header".

    Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://dev.domain.net" from accessing a frame with origin "null". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "data". Protocols must match.

    I've already done quite a bit of work on this site and really close to going live with it. Making some final changes and now I'm getting all the console errors in the admin...
    Ron Frigon
    Jedi Webmaster Obi-Ron Kenobi

    Comment


      #3
      Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

      Originally posted by Ron Frigon View Post
      I must have some other issues going on. No I'm also getting the following error when updating the "Header".

      Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://dev.domain.net" from accessing a frame with origin "null". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "data". Protocols must match.

      I've already done quite a bit of work on this site and really close to going live with it. Making some final changes and now I'm getting all the console errors in the admin...
      Hello Ron Frigon,

      Sounds like an issue with you loading the dev site securely and it doesn't actually have a cert for the dev site. Is this dev site running on a Plesk server? If so what version of Plesk is it, you should be able to apply the live sites ssl cert to the subdomain and newer browsers that support SNI should load the dev site securely without any weird security warnings. Do you get the same errors if you load the dev site non securely?




      Regards
      Rafael Buelna
      Miva Support Engineer
      800.608.MIVA (24/7 Support)
      http://www.miva.com
      http://www.miva.com/support

      Comment


        #4
        Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

        Hey Rafael,

        The site is on a Plesk server: Parallels Plesk 12.0.18

        I don't have any issues at all on the front end of dev, only in the admin. And this is a new issue, only started today.

        Do you get the same errors if you load the dev site non securely?


        Are you saying I should change the
        Secure URL to Administration under domain settings to http://?

        Ron Frigon
        Jedi Webmaster Obi-Ron Kenobi

        Comment


          #5
          Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

          Originally posted by Ron Frigon View Post
          Hey Rafael,

          The site is on a Plesk server: Parallels Plesk 12.0.18

          I don't have any issues at all on the front end of dev, only in the admin. And this is a new issue, only started today.



          Are you saying I should change the
          Secure URL to Administration under domain settings to http://?

          Do we host the site? And yes, try switching the dev sites URL config so that it's not using https:// and then see if you get the same errros?

          Regards
          Rafael Buelna
          Miva Support Engineer
          800.608.MIVA (24/7 Support)
          http://www.miva.com
          http://www.miva.com/support

          Comment


            #6
            Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

            No, the site is not hosted with Miva.

            I just now went into the admin and was able to add a few child navigation items, no problems... Ok, that's weird. Haven't been able to do anything for hours.

            If the issue comes up again i'll change the url config and report back.

            Thanks Rafael
            Ron Frigon
            Jedi Webmaster Obi-Ron Kenobi

            Comment


              #7
              Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

              Originally posted by Ron Frigon View Post
              No, the site is not hosted with Miva.

              I just now went into the admin and was able to add a few child navigation items, no problems... Ok, that's weird. Haven't been able to do anything for hours.

              If the issue comes up again i'll change the url config and report back.

              Thanks Rafael
              Hello Ron Frigon,

              OK sounds good. I have a hunch it was probably just a certificate mismatch issue with the browser, it sounds like you were probably using Google Chrome. Typically people don't purchase ssl certificates for dev sites, but like I mentioned before you can assign the live sites ssl cert in that version of Plesk that you are running. If it is not assigned now, and you have the dev site configured with secure URLs then you're going to run into odd issues like that because you're loading the dev site securely and it doesn't actually have any ssl cert assigned to the domain.

              Regards
              Rafael Buelna
              Miva Support Engineer
              800.608.MIVA (24/7 Support)
              http://www.miva.com
              http://www.miva.com/support

              Comment


                #8
                Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

                Yes I am using Chrome. The issue did come up again so I changed the url config, which caused a redirect loop. Probably a cache issue, but works fine in a different browser.

                Thank You!
                Ron Frigon
                Jedi Webmaster Obi-Ron Kenobi

                Comment


                  #9
                  Re: Failed to load resource: net::ERR_INSECURE_RESPONSE

                  Well... I still ended up having some issues. So I changed the url config back to https and applied the SSL from the live site to dev. So far so good.
                  Ron Frigon
                  Jedi Webmaster Obi-Ron Kenobi

                  Comment

                  Working...
                  X