Skip to content

PuppeteerSharpRendererOptions.localBrowserExecutablePath still tries to communicate with outside #484

@draptik

Description

@draptik

I am trying to understand how to configure Plotly.NET so it does not require a connection to the internet.

The setup I am dealing with:

  • a dotnet c# web-api, which calls an f# module using Plotly.NET
  • I pass the path to a local chrome instance as parameter
  • I use PuppeteerSharpRendererOptions.localBrowserExecutablePath <- Some validpath
  • The path is configured in appsettings.json,i.e.:
  "ChromeSettings": {
    "Path": "/same-directory/as-the-application/chrome-linux64/chrome"
  }

With strict firewall settings on the target machine, I can see that there are still calls to the outside which are prohibited.
This leads to a timeout.

Opening some IPs in the firewall solved the problem, but that shouldn't be needed, if the local chrome version works.

This is an absolute show-stopper: This library should not communicate with the outside, once deployed.

I am a bit at a loss:

  • what options do I have?
  • is there a simple way of providing a minimal example?
  • worst case: are there similar libraries for dotnet?

Thankful for any pointers.

Versions:

    <PackageVersion Include="Plotly.NET" Version="5.1.0"/>
    <PackageVersion Include="Plotly.NET.ImageExport" Version="6.1.0"/>
{
  "sdk": {
    "version": "8.0.0",
    "rollForward": "latestMajor",
    "allowPrerelease": true
  }
}

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