devolutions-gateway icon indicating copy to clipboard operation
devolutions-gateway copied to clipboard

Cannot build webapp without Artifactory access

Open mattieb opened this issue 8 months ago • 3 comments

I was looking to build what's in "webapp" and ran into auth issues trying to run "npm i":

289 verbose stack HttpErrorAuthUnknown: Unable to authenticate, need: Basic realm="Artifactory Realm"
289 verbose stack     at /home/me/.nodenv/versions/20.18.3/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:80:17
289 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
290 verbose statusCode 401
291 verbose pkgid @devolutions/web-telnet-gui@https://devolutions.jfrog.io/devolutions/api/npm/npm/@devolutions/web-telnet-gui/-/@devolutions/web-telnet-gui-0.2.19.tgz

I don't know if y'all intend for webapp to be buildable outside your org or not, but I can't at the moment.

mattieb avatar Apr 15 '25 00:04 mattieb

Hi,

Indeed, some of our web clients are not open source, and published on a private Artifactory.

However, I’m open to support building the "webapp" (Devolutions Gateway Standalone Web UI) without access to the private Artifactory. The idea would be to turn the closed source client packages into optional dependencies. Only our official builds would include these, but it would be possible for anyone to make an "open source build" with less features.

CBenoit avatar Apr 15 '25 07:04 CBenoit

Gotcha. For what it's worth, I don't have any concrete plans to do development on webapp at this time—I was exploring the codebase to see how far I could get pulling together a standalone gateway build, purely at a hobby level.

I'd been able to use this Linux Docker build to pull together a very simple setup with no dependencies and no OS requirements, and was wondering what it would take to build a newer image for myself.

I was eventually able to hack something together without building webapp (or anything), based on artifacts from d-g and cadeau, leveraging the Dockerfile (though the -ps zip seemed kind of broken, for what it's worth.)

I do like the idea of open builds. Looks like they might primarily not have VNC, SSH, or Telnet support? ~Not immediately clear what would be missing without "@devolutions/iron-remote-gui", though.~ (Sorry, I missed that @d/i-r-g is actually public!)

mattieb avatar Apr 15 '25 09:04 mattieb

Hi,

Indeed, some of our web clients are not open source, and published on a private Artifactory.

However, I’m open to support building the "webapp" (Devolutions Gateway Standalone Web UI) without access to the private Artifactory. The idea would be to turn the closed source client packages into optional dependencies. Only our official builds would include these, but it would be possible for anyone to make an "open source build" with less features.

I for one would appreciate being able to build the RDP web client by its self excluding the proprietary ones

flpydsk avatar Jun 06 '25 08:06 flpydsk