Mike B's pi-utils.https://github.com/MikeB2013/pi-utils This usually works fine. However today, after I got
the backend working, I tried to use mythweb and got an error I have not
received before:
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
If I look in the mythbackend log file I see this:
Code: Select all
Oct 13 11:48:24 rpi4-mythtv mythbackend: mythbackend[702]: E
WebSocketServer52 websocket.cpp:432 (ProcessHandshake)
WebSocketWorker::ProcessHandshake() - Missing or invalid
'sec-websocket-key' header
Oct 13 11:48:34 rpi4-mythtv mythbackend: mythbackend[702]: E
WebSocketServer47 websocket.cpp:675 (HandleDataFrame) WebSocketWorker -
Message is not valid UTF-8
Oct 13 11:48:44 rpi4-mythtv mythbackend: mythbackend[702]: E
WebSocketServer37 websocket.cpp:432 (ProcessHandshake)
WebSocketWorker::ProcessHandshake() - Missing or invalid
'sec-websocket-key' header
Oct 13 11:48:54 rpi4-mythtv mythbackend: mythbackend[702]: E
WebSocketServer47 websocket.cpp:432 (ProcessHandshake)
WebSocketWorker::ProcessHandshake() - Missing or invalid
'sec-websocket-key' header
Oct 13 11:49:04 rpi4-mythtv mythbackend: mythbackend[702]: E
WebSocketServer47 websocket.cpp:432 (ProcessHandshake)
WebSocketWorker::ProcessHandshake() - Missing or invalid
'sec-websocket-key' header
Oct 13 11:50:37 rpi4-mythtv mythbackend: mythbackend[702]: N Expire
autoexpire.cpp:244 (CalcParams) AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
I went back and edited the pi-mythbackend-helper.sh script from MikeB's pi-utils to make it run only the mythweb parts again and no errors on the install.
After having the same error, I went to the build from source wiki page and did those Mythweb instructions.
Still the same problem.