how to debug horizon connection problem

asked 2014-12-27 07:52:44 -0600

fxp gravatar image


I'm just getting started with openstack using devstack and following the quick start guide w/the all in one single machine setup on a home network. Everything seems to have gone fine with the install and startup but I can't connect to the Horizon dashboard. As recommended I changed the host machine's IP to be static. Here is what I know so far: - From my MAC book Pro I can ping the host IP but I can't connect to the Horizon dashboard. - In I can see "Configuring and starting Horizon" among the status messages. - running "sudo netstat -nap | grep 80" shows httpd listening on - I don't think the linksys is interfering as from the same laptop I can connect to a NAS hosted dashboard I have on the same network. - After a failed attempt if I look under /etc/httpd/logs I don't see any recent logging activity. Its as though packets aren't being delivered to httpd.

Any suggestions or pointers would be appreciated. Thanks, fxp

edit retag flag offensive close merge delete


For more debugging from HORIZON side, you can enable the debug level for httpd in the file /etc/httpd/conf/httpd.conf

# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
Ranjit gravatar imageRanjit ( 2014-12-30 01:55:56 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-12-27 23:45:20 -0600

Bipin gravatar image

updated 2014-12-27 23:47:02 -0600


Did you make sure the port 80 is allowed in the firewall ?

-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT

Whats the status of telnet to port 80 of controller node ?


edit flag offensive delete link more



The firewall looked ok but I entered the above to make sure. I am unable to telnet to that port though.

MacBook-Pro:C fxp$ telnet 80 Trying telnet: connect to address Connection refused telnet: Unable to connect to remote host


fxp gravatar imagefxp ( 2014-12-28 08:02:55 -0600 )edit

answered 2015-01-30 11:30:06 -0600

fxp gravatar image

Hi all,

I finally got back to this recently. Turns out the problem was an entry in the INPUT chain of iptables. I took a closer look at iptables after running tcpdump and seeing that the server was generating ICMP host prohibited responses.

Thanks, fxp

edit flag offensive delete link more


Glad to know, its Fixed.

Bipin gravatar imageBipin ( 2015-01-31 23:21:28 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-27 07:51:05 -0600

Seen: 537 times

Last updated: Jan 30 '15