Skip to content

Instantly share code, notes, and snippets.

@axilaris
Created March 28, 2024 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axilaris/3e3498ae670514c45ba6a36d8511c797 to your computer and use it in GitHub Desktop.
Save axilaris/3e3498ae670514c45ba6a36d8511c797 to your computer and use it in GitHub Desktop.
App.js:79 WebSocket connection to 'ws://localhost:8000/ws/notifications/' failed: WebSocket is closed before the connection is established.
App.js:71 WebSocket error Event {isTrusted: true, type: 'error', target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …}
App.js:75 WebSocket closed CloseEvent {isTrusted: true, wasClean: false, code: 1006, reason: '', type: 'close', …}
localhost/:1 Error while trying to use the following icon from the Manifest: http://localhost:3000/logo192.png (Download error or resource isn't a valid image)
App.js:62 Connected to notification websocket
System check identified 1 issue (0 silenced).
March 28, 2024 - 11:01:17
Django version 4.1.5, using settings 'backend.settings'
Starting ASGI/Daphne version 4.1.0 development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
WebSocket HANDSHAKING /ws/notifications/ [127.0.0.1:57763]
INFO:django.channels.server:WebSocket HANDSHAKING /ws/notifications/ [127.0.0.1:57763]
WebSocket DISCONNECT /ws/notifications/ [127.0.0.1:57763]
INFO:django.channels.server:WebSocket DISCONNECT /ws/notifications/ [127.0.0.1:57763]
XXX connect
XXX disconnect
WebSocket HANDSHAKING /ws/notifications/ [127.0.0.1:57767]
INFO:django.channels.server:WebSocket HANDSHAKING /ws/notifications/ [127.0.0.1:57767]
XXX connect
WebSocket CONNECT /ws/notifications/ [127.0.0.1:57767]
INFO:django.channels.server:WebSocket CONNECT /ws/notifications/ [127.0.0.1:57767]
YYY UserView
HTTP GET /api/user 200 [0.02, 127.0.0.1:57761]
INFO:django.channels.server:HTTP GET /api/user 200 [0.02, 127.0.0.1:57761]
YYY UserView
HTTP GET /api/user 200 [0.00, 127.0.0.1:57761]
INFO:django.channels.server:HTTP GET /api/user 200 [0.00, 127.0.0.1:57761]
YYY UserLogout
HTTP POST /api/logout 200 [0.01, 127.0.0.1:57761]
INFO:django.channels.server:HTTP POST /api/logout 200 [0.01, 127.0.0.1:57761]
YYY UserLogin
HTTP POST /api/login 200 [0.00, 127.0.0.1:57761]
INFO:django.channels.server:HTTP POST /api/login 200 [0.00, 127.0.0.1:57761]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment