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

Get "Authentication failed, please verify your credentials " during compare configs #13

Closed
oy1978 opened this issue May 23, 2018 · 12 comments
Labels
duplicate This issue or pull request already exists

Comments

@oy1978
Copy link

oy1978 commented May 23, 2018

Hi ,
I get "Authentication failed, please verify your credentials" when run compare configs
I am use mysql to be DB , and have checked there have correct user information in there .
I can get device config by "Show config" , but can compare configs .

Thanks

@oy1978 oy1978 closed this as completed May 23, 2018
@oy1978 oy1978 reopened this May 23, 2018
@Aidaho12
Copy link
Member

Aidaho12 commented May 23, 2018 via email

@oy1978
Copy link
Author

oy1978 commented May 23, 2018

I have not creds , I just use password

@Aidaho12
Copy link
Member

user have sudo without passwd?

@Aidaho12
Copy link
Member

and where you get error? on compare or get config?

@oy1978
Copy link
Author

oy1978 commented May 23, 2018

on compare , get config is work , and i have not set sudo without password

@Aidaho12
Copy link
Member

it's root user? Show me error log, when compare

@oy1978
Copy link
Author

oy1978 commented May 23, 2018

The user is sudoer , for the error log is "haproxy-wi.error.log" ? if yes , I have observed the log in real time , there no error log when compare error .
There have a lot log about :
[Tue May 22 08:18:08.973537 2018] [cgi:error] [pid 25155] [client 172.18.255.65:65311] AH01215: dos2unix: converting file /var/www/haproxy-wi/configs/hap_config/172.31.248.129-2018-05-22.12:11:25.cfg to Unix format ..., referer: http://172.31.248.128:8080/app/configver.py?serv=172.31.248.129&open=open&configver=172.31.248.129-2018-05-22.12:11:25.cfg
but the log not happen during test compare config

@Aidaho12
Copy link
Member

in haproxy-wi server user exist?

@oy1978
Copy link
Author

oy1978 commented May 23, 2018

your mean is the user on my haproxy server also need exist on haproxy-wi ?

@Aidaho12
Copy link
Member

yes. It will be necessary to rewrite, that it was not necessary to create the user locally

@oy1978
Copy link
Author

oy1978 commented May 23, 2018

I have create the same user on haproxy-wi , it is work now , thank you a lot , this UI is helpful for us , thank you again :)

@Aidaho12
Copy link
Member

welcome ) put your favorite, subscribe to my channel and send donations)

@oy1978 oy1978 closed this as completed May 23, 2018
@Aidaho12 Aidaho12 added the duplicate This issue or pull request already exists label May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants