[Feedback]: Add Https server support #485

Open
opened 2023-05-08 18:14:10 +00:00 by crackerbad · 6 comments
crackerbad commented 2023-05-08 18:14:10 +00:00 (Migrated from github.com)

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.

### 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.
crackerbad commented 2024-04-23 01:28:01 +00:00 (Migrated from github.com)

Until v4.6.3 I was able to use wss by making a small modification to the file gui/server/build/static/js/main.*.js but with the new version of the GUI now I am no longer able to do so.

Until v4.6.3 I was able to use wss by making a small modification to the file ```gui/server/build/static/js/main.*.js``` but with the new version of the GUI now I am no longer able to do so.
AnimeDL commented 2024-04-23 01:36:29 +00:00 (Migrated from github.com)

Until v4.6.3 I was able to use wss by making a small modification to the file gui/server/build/static/js/main.*.js but 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 for ws://... though I'm surprised we haven't implemented this yet

> Until v4.6.3 I was able to use wss by making a small modification to the file `gui/server/build/static/js/main.*.js` but 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 for `ws://`... though I'm surprised we haven't implemented this yet
AnimeDL commented 2024-04-23 01:40:56 +00:00 (Migrated from github.com)

theoretically, fixing this should be as simple as changing the connection to be ${location.protocol == 'https:' ? 'wss' : 'ws'} instead of explicitly telling it ws

theoretically, fixing this should be as simple as changing the connection to be `${location.protocol == 'https:' ? 'wss' : 'ws'}` instead of explicitly telling it ws
AnimeDL commented 2024-04-23 21:40:19 +00:00 (Migrated from github.com)

Implemented in 773bbf034c, let me know if it works for you.

Implemented in 773bbf034ccd2fddd897c0603a67c3580c93ffb2, let me know if it works for you.
crackerbad commented 2024-04-25 21:43:12 +00:00 (Migrated from github.com)

Implemented in 773bbf0, let me know if it works for you.

I compiled a build with this update and it worked. thank you very much.

> Implemented in [773bbf0](https://github.com/anidl/multi-downloader-nx/commit/773bbf034ccd2fddd897c0603a67c3580c93ffb2), let me know if it works for you. I compiled a build with this update and it worked. thank you very much.
abaurens commented 2024-04-26 15:36:29 +00:00 (Migrated from github.com)

Same here. I just installed it on my self hosted server and it works like a charm 👍

Same here. I just installed it on my self hosted server and it works like a charm 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Creepso/multi-downloader-nx#485
No description provided.