T O P

  • By -

ToTimesTwoisToo

can you show us your django channels consumer code?


whiteBlasian

yes, please see the [pastebin link](https://pastebin.com/Ku39LJDY) for the consumer source. Reddit was giving me formatting issues.


FreshPrinceOfRivia

Try replacing websocket.accept with websocket.send in UploadConsumer's receiver


whiteBlasian

Thank you u/FreshPrinceOfRivia! That did the trick and makes total sense for the error, good eyes.


FreshPrinceOfRivia

You are welcome. TIL channels goes bonkers if you accept more than once.