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

Can't enter username and password,and show 401 error #28

Open
wctliu opened this issue Dec 16, 2024 · 2 comments
Open

Can't enter username and password,and show 401 error #28

wctliu opened this issue Dec 16, 2024 · 2 comments

Comments

@wctliu
Copy link

wctliu commented Dec 16, 2024

If the A1111 server uses username and password authentication, how should I enter it?
After I enter the server address, it shows a 401 error. It cannot be used.

@jordenyt
Copy link
Owner

Are you using "--gradio-auth username:password" in the COMMANDLINE_ARGS?
If so, I have tested this case and cannot repeat 401 error.

If you are using .htpasswd to setup the authentication, I suggest your may try to input the server address like this:
http://username:[email protected]:7860
As I don't have a Linux to run on therefore I cannot test this.

@wctliu
Copy link
Author

wctliu commented Dec 25, 2024

i used "--gradio-auth username:password" in the COMMANDLINE_ARGS. but cannot connect to the A1111 server. Or it doesn't pop up a prompt box for entering the account and password.
I also tested this method: http://username:[email protected]:7860,the result is the same.
If it is used in a local area network, of course it is convenient to cancel the password verification, but if i want to use it on the Internet. have to use the account and password to ensure security.
Please solve this problem. Thank you very much

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

2 participants