Open NothingTV opened 1 month ago
Looks like it's failing because there are two processes running downloading that chat. A couple of questions:
I'll update the code to handle multiple processes if it gets stuck in a bad state like this again.
I can't answer you that, since I recently revived the whole instance.
Just restarted, no new errors, also same result (still pending)
Okay, so it looks like it worked after the api restart, two vods could get recorded without issues, now the streamer had a network issue, because of that she had to restart the stream entirely and it's stuck again on the chat_downloader Task, but this time, it also doesn't start another task for the stream after her disconnect. Errors like this flood my api container:
ganymede-api | {"level":"warn","service":"worker","ActivityID":"9","ActivityType":"DownloadTwitchLiveChat","Attempt":1,"Error":"context canceled","Namespace":"default","RunID":"3ed0720a-0654-487c-a1fc-30447ab7d32e","TaskQueue":"archive","WorkerID":"7928c1a39b9b","WorkflowID":"c354a72c-8b5b-475a-be67-822256320a31_39","WorkflowType":"DownloadTwitchLiveChatWorkflow","time":"2024-05-31T18:04:49+02:00","message":"RecordActivityHeartbeat with error"}
I think these are the only logs for this stream:
ganymede-api | {"level":"debug","time":"2024-05-31T17:06:22+02:00","message":"finished downloading live video for 42403585224"}
ganymede-api | {"level":"debug","time":"2024-05-31T17:06:22+02:00","message":"getting video duration"}
ganymede-api | {"level":"debug","time":"2024-05-31T17:06:23+02:00","message":"video duration: 2154"}
ganymede-api | {"level":"debug","time":"2024-05-31T17:06:23+02:00","message":"getting twitch videos for user: 138907996 with type archive and cursor eyJiIjpudWxsLCJhIjp7Ik9mZnNldCI6NTJ9fQ"}
ganymede-api | {"level":"info","time":"2024-05-31T17:06:23+02:00","message":"found vod id 2160007110 for livestream 42403585224, updating database"}
ganymede-api | {"level":"debug","time":"2024-05-31T17:06:23+02:00","message":"stopping heartbeat download-livevideo-42403585224"}
ganymede-api | {"level":"debug","service":"worker","ActivityID":"11","ActivityType":"KillTwitchLiveChatDownload","Attempt":1,"Namespace":"default","RunID":"e375084a-4f1e-4702-83b3-b6ebc867f531","TaskQueue":"archive","WorkerID":"7928c1a39b9b","WorkflowID":"f8333481-f9c5-4bcb-874b-0ccf30e78407_5","WorkflowType":"DownloadTwitchLiveVideoWorkflow","time":"2024-05-31T17:06:23+02:00","message":"ExecuteActivity"}
ganymede-api | {"level":"info","time":"2024-05-31T17:06:23+02:00","message":"killing chat downloader for channel silverline"}
ganymede-api | {"level":"debug","time":"2024-05-31T17:06:23+02:00","message":"found pid 172\n264\n for chat_downloader"}
ganymede-api | {"level":"error","service":"worker","ActivityType":"KillTwitchLiveChatDownload","Attempt":1,"Error":"exit status 1","Namespace":"default","RunID":"e375084a-4f1e-4702-83b3-b6ebc867f531","TaskQueue":"archive","WorkerID":"7928c1a39b9b","WorkflowID":"f8333481-f9c5-4bcb-874b-0ccf30e78407_5","time":"2024-05-31T17:06:23+02:00","message":"Activity error."}
ganymede-api | {"level":"debug","time":"2024-05-31T17:06:23+02:00","message":"Error notification is disabled"}
ganymede-api | {"level":"warn","service":"worker","ActivityID":"9","ActivityType":"DownloadTwitchLiveChat","Attempt":1,"Error":"workflow execution already completed","Namespace":"default","RunID":"561516b2-f742-4e89-bd2c-87567b3f481f","TaskQueue":"archive","WorkerID":"7928c1a39b9b","WorkflowID":"4b1cba14-5e02-4cee-bcb7-f70c46290cea_39","WorkflowType":"DownloadTwitchLiveChatWorkflow","time":"2024-05-31T17:06:41+02:00","message":"RecordActivityHeartbeat with error"}
I also still have Invalid Date
in every temporal task.
I made some changes in https://github.com/Zibbp/ganymede/pull/439 that should resolve the double process ID error that you are having. Can you use the :main
tag for both the API and frontend container and try again?
Before you switch the tags, please read https://github.com/Zibbp/ganymede/issues/441 first as you might encounter this issue when you go to pull the images.
Just switched to the :main
-Tag, I will keep you posted.
I can't manually start tasks now tho, I get Request Failed Not Found
after clicking the symbols.
Whoops, new :main
image tag should resolve the requests failing.
Hi there,
I monitor few channels and one of them constantly fails to finish the chat download task, I can't see any relevant errors, besides of that, that seems to tell nothing about the cause itself:
In the workflows, you can also see that it fails (none of the tasks have a valid time tho):
It's only for this one channel.