Closed
Description
- I confirm that this is an issue rather than a question.
Bug report
I couldn't get the web UI to load when accessing port 8090. The browser appeared to spend ages trying to connect, before eventually giving up. Curiously, in an Incognito window, the web UI was accessible.
I looked at systemctl status of the Hyperion service and noticed warnings about invalid headers being sent. The headers contained large cookie payloads from the TVHeadend service I run on the same IP. Deleting those cookies solved the issue.
Question I guess is why does the web service for Hyperion seemingly choke on them
Jan 27 19:58:49 osmc hyperiond[1515]: Error : incorrect HTTP headers line : "5255Ewidth%25253Dn%2525253A33%255Eo%25253Aid%25253Dn%2525253A14%25255Ewidth%25253Dn%2525253A137%255Eo%25253Aid%25253Dn%2525253A15%25255Ewidth%25253Dn%2525253A137%255Eo%25253Aid%25253Dn%2525253A16%25255Ewidth%25253Dn%2525253A137%255Eo%25253Aid%25253Dn%2525253A17%25255Ewidth%25253Dn%2525253A137%5Esort%3Do%253Afield%253Ds%25253Astart_real%255Edirection%253Ds%25253AASC%5Efilters%3Do%253A; ys-api/dvr/entry/grid_finished=o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253Adetails%25255Ewidth%25253Dn%2525253A46%255Eo%25253Aid%25253Dn%2525253A1%25255Ewidth%25253Dn%2525253A27%255Eo%25253Aid%25253Dn%2525253A2%25255Ewidth%25253Dn%2525253A202%255Eo%25253Aid%25253Dn%2525253A3%25255Ewidth%25253Dn%2525253A202%255Eo%25253Aid%25253Dn%2525253A4%25255Ewidth%25253Dn%2525253A202%25255Ehidden%25253Db%2525253A1%255Eo%25253Aid%25253Dn%2525253A5%25255Ewidth%25253Dn%2525253A202%255Eo%25253Aid%25253Dn%2525253A6%25255Ewidth%25253Dn%2525253A94%255Eo%25253Aid%25253Dn%2525253A7%25255Ewidth%25253Dn%2525253A94%255Eo%25253Aid%25253Dn%2525253A8%25255Ewidth%25253Dn%2525253A54%255Eo%25253Aid%25253Dn%2525253A9%25255Ewidth%25253Dn%2525253A54%255Eo%25253Aid%25253Dn%2525253A10%25255Ewidth%25253Dn%2525253A54%255Eo%25253Aid%25253Dn%2525253A11%25255Ewidth%25253Dn%2525253A54%255Eo%25253Aid%25253Dn%2525253A12%25255Ewidth%25253Dn%2525253A54%25255Ehidden%25253Db%2525253A1%255Eo%25253Aid%25253Dn%2525253A13%25255Ewidth%25253Dn%2525253A202%255Eo%25253Aid%25253Dn%2525253A14%25255Ewidth%25253Dn%2525253A202%255Eo%25253Aid%25253Dn%2525253A15%25255Ewidth%25253Dn%2525253A202%255Eo%25253Aid%25253Dn%2525253A16%25255Ewidth%25253Dn%2525253A202%5Esort%3Do%253Afield%253Ds%25253Astart_real%255Edirection%253Ds%25253ADESC%5Efilters%3Do%253A\r\n"
Steps to reproduce
Send large cookie payload such as those sent by TVHeadend
What is expected?
WebUI will load
What is actually happening?
WebUI never connects.
System
Hyperion Server:
- Build: (HEAD detached at 2.0.16) (Paulchen-Panther-cb85d2d/a93d79b-1705568419)
- Build time: Jan 18 2024 09:30:40
- Git Remote: https://github.com/hyperion-project/hyperion.ng
- Version: 2.0.16
- UI Lang: en (BrowserLang: en-GB)
- UI Access: default
- Avail Screen Cap.: dispmanx,framebuffer,qt
- Avail Video Cap.: v4l2
- Avail Audio Cap.: audio
- Avail Services: boblight,cec,effectengine,forwarder,flatbuffer,protobuffer,mDNS,SSDP,borderdetection
- Config path: /home/osmc/.hyperion
- Database: read/write
- Mode: Non-GUI
Hyperion Server OS:
- Distribution: Open Source Media Center
- Architecture: arm
- CPU Model: ARMv7 Processor rev 5 (v7l)
- CPU Type: Raspberry Pi 2 Model B Rev 1.1
- CPU Revision: a01041
- CPU Hardware: BCM2835
- Kernel: linux (4.19.122-2-osmc (WS: 32))
- Root/Admin: false
- Qt Version: 5.11.3
- Python Version: 3.7.3
- Browser: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/120.0.6099.119 Mobile/15E148 Safari/604.1