[Feedback]: Add Https server support #485
Labels
No labels
Wrong-Place
bug
cli
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
ice
invalid
question
request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Creepso/multi-downloader-nx#485
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
GUI
Suggestion
When I access the server using the cloudflare tunnel I get errors on the websocket because the server uses http and cloudflare argo uses https. The only way to access the webinterface is to disable the browser's security settings, with the implementation of wss this would be resolved.
Until v4.6.3 I was able to use wss by making a small modification to the file
gui/server/build/static/js/main.*.jsbut with the new version of the GUI now I am no longer able to do so.That makes sense, I completely redid the build process, it's now under
gui/server/react/build/index.js, just search forws://... though I'm surprised we haven't implemented this yettheoretically, fixing this should be as simple as changing the connection to be
${location.protocol == 'https:' ? 'wss' : 'ws'}instead of explicitly telling it wsImplemented in
773bbf034c, let me know if it works for you.I compiled a build with this update and it worked. thank you very much.
Same here. I just installed it on my self hosted server and it works like a charm 👍