Changes between Version 2 and Version 3 of Ticket #31903
- Timestamp:
- Aug 19, 2020, 2:18:59 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31903
- Property Component Error reporting → Core (Other)
- Property Owner set to
- Property Resolution → invalid
- Property Status new → closed
- Property Summary WebSocket OSError: headers already sent → WebSocket OSError: headers already sent.
-
Ticket #31903 – Description
v2 v3 1 1 1.uwsgi --http 0.0.0.0:8066 --module toraji.wsgi --master --processes 1 --threads 8 --http-websockets 2 2 {{{ 3 3 *** Starting uWSGI 2.0.18 (64bit) on [Wed Aug 19 09:28:05 2020] *** 4 4 compiled with version: 4.4.7 20120313 (Red Hat 4.4.7-11) on 15 July 2020 02:09:52 … … 38 38 spawned uWSGI worker 1 (pid: 23950, cores: 8) 39 39 spawned uWSGI http 1 (pid: 23951) 40 }}} 40 41 41 42 2.Django as backend 42 43 cat views_os.py 43 44 {{{ 44 45 import json 45 46 import logging … … 58 59 logger.info("done.") 59 60 return HttpResponse(None) 61 }}} 60 62 61 3. Got errors : 63 3. Got errors : 64 65 {{{ 62 66 2020-08-19 09:32:52,029 [uWSGIWorker1Core0:139922668804032] [mysqlha.views_os 14] [DEBUG]- {'a': 1} 63 67 2020-08-19 09:32:52,030 [uWSGIWorker1Core0:139922668804032] [mysqlha.views_os 16] [INFO]- ##mha socket test cmd:/tmp/mha.sh test socket … … 68 72 OSError: headers already sent 69 73 [pid: 24091|app: 0|req: 1/1] 10.107.68.57 () {48 vars in 817 bytes} [Wed Aug 19 09:32:49 2020] GET /mysqlha/test_socket_api => generated 25 bytes in 2080 msecs (HTTP/1.1 101) 4 headers in 184 bytes (0 switches on core 0) 74 }}}