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

webui says wrong username and/or password #24

Closed
jukito opened this Issue Jan 16, 2019 · 7 comments

Comments

Projects
None yet
3 participants
@jukito
Copy link

jukito commented Jan 16, 2019

On a new installation over Docker Swarm, webui says "Sorry, can not authenticate. Wrong username and/or password."

The logs of apache2 says:
`[Wed Jan 16 15:47:43.809829 2019] [:error] [pid 378] [client 10.255.0.2:43224] admin, referer: http://192.20.223.55/

[Wed Jan 16 15:47:43.809915 2019] [:error] [pid 378] [client 10.255.0.2:43224] console_name: admin, referer: http://192.20.223.55/

[Wed Jan 16 15:47:43.813330 2019] [:error] [pid 378] [client 10.255.0.2:43224] PHP Notice: fwrite(): send of 26 bytes failed with errno=104 Connection reset by peer in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 211, referer: http://192.20.223.55/`

192.20.223.55 it's the ip to acces to webui. On another docker work without problem, but all containers over the same host.

@jukito

This comment has been minimized.

Copy link
Author

jukito commented Jan 16, 2019

Maybe relevant information:
https://bugs.bareos.org/view.php?id=1033

@jukito

This comment has been minimized.

Copy link
Author

jukito commented Feb 12, 2019

Resolved on the 18.2.5 release.

@c0r3dump3d

This comment has been minimized.

Copy link

c0r3dump3d commented Feb 13, 2019

Sorry, but I have installed a bareos 18.2.5 in a Centos 7.6 fresh install and the problem persists:

captura de pantalla de 2019-02-13 10-16-56

In the httpd error_log:

Wed Feb 13 10:11:25.052952 2019] [:error] [pid 8844] [client 10.141.1.90:10702] PHP Notice: fwrite(): send of 26 bytes failed with errno=104 Connection reset by peer in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 219,

Sorry, I have seen that it's a docker version ...

@jukito

This comment has been minimized.

Copy link
Author

jukito commented Feb 13, 2019

In the bugtracker of Bareos says the bug it's already fixed in the release.
https://bugs.bareos.org/view.php?id=1033

But @barcus hasn't updated yet :( and we need the webui for the users review. And we haven't any news about any future upgrade by Barcus. Sadly, tomorrow I will start the migration to standalone RedHat 7. I prefer the Docker version but... bad luck.

Sadly, I haven't yet skills to make my own version of Docker/Bareos and the Barcus version it's really good one.

@jukito

This comment has been minimized.

Copy link
Author

jukito commented Feb 14, 2019

Sorry, but I have installed a bareos 18.2.5 in a Centos 7.6 fresh install and the problem persists:

captura de pantalla de 2019-02-13 10-16-56

In the httpd error_log:

Wed Feb 13 10:11:25.052952 2019] [:error] [pid 8844] [client 10.141.1.90:10702] PHP Notice: fwrite(): send of 26 bytes failed with errno=104 Connection reset by peer in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 219,

Sorry, I have seen that it's a docker version ...

A note about NOT Docker installation....
->
console {
Name = admin
Password = ******
Profile = webui-admin
TLS Enable = No
}

Put the line of TLS Enable = no and voilá!

On my new complete installation works with that.

@c0r3dump3d

This comment has been minimized.

Copy link

c0r3dump3d commented Feb 15, 2019

Nice!!! It's working!!! thank you very much !!!

Sorry, only one more question:

How did you discover this solution?

@barcus

This comment has been minimized.

Copy link
Owner

barcus commented Feb 23, 2019

images were updated

docker exec -t -i build_bareos-dir_1 bconsole
Connecting to Director localhost:9101
Encryption: PSK-AES256-CBC-SHA
1000 OK: bareos-dir Version: 18.2.5 (30 January 2019)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.