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

Request failed with status code 405 #39

Closed
jonskoglund opened this issue Aug 31, 2022 · 14 comments
Closed

Request failed with status code 405 #39

jonskoglund opened this issue Aug 31, 2022 · 14 comments

Comments

@jonskoglund
Copy link

What a wonderful theme. Unfortunately i get this error at he login screen. How do I fix this? I have qBittorrent 4.4.4.
Screenshot 2022-08-31 at 11 00 07

@austinclamon
Copy link

+1

@infinitenewworld
Copy link

+1 dying to use this!

@chiuyin
Copy link

chiuyin commented Sep 3, 2022

+1 how can I restore to the default UI without logging in? Adding “api/v2/app/setPreferences?json=%7B%22alternative_webui_enabled%22:false%7D” after the URL no longer works.

@ntoporcov
Copy link
Owner

Did some investigation on this now in the morning.

It looks like a bug in 4.4.4 :(

My request is identical to this https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#login #38

I'll see if I can find a way around it tomorrow.

For now I'm myself rolling back to 4.4.3 which is still working as expected. I know this is not ideal, but there's only so much I can do on the front-end :/

@ntoporcov
Copy link
Owner

Scratch my last comment. I was able to fix it by copying the request from the default WebUI.

Pull the most recent master branch and you should be good to go!

@sbwml
Copy link

sbwml commented Sep 3, 2022

Scratch my last comment. I was able to fix it by copying the request from the default WebUI.

Pull the most recent master branch and you should be good to go!

good job!

@sbwml
Copy link

sbwml commented Sep 3, 2022

So exciting to see that message when I'm ready to roll back

@infinitenewworld
Copy link

I can't input text into the login field now?

@ntoporcov
Copy link
Owner

Yeah the page itself didn't change at all.

Maybe a hard refresh in the browser?

@infinitenewworld
Copy link

its okay on the desktop but will not work on mobile at all

@infinitenewworld
Copy link

infinitenewworld commented Sep 3, 2022

actually I figured it out, its confusing because I was clicking on the username writing but input was to the right, would be great if the text was inside an input box so it didn't confuse me!

@infinitenewworld
Copy link

great work! so excited for more updates :)

@ntoporcov
Copy link
Owner

Ah that's fair, I'll make it so that tapping the username word focuses on the input

@jonskoglund
Copy link
Author

@chiuyin:

how can I restore to the default UI without logging in?

Try this.

you need to go to:
"/home/qbittorrent/.config/qBittorrent" and edit the config file: "WebUI\AlternativeUIEnabled=true" to "WebUI\AlternativeUIEnabled=false"

The config file is named qBittorrent.conf. You can do a search for this file with:
find / -name qBittorrent.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants