Chat app is not working!
I am really having some hard time to get the chat functionality to word, when i try sending a message it wont go through the socket to the end receiver!, The Web Socket is firing alight but for some reason the chat wont work, have spend a week now trying to hunt the bug in your codes can't seem to find it yet !
Hey,what errors are you getting?
On Thu, 22 Jul 2021, 16:59 umarfarukabu, @.***> wrote:
I am really having some hard time to get the chat functionality to word, when i try sending a message it wont go through the socket to the end receiver!, The Web Socket is firing alight but for some reason the chat wont work, have spend a week now trying to hunt the bug in your codes can't seem to find it yet !
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mitchtabian/Codingwithmitch-Chat/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AICTYFC37ETU74RPCKSPHGDTZAW3JANCNFSM5A2F6SDQ .
Well when i try to send a public message it wont show in the message log box and also when i trying creating a private message the send button doesn't work. the socket just disconnect. i don't see any error message in my command line console though ! any suggestions ?These problem is actually with the private chat functionality ! You can chat publicly. But with with Private chat it won't work! @mitchtabian
So i just tried reinstalling a different versions of channels to 3.0.3 it throw me this error( TypeError: object.init() takes exactly one argument (the instance to initialize) ) and then disconnected the socket !
I will try to look into it, over the weekend. I recently modified this code to suit my project requirements. But I don't remember getting any error. Just making sure you have used what is in the requirements.txt file
On Thu, 22 Jul 2021, 17:40 umarfarukabu, @.***> wrote:
So i just tried reinstalling a different versions of channels to 3.0.3 it throw me this error( TypeError: object.init() takes exactly one argument (the instance to initialize) ) and then disconnected the socket !
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mitchtabian/Codingwithmitch-Chat/issues/7#issuecomment-885013777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AICTYFEFUE6IFLVUYFZOUOTTZA3VHANCNFSM5A2F6SDQ .
Yes I have installed the requirement.txt and everything is actually working, It's just the private chat that wont work, Which I don't know why! but am going through the codes as well. I will let you know if am able to figure what went wrong, Thank you for your time !
Hey @Mathewsmusukuma , So i was able to figure the problem out, it was actually from the channels-redis==3.0.1 and i had to down grade it to a late version channels-redis==2.4.2 and now everything is working perfectly. Thank you once again for your time !