Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32118

Opening Robot Framework log failed

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: robot-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.642, Robot Framework plugin 1.6.2
    • Similar Issues:

      Description

      When trying to open Robot Framework log (or report) I get an error in my browser:
      "...
      Opening Robot Framework log failed

      Verify that you have JavaScript enabled in your browser.
      Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended.
      Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug.
      ..."

      I am using Firefox v. 43 where javascript.enabled is true.

        Attachments

          Issue Links

            Activity

            Hide
            edsherwin Ed Sherwin Nonog added a comment -

            Hi everyone, any solution on this problem? Thanks

            Opening Robot Framework log failed

            Verify that you have JavaScript enabled in your browser.
            Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended.
            Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug.

            Show
            edsherwin Ed Sherwin Nonog added a comment - Hi everyone, any solution on this problem? Thanks Opening Robot Framework log failed Verify that you have JavaScript enabled in your browser. Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended. Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug.
            Hide
            gpsingh Gurpreet Singh added a comment -

            Ed Sherwin Nonog

            To workaround in firefox:
            Go to page about:config
            Set security.csp.enable = false

            For chrome we can use this plugin: Disable Content-Security-Policy

            Show
            gpsingh Gurpreet Singh added a comment - Ed Sherwin Nonog To workaround in firefox: Go to page about:config Set security.csp.enable = false For chrome we can use this plugin: Disable Content-Security-Policy
            Hide
            edsherwin Ed Sherwin Nonog added a comment -

            Gurpreet Singh

            This works for me. Thanks a lot.

            Show
            edsherwin Ed Sherwin Nonog added a comment - Gurpreet Singh This works for me. Thanks a lot.
            Hide
            vipsaran Robert Saric added a comment -

            A more universal workaround is described [here](http://stackoverflow.com/a/36996036/451962).

            To fix this error add below entry to Jenkins configuration file (jenkins.xml):
            -Dhudson.model.DirectoryBrowserSupport.CSP=
            and restart Jenkins (with http://(jenkins_url)/safeRestart).

            Show
            vipsaran Robert Saric added a comment - A more universal workaround is described [here] ( http://stackoverflow.com/a/36996036/451962 ). To fix this error add below entry to Jenkins configuration file (jenkins.xml): -Dhudson.model.DirectoryBrowserSupport.CSP= and restart Jenkins (with http://(jenkins_url)/safeRestart ).
            Hide
            alec_m Alec Matschiner added a comment -

            I've been using SCP plugin to publish the resulting log.html out to a directory I can grab it from. Sort of a way of dealing with this. However it would be extremely nice to be able to have this working without a work around. Is there any update on this?

            Show
            alec_m Alec Matschiner added a comment - I've been using SCP plugin to publish the resulting log.html out to a directory I can grab it from. Sort of a way of dealing with this. However it would be extremely nice to be able to have this working without a work around. Is there any update on this?

              People

              • Assignee:
                tarik_remous Tarik Remous
                Reporter:
                romek_es Roman Solus
              • Votes:
                34 Vote for this issue
                Watchers:
                51 Start watching this issue

                Dates

                • Created:
                  Updated: