Cant Access circus-web
Closed this issue · 0 comments
kyemme commented
I cant access the circus-web in my browser when I run circushttpd this is the output
I didn't saw anything like this " (using SocketIOServer(fd=None))" in the documentation and I guess this is a mistake that I have to change something for the circushttpd to work
> circushttpd
Bottle v0.12.7 server starting up (using SocketIOServer(fd=None))...
Listening on http://0.0.0.0:8080/
Hit Ctrl-C to quit.
DEPRECATION WARNING: use resource instead of namespace
I included the host and the port on this part because on the documentation the host and the port are defined as 127.0.0.1 and 8080 respectively
> circushttpd --host 127.0.0.1 --port 8080
Bottle v0.12.7 server starting up (using SocketIOServer(fd=None))...
Listening on http://127.0.0.1:8080/
Hit Ctrl-C to quit.
DEPRECATION WARNING: use resource instead of namespace
Here is my circus.ini file. I'm running a simple helloworld app to know that circus started my program
[circus]
statsd = True
httpd = True
httpd_host = 127.0.0.1
httpd_port = 8080
endpoint = tcp://127.0.0.1:5555
[watcher:webapp]
cmd = /tmp/circus/bin/chaussette --fd $(circus.sockets.web)
numprocess = 3
use_sockets = True
[watcher:hello]
cmd = php /home/kyemme/helloworld.php --fd $(circus.sockets.web)
numprocess = 2
use_sockets = True
stdout_stream.filename = /home/kyemme/test.log
[socket:web]
host = 127.0.0.1
port = 8888