Closed hholst80 closed 4 years ago
I try it out on a bare debian buster, and it seems to work.
To troubleshoot your problem do the following:
What browser?
Disabled the firewall. Still no go. Firefox 76.0. Plugins disabled.
[om@puff complex_docker_compose]$ docker-compose logs
Attaching to web_srv, hasses_srv
web_srv | AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.19.0.3. Set the 'ServerName' directive globally to suppress this message
web_srv | AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.19.0.3. Set the 'ServerName' directive globally to suppress this message
web_srv | [Thu May 07 09:11:21.640091 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.41 (Unix) PHP/7.3.14 configured -- resuming normal operations
web_srv | [Thu May 07 09:11:21.640108 2020] [core:notice] [pid 1] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
web_srv | 172.19.0.1 - - [07/May/2020:09:11:22 +0000] "GET / HTTP/1.1" 200 3079 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:22 +0000] "GET /sys/jquery.js HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:22 +0000] "GET /sys/core.js HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:22 +0000] "GET /sys/ckcomm.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:22 +0000] "GET /sys/flex.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:22 +0000] "GET /sys/flex_colors.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:26 +0000] "POST /sendajax HTTP/1.1" 200 22 "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:27 +0000] "POST /sendajax HTTP/1.1" 200 22 "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 127.0.0.1 - - [07/May/2020:09:11:28 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.41 (Unix) PHP/7.3.14 (internal dummy connection)"
web_srv | 127.0.0.1 - - [07/May/2020:09:11:33 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.41 (Unix) PHP/7.3.14 (internal dummy connection)"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:45 +0000] "POST /sendajax HTTP/1.1" 200 22 "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:47 +0000] "GET / HTTP/1.1" 200 3079 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:47 +0000] "GET /sys/jquery.js HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:47 +0000] "GET /sys/core.js HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:47 +0000] "GET /sys/ckcomm.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:47 +0000] "GET /sys/flex.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:47 +0000] "GET /sys/flex_colors.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:48 +0000] "POST /sendajax HTTP/1.1" 200 22 "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
web_srv | 172.19.0.1 - - [07/May/2020:09:11:49 +0000] "POST /sendajax HTTP/1.1" 200 22 "http://localhost/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
hasses_srv | === daemon starting ===
hasses_srv | Pid: 1
hasses_srv | Connect from 172.19.0.1 on port 59042 as <6>
hasses_srv | Closed connection (Remaining clients: 0) <6>
hasses_srv | Connect from 172.19.0.1 on port 59080 as <6>
[om@puff complex_docker_compose]$
Out of 20 or so attempts to send a message I got 2 back.
Yep. I can already see. I do a fix just now, It may solve the problem. Please test it with the new version.
...
Just for give information for further debugging: You can change the hasses loglevel by sending "loglevel_quiet" - Set loglevel to minimal "loglevel_normal" - Set loglevel to normal "loglevel_debug" - Set loglevel to maximum messages to the communication channel.
You can find out the ip of the container by: docker inspect hasses_srv | grep IPAddress And send the command by: echo "loglevel_debug" | netcat HASSES_CONTAINER_IP COMM_PORT
I don't know what you did but you solved it. Verified with the new updated containers from docker.io. Thank you!
I keep trying to send a message through the web UI but nothing shows up?