maxbec / hassio-diyHue

Fully configurable diyHue add-on for home-assistant.
30 stars 17 forks source link

Log File in HA uses non standard characters #2

Open almostserious opened 3 years ago

almostserious commented 3 years ago

Just noticed that some of the characters are not readable within the HomeAssistant Log. Please see below for reference

[[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2020-12-06 19:46:48,891 - configManager.argumentHandler - INFO - Using Host 172.30.33.8:80
2020-12-06 19:46:48,891 - configManager.argumentHandler - INFO - Host MAC given as 94c6911e106c
2020-12-06 19:46:48,891 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2020-12-06 19:46:48,891 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2020-12-06 19:46:48,891 - configManager.argumentHandler - INFO - Online Discovery/Remote API: True
2020-12-06 19:46:48,891 - configManager.argumentHandler - INFO - Debug logging disabled!
2020-12-06 19:46:48,892 - configManager.configStorage - INFO - Core config found
2020-12-06 19:46:49,160 - lightManager.core.lightRequest - INFO - sync with lights
2020-12-06 19:46:49,162 - webServer.server - INFO - Starting httpd...
2020-12-06 19:46:49,164 - webServer.server - INFO - Starting ssl httpd...
{"ok"}
2020-12-06 19:46:54,163 - configManager.bridgeConfigHandler - INFO - done recycling
2020-12-06 19:46:55,232 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad request version ('ZZ\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93::\x00\x00\x00\x00\x00\x18\x00\x16\x00\x00\x13XXXX\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
2020-12-06 19:46:55,233 - WebServer - WARNING - 192.168.10.101 - "üM'žeù‹G¡¯P£_8h’C¨o^!’>»Í. œôLØÀåÜ_lۘºÖÞdv…S˜?¥$ìÃmB3s ZZÀ+À/À,À0̨̩ÀÀœ/5“::XXXXXXXgÿ" 400 -
2020-12-06 19:46:55,233 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad request version ('\x8a\x8a\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93\x1a\x1a\x00\x00\x00\x00\x00\x18\x00\x16\x00\x00\x13XXXXXX\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
2020-12-06 19:46:55,234 - WebServer - WARNING - 192.168.10.101 - "üBìQ+a_†©Ø,Rk@'•·>&ÒkÔ˝½ùà >[ŸÈÈôívU©xgè~!GU.Wñ·$“GHGŒoAH ŠŠÀ+À/À,À0̨̩ÀÀœ/5“XXXXXXXXÿ" 400 -
2020-12-06 19:46:55,238 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad request version ('·\x84~Gðôû.ÇàV¼\x9eIÓ\x9bÚ·\x91þD\x9a¥\x02"\x1b\x8bÃlö\x18u\x00"úú\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00')
2020-12-06 19:46:55,238 - WebServer - WARNING - 192.168.10.101 - "ü??÷asüŒºÕnË¡#Êb‘ó1†Þä:ø¸3 ·„~Gðôû.ÇàV¼žIӛڷ‘þDš¥"‹Ãlöu"úúÀ+À/À,À0̨̩ÀÀœ/5" 400 -
2020-12-06 19:46:55,243 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03TÓ')
2020-12-06 19:46:55,244 - WebServer - WARNING - 192.168.10.101 - "üTӅWa'Ò" 400 -
2020-12-06 19:46:57,246 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad request version ('\x8a\x8a\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93ÊÊ\x00\x00\x00\x00\x00\x18\x00\x16\x00\x00\x13XXXXXXXXXX\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
2020-12-06 19:46:57,247 - WebServer - WARNING - 192.168.10.101 - "ü؝ú‚´­…~0²#>áW¨À…˜yæÝ ýéŒ-WZµ{ $ù¯|ðúF£øí½°{x¼ÃOê£LPmü£?æ ŠŠÀ+À/À,À0̨̩ÀÀœ/5“ÊÊXXXXXXXXXXXÿ" 400 -
2020-12-06 19:46:57,248 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad request version ('ªª\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93\x9a\x9a\x00\x00\x00\x00\x00\x18\x00\x16\x00\x00\x13XXXXXXXXXXXX\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
2020-12-06 19:46:57,248 - WebServer - WARNING - 192.168.10.101 - "üµXÚ+…>öÐÒÊÍÕ*‚¾Ž)0¥Î»7Ò¾Õú[ ªhÙßí(ò臽F•‹>2ٔhçœïìÇñtù†#' ªªÀ+À/À,À0̨̩ÀÀœ/5“ššXXXXXXXXXXXXXXXÿ" 400 -
2020-12-06 19:46:57,251 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad request version ('\x8eh¹\x88ùÁxVT\x18DÛ\x98Hi%P}i§MÁª%P¹\\¦Öö§¢\x00"\x1a\x1a\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00')
2020-12-06 19:46:57,252 - WebServer - WARNING - 192.168.10.101 - "üX^¼ì¹¡PnÁIàÅ:4ʸÀ9Õë‡Â‰ô—Ž• Žh¹ˆùÁxVTDۘHi%P}i§MÁª%P¹\¦Öö§¢"À+À/À,À0̨̩ÀÀœ/5" 400 -
2020-12-06 19:46:57,252 - WebServer - WARNING - 192.168.10.101 - code 400, message Bad request version ('\x1a\x97ØW\x11ºª_\x91âõo\x00"ªª\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00')
2020-12-06 19:46:57,253 - WebServer - WARNING - 192.168.10.101 - "üñ҃DSÖ͖­.K—äþ#ªÒå½_´£Â …YOL¤}F_/—†š‹ÌŒR—ØWºª_‘âõo"ªªÀ+À/À,À0̨̩ÀÀœ/5" 400 -
2020-12-06 19:47:01,187 - lightManager.core.lightRequest - INFO - sync with lights]([url](`url`))
maxbec commented 3 years ago

What device has the IP 192.168.10.101. It is sending binary data to the webserver. But it is expecting JSON. :)

almostserious commented 3 years ago

This was simply the Windows 10 PC used to acess the HA UI.