Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Launch Webui with Custom Domain #1748

Closed
raniaamina opened this issue Feb 21, 2023 · 18 comments
Closed

Failed to Launch Webui with Custom Domain #1748

raniaamina opened this issue Feb 21, 2023 · 18 comments
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed Low Priority Issue with low priority Stale Issue with no activity for the last 30 days Web UI Issues or PRs relating to the Web UI

Comments

@raniaamina
Copy link

raniaamina commented Feb 21, 2023

System OS

Linux

Python Version

3.9 (CPython)

Install Source

pip / PyPi

Install version / commit hash

4.0.7

Expected Behavior vs Actual Behavior

I can access web ui that served in my server

Steps to reproduce - Ensure to include actual links!

  1. Install from pip
  2. Run spotdl web
  3. Pointing domain to my server IP and Reversing the port
  4. Access the web ui with custom domain
  5. Got this message in console
Uncaught DOMException: The operation is insecure. [index.51f4422f.js:1](https://sub.mydomain.id/assets/index.51f4422f.js)
    <anonim> https://sub.mydomain.id/assets/index.51f4422f.js:1

Traceback

Updating web app
INFO:     Started server process [3150330]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:8800 (Press CTRL+C to quit)
INFO:     180.251.182.170:0 - "GET / HTTP/1.1" 200 OK
INFO:     180.251.182.170:0 - "GET /robots.txt HTTP/1.1" 404 Not Found
INFO:     180.251.182.170:0 - "GET / HTTP/1.1" 304 Not Modified
INFO:     180.251.182.170:0 - "GET /assets/index.51f4422f.js HTTP/1.1" 200 OK
INFO:     180.251.182.170:0 - "GET /assets/index.d96dcc94.css HTTP/1.1" 200 OK
INFO:     180.251.182.170:0 - "GET /assets/vendor.7698a149.js HTTP/1.1" 200 OK
INFO:     180.251.182.170:0 - "GET /favicon.ico HTTP/1.1" 200 OK
INFO:     180.251.182.170:0 - "GET / HTTP/1.1" 200 OK
kf.xmlgui: Shortcut for action  "walletFillFormsNow" "&Fill forms now" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
INFO:     127.0.0.1:58292 - "GET / HTTP/1.1" 200 OK
INFO:     127.0.0.1:59878 - "GET /assets/vendor.7698a149.js HTTP/1.1" 200 OK

Other details

No response

@raniaamina raniaamina added the Bug Unexpected problem or unintended behavior that needs to be fixed label Feb 21, 2023
@raniaamina raniaamina changed the title Failed to Launh Webui After with Domain Failed to Launh Webui with Custom Domain Feb 21, 2023
@raniaamina raniaamina changed the title Failed to Launh Webui with Custom Domain Failed to Launch Webui with Custom Domain Feb 21, 2023
@xnetcat
Copy link
Member

xnetcat commented Feb 27, 2023

Can you provide more logs from console, and instructions to create a minimal setup for this scenario?

@xnetcat xnetcat added the Low Priority Issue with low priority label Feb 27, 2023
@Converted007
Copy link

Can you provide more logs from console, and instructions to create a minimal setup for this scenario?

Cant seem the web ui or spotdl to work as soon as i change the download path and the bitrate...
screenshot_20230301_215544
screenshot_20230301_215750
Can u help me? Thanks

@xnetcat
Copy link
Member

xnetcat commented Mar 1, 2023

Can you provide more logs from console, and instructions to create a minimal setup for this scenario?

Cant seem the web ui or spotdl to work as soon as i change the download path and the bitrate... screenshot_20230301_215544 screenshot_20230301_215750 Can u help me? Thanks

You have to escape the save file path like in cache path C:\\Users\\rafae\\Downloads\\file.spotdl. Also it can't be a directory, it has to be a file ending with .spotdl

@Converted007
Copy link

Can you provide more logs from console, and instructions to create a minimal setup for this scenario?

Cant seem the web ui or spotdl to work as soon as i change the download path and the bitrate... screenshot_20230301_215544 screenshot_20230301_215750 Can u help me? Thanks

You have to escape the save file path like in cache path C:\\Users\\rafae\\Downloads\\file.spotdl. Also it can't be a directory, it has to be a file ending with .spotdl

The previous version u could just add a download path no? Or did that changed?

@xnetcat
Copy link
Member

xnetcat commented Mar 1, 2023

to change download path you have to use output option, not save file

@Converted007
Copy link

to change download path you have to use output option, not save file

Ah ok. Sorry. But issue persists tho when changing the bitrate from null to 320k. Gettin the same messages in console...

@xnetcat
Copy link
Member

xnetcat commented Mar 1, 2023

you have to use double slashes for paths on windows \\

@Converted007
Copy link

you have to use double slashes for paths on windows \\

Even for the bitrate option?

@xnetcat
Copy link
Member

xnetcat commented Mar 1, 2023

no, bitrate looks good. I am guessing that the save path/output path is still wrong. Can you show me the new config?

@Converted007
Copy link

Converted007 commented Mar 1, 2023

Got it working. But as soon as i change the bitrate the same issue again.
screenshot_20230301_221240

@xnetcat
Copy link
Member

xnetcat commented Mar 1, 2023

it has to be inside of the quotes "320k"

@Converted007
Copy link

Converted007 commented Mar 1, 2023

it has to be inside of the quotes "320k"

Damn working. LoL, Sorry stupid me. Thanks so much! Is it normal that the download is kinda slow rn? Like right now the download is way slower than the previous version. No idea why

@xnetcat
Copy link
Member

xnetcat commented Mar 1, 2023

it has to be inside of the quotes "320k"

Damn working. LoL, Sorry stupid me. Thanks so much! Is it normal that the download is kinda slow rn? Like right now the download is way slower than the previous version. No idea why

That's a bug in yt-dlp should be fixed in few hours yt-dlp/yt-dlp#6369

@Converted007
Copy link

Converted007 commented Mar 1, 2023

it has to be inside of the quotes "320k"

Damn working. LoL, Sorry stupid me. Thanks so much! Is it normal that the download is kinda slow rn? Like right now the download is way slower than the previous version. No idea why

That's a bug in yt-dlp should be fixed in few hours yt-dlp/yt-dlp#6369

Okido. Thanks! Was scared it was my pc lol.

Edit: So changing the preload option to true isnt nessesary?

@Converted007
Copy link

it has to be inside of the quotes "320k"

Damn working. LoL, Sorry stupid me. Thanks so much! Is it normal that the download is kinda slow rn? Like right now the download is way slower than the previous version. No idea why

That's a bug in yt-dlp should be fixed in few hours yt-dlp/yt-dlp#6369

Last question. Before i used the .exe download to open web ui in my browser. But since the 4.1.0 update it doesnt do that anymore when i i double click the downloaded .exe file. Or i have to start the web ui from command line as off now?

@xnetcat xnetcat added the Web UI Issues or PRs relating to the Web UI label Mar 2, 2023
@Converted007
Copy link

it has to be inside of the quotes "320k"

Damn working. LoL, Sorry stupid me. Thanks so much! Is it normal that the download is kinda slow rn? Like right now the download is way slower than the previous version. No idea why

That's a bug in yt-dlp should be fixed in few hours yt-dlp/yt-dlp#6369

Is it normal that the hotfix of spotdl cant be updated or downloaded thru pip? Still says 4.1.0 is the latest version.

@stale
Copy link

stale bot commented Apr 2, 2023

This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.

@stale stale bot added the Stale Issue with no activity for the last 30 days label Apr 2, 2023
@xnetcat
Copy link
Member

xnetcat commented Apr 15, 2023

web-ui now supports secure websockets

@xnetcat xnetcat closed this as completed Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed Low Priority Issue with low priority Stale Issue with no activity for the last 30 days Web UI Issues or PRs relating to the Web UI
Projects
None yet
Development

No branches or pull requests

3 participants