I developed the application using Django and I used Django channels in it for messages. My websocket connections were working fine as soon as I was using my local db.sqlite3 but when I shifted to using PostgreSQL hosted on AWS RDS, I start getting connection error: HTTP GET /community/groups/5/ 200 [5.13, 127.0.0.1:1905] WebSocket HANDSHAKING /ws/group/5/ [127.0.0.1:1908] HTTP GET /AI/tools-list/ 200 [2.72, 127.0.0.1:1905] WebSocket DISCONNECT /ws/group/5/ [127.0.0.1:1908] WebSocket HANDSHAKING /ws/notifications/ [127.0.0.1:1913] WebSocket DISCONNECT /ws/notifications/ [127.0.0.1:1913] Disconnected with close code: 1006 Note: Sometime, my notification websocket gets connected but group chat websocket never gets connected I tried connecting to websocket but it keeps on failing Continue reading...