Closed danstiner closed 3 years ago
The "right" fix here may actually be in https://github.com/Glimesh/glimesh.tv, it is pretty standard for a GraphQL service to always return HTTP 200 and put the not found message in the result under the errors
key.
But it might be worth working around this quick by just handling 404's.
I added error handling to all of the API endpoints, so we should no longer be sending any non-JSON message unless something crashes.
Good bug Dan, thanks!
Oops, I didn't mean for the GitHub Automation Gods to close this PR when I merged the other one! Reopen if necessary.
I setup a full ingest/edge/orchestrator/Glimesh.tv VM farm locally and found something interesting.
When I try to start streaming from OBS for a channel id > 1 my ingest service crashes, resulting in the following output. With channel id 1 (or any other channel that does exist), I do not get a crash.
This may be a ship blocker, if someone just mistypes their channel id and connects a few times it'll bring down all the ingest services.
OBS
Janus / FTL
glimesh elixr service