-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Tail -f option in the web interface doesnt work. #149
Comments
Same thing happening to me here on Mac. @rmerinogarcia did you ever find a fix? |
+1 Same at Fedora 3.7.6-201.fc18.x86_64 |
Here is the fix: https://github.com/Supervisor/supervisor/pull/195/files |
After applying this fix : there is still an error when the log file exists but it is empty. |
#403 notes that it used to work on Chrome but is broken after Chrome/Chromium 33. |
I can confirm that it no longer works for me under Chrome 33. |
Doesn't work on Chrome Version 34.0.1847.116 either. |
Not work on Chrome Version 35.0.1916.114 either |
Also doesn't work on Firefox 24.6.0 (RHEL 6.0). It seems to be a problem with how these browsers deal with the chunked transfer protocol (see http://code.google.com/p/chromium/issues/detail?id=156023). @mnaberez, it seems like relying on the chunked transfer protocol is not very stable. Do you think it's worth adding some javascript to the page to send AJAX requests to update the log files? |
I would be happy to put something together for the the JS version of the tail. Is this something the project is open to? |
I'm having this same issue. I will mention I am running supervisord in a docker container and I've tried chrome and firefox. Stop/start works but not the logtail tail -f |
I just proposed my fix #471 |
It works fine on Chrome/Chromium Version 36.0.1985.125 without any modification |
The issue is still there. |
I have the same issue but fixed by add childlogdir = %(here)s to [supervisord]. And all my [program] have the directory=%(here)s |
It works well with http://127.0.0.1:9001/logtail/test, but not work after nginx with http://my.url/logtail/test |
Same problem here as @ue-it - work well locally but not from remote. Anyone aware of the reason? |
Same problem. The page says "Error response. Error code 404. Message: Not Found." |
It doesn't not work after nginx with http://my.url/logtail/test. |
I have the same issue but I get Error response |
Me too facing the same issue like @simonegymondo |
Same here. Nginx 1.10.1 Chome 51.0.2704.79
|
This patch helped our team: #195 |
Had the same issue (404 not found) with nginx 1.10.2. |
All of the known issues with the |
On the web page to control the processes, the Tail -f link doesn't work (the server doesn't respond anything, so the browser doesn't show anything). The href attribute of the link is
http://localhost:8080/logtail/recommender_server%3Arecommender_server_01
where recommender_server is the process name.
Nevertheless the Clear Log link works well. In this case, the href attribute of the link is:
http://localhost:8080/index.html?processname=recommender_server%3Arecommender_server_01&action=clearlog
My operating systems is: OS X Mountain Lion (Mac Book Pro)
; MY CONFIGURATION FILE FOR SUPERVISORD
[unix_http_server]
file=/Users/rmerinogarcia/Proyects/temp/supervisor.sock
username=user
password=123
[inet_http_server]
port=127.0.0.1:8080
username=user
password=123
[supervisord]
logfile=/Users/rmerinogarcia/Proyects/temp/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/Users/rmerinogarcia/Proyects/temp/supervisord.pid
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:recommender_server]
process_name=%(program_name)s_%(process_num)02d
numprocs=1
numprocs_start=1
command=/Users/rmerinogarcia/.Envs_Python_2.7.3/USG_ENGINE/bin/python /Users/rmerinogarcia/.Envs_Python_2.7.3/USG_ENGINE/bin/start_recommender.py -p 91%(process_num)02d
stdout_logfile=/Users/rmerinogarcia/Proyects/temp/recommender.out
redirect_stderr=true
autorestart=true
The text was updated successfully, but these errors were encountered: