Skip to content

Chrome gives RESULT_CODE_KILLED_BAD_MESSAGE on loading a local html from a network shared folder. #6086

@kei51e

Description

@kei51e

Plotly version: 2.8.3
Platform: Windows 10
Chrome: 97.0.4692.99

If you open a local HTML file on a Windows network shared folder with Chrome, it shows RESULT_CODE_KILLED_BAD_MESSAGE.

Looks like it happens if you open an HTML file with a network shared folder path like \\machine-name\folder\index.html. This issue doesn't happen if you copy the HTML file to the local drive like "C:\folder".

It has been working fine until last week. The difference between last week and this week is the Chrome version. Seems like it happens on the recent Chrome.

The other HTML pages are still working fine. Only pages with Plotly fail with this error. If you know how to workaround this problem, please let me know.

image

image

How to Reproduce

  • Prepare a network shared folder.
  • Copy plotly-2.8.3.min.js in the folder.
  • Create an index.html in the folder with the following contents. I prepared a zip file also for convenience.
<head>
        <script src='./plotly-2.8.3.min.js'></script>
</head>
<body>
        <div id='myDiv'><!-- Plotly chart will be drawn inside this DIV --></div>
  <script> 
    var data = [
      {
        x: ['giraffes', 'orangutans', 'monkeys'],
        y: [20, 14, 23],
        type: 'bar'
      }
    ];
    Plotly.newPlot('myDiv', data);
  </script>
</body>
  • Open the shared folder from the a different Windows box using \\machine-name\folder path syntax and open index.html on Chrome.

Related topic on Forum:
https://community.plotly.com/t/chrome-edge-give-result-code-killed-bad-message-on-loading-local-html-from-network-drive/59902

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions