scanoss / sbom-workbench

The SCANOSS SBOM Workbench graphical user interface to scan and audit your source code.
https://scanoss.com/
Other
47 stars 9 forks source link

proxy support #357

Closed tardyp closed 1 year ago

tardyp commented 2 years ago

Hello,

When running the workbench inside a corporate network protected by an http proxy, the scanner fails to connect to api server

image

Unlike python ecosystem, the electron ecosystem is usually not proxy friendly by default.

I can see some packages that support autodetecting proxy. I haven't tested it. https://www.npmjs.com/package/electron-proxy-agent

francostramana commented 2 years ago

Thank you @tardyp for you report. We're taking care of that. We are doing some tests with our proxies and it works correctly for us.

Could you do a simple test for us in the same network using directly scanner-js cli package? https://www.npmjs.com/package/scanoss

woznik commented 2 years ago

Hello I just did a test after configuring my corporate proxy and sadly there is still a time out reaching the external server: image the same from cmd: image Is there any way to configure the proxy on windows or linux host?

francostramana commented 1 year ago

Proxy support added in version 1.5.0. Thank you very much for your contribution.