#Realtime Notifications by Channels

1 messages · Page 1 of 1 (latest)

winged dagger
#

Hi, I am not getting any notification as i trigger them through signals. I am usinf channels.

you will find consumers.py, asgi.py, signals.py file.
https://dpaste.org/bKOJC#L90

I am running websocket connection through daphene on port 8001 and my local server on 8000
I amusing memorycache layer as channlellayer.

On console it says web socket connection is opened.

but there is no notificatiosns get recieved when new member is created.

halcyon scroll
#

if you were to

  • put all your code, not just three files, on github
  • make sure it builds and runs easily
  • and give me the URL so I can clone it
    I'd take a look. Disclaimer: I've never used channels
winged dagger
winged dagger
halcyon scroll
#

dunno about DCC. But creating a new repo, and reproducing the problem there, is a good idea.

#

There's a good chance that, in so doing, you'll figure out the problem on your own :-). And if not, drop the URL here and we'll talk about it.

winged dagger
#

How would it intercahnge between asgi and wsgi?

halcyon scroll
#

I don't know if you can swap uvicorn for daphne, try it and see.

winged dagger
halcyon scroll
#

my last job was maintaining a system that was created by DCC, and I was impressed. Seems like it took care of everything.

winged dagger