Hi,
I have a problem with send message from backend on production.
If I want to send message to group through socket, everything is ok.
But if I want to send message from backend (cron, on create object signal), message is not delivered.
On localhost mode both sides work fine.
Ubuntu 14.04.
Django==1.10.2
channels==1.1.3
daphne==1.2.0
Twisted==16.4.1
asgi-redis==1.4.0
My supervisor conf.
[program:sgl_channels_worker]
stdout_logfile=/var/log/celery/sgl_channels_worker.log
stderr_logfile=/var/log/celery/sgl_channels_worker.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=error
user=cyber
directory=/home/cyber/backend/src
command=/home/cyber/backend/bin/python manage.py runworker
environment=PATH="/home/cyber/backend/bin",LANG="ru_RU.UTF-8",LC_ALL="ru_RU.UTF-8"
[program:sgl_channels_interface]
stdout_logfile=/var/log/celery/sgl_channels_interface.log
stderr_logfile=/var/log/celery/sgl_channels_interface.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=error
user=cyber
directory=/home/cyber/backend/src
command=/home/cyber/backend/bin/daphne cyber.asgi:channel_layer -p 8001 -b 176.9.112.200
environment=PATH="/home/cyber/backend/bin",LANG="ru_RU.UTF-8",LC_ALL="ru_RU.UTF-8"
Please use the django-users mailing list for help like this - this is not a bug in channels. Thanks.
@andrewgodwin Thanks for reply,
Can you give an example of django-users mailing list?
Most helpful comment
https://groups.google.com/forum/#!forum/django-users