View Issue Details

IDProjectCategoryView StatusLast Update
0000579bareos-core[All Projects] webuipublic2016-11-06 12:09
ReportertuxmasterAssigned Tofrank 
PrioritynormalSeverityblockReproducibilityalways
Status confirmedResolutionopen 
Platformx86_64OSFedoraOS Version22
Product Version 
Fixed in Version 
Summary0000579: Unable to connect to the director via ipv6
DescriptionThe web ui and the director are running on the same system.
After enter the password the error message "Error: , director seems to be down or blocking our request." will presented.
Steps To ReproduceOpen the website enter the credentials and try to log in.
Additional Informationgetsebool httpd_can_network_connect
httpd_can_network_connect --> on

Error from the apache log file:
[Sun Dec 06 12:37:32.658104 2015] [:error] [pid 2642] [client ABC] PHP Warning: stream_socket_client(): unable to connect to tcp://[XXX]:9101 (Unknown error) in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 521, referer: http://CDE/bareos-webui/

XXX=ip6addr of the director.

connect(from the web server) via telnet ip6addr 9101 will work.
bconsole will also work.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

frank

frank

2016-07-15 16:07

manager   ~0002323

Note: When specifying a numerical IPv6 address (e.g. fe80::1), you must enclose the IP in square brackets—for example, tcp://[fe80::1]:80.

http://php.net/manual/en/function.stream-socket-client.php

You could try setting your IPv6 address in your directors.ini into square brackets until we provide a fix, that might already work.
tuxmaster

tuxmaster

2016-07-15 17:04

reporter   ~0002324

I have try to set it to:
diraddress = "[XXX]"
XXX are the ipv6 address

But the error are the same.
tuxmaster

tuxmaster

2016-11-06 12:09

reporter   ~0002439

Same on Fedora 24 using php 7.0

Issue History

Date Modified Username Field Change
2015-12-06 12:41 tuxmaster New Issue
2015-12-06 12:41 tuxmaster Status new => assigned
2015-12-06 12:41 tuxmaster Assigned To => frank
2015-12-18 12:23 frank Status assigned => confirmed
2016-07-15 16:07 frank Note Added: 0002323
2016-07-15 17:04 tuxmaster Note Added: 0002324
2016-11-06 12:09 tuxmaster Note Added: 0002439