MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
330 stars 25 forks source link

Stream not captured #442

Closed luckiestone closed 1 year ago

luckiestone commented 1 year ago
2023-05-20 02:32:42 channel DEBUG   User data found in memory cache for id 123456
2023-05-20 02:32:42 channel INFO    Memory cache for 123456 is outdated, fetching new data
2023-05-20 02:32:42 tw.helper.getRequest    DEBUG   Requesting GET /helix/users?id=123456 with config {}, retried: false
2023-05-20 02:32:42 tw.helper   WARNING Access token expired during get request
2023-05-20 02:32:43 tw.helper.getAccessTokenApp INFO    Fetched new access token, expires at 2023-07-14
2023-05-20 02:32:43 tw.helper.getRequest    DEBUG   Requesting GET /helix/users?id=123456 with config {}, retried: true
2023-05-20 02:32:43 tw.helper   DEBUG   Error during get request: AxiosError: Request failed with status code 401
2023-05-20 02:32:43 automator.download  ERROR   Failed to create vod for callofduty_2023-05-19T18_32_29Z_42210552219: Could not get user data for id 123456 axios error: Request failed with status code 401
2023-05-20 02:32:43 notify  DEBUG   Telegram response

Above is the log related to the capture job I believe, and there's also some token expire warning but it's fetched again I guess? Here's the log if it's related:

2023-05-20 08:10:00 tw.helper   WARNING Access token expired during get request
2023-05-20 08:10:00 tw.helper.getAccessTokenApp INFO    Fetched new access token, expires at 2023-07-18
2023-05-20 08:10:00 tw.helper.getRequest    DEBUG   Requesting GET /helix/videos/?id=1819075781 with config {}, retried: true
2023-05-20 08:10:00 tw.helper   DEBUG   Error during get request: AxiosError: Request failed with status code 401
2023-05-20 08:10:01 vod.getVideo    ERROR   Tried to get video id 1819075781 but got error Request failed with status code 401
2023-05-20 08:10:01 vod.checkValidVod   ERROR   Failed to check valid VOD for callofduty_2023-05-13T18_31_19Z_42189488907: Tried to get video id 1819075781 but got error: Request failed with status code 401
2023-05-20 08:10:01 vod.checkValidVod   INFO    Check valid VOD for callofduty_2023-05-14T18_31_23Z_42193159931
2023-05-20 08:10:01 tw.helper.getRequest    DEBUG   Requesting GET /helix/videos/?id=1819962049 with config {}, retried: false
2023-05-20 08:10:01 tw.helper   WARNING Access token expired during get request
2023-05-20 08:10:02 tw.helper.getAccessTokenApp INFO    Fetched new access token, expires at 2023-07-23
2023-05-20 08:10:02 tw.helper.getRequest    DEBUG   Requesting GET /helix/videos/?id=1819962049 with config {}, retried: true
2023-05-20 08:10:02 tw.helper   DEBUG   Error during get request: AxiosError: Request failed with status code 401
2023-05-20 08:10:02 vod.getVideo    ERROR   Tried to get video id 1819962049 but got error Request failed with status code 401
2023-05-20 08:10:02 vod.checkValidVod   ERROR   Failed to check valid VOD for callofduty_2023-05-14T18_31_23Z_42193159931: Tried to get video id 1819962049 but got error: Request failed with status code 401
MrBrax commented 1 year ago

you need to get a new access token, easiest by saving the config. i need to properly fix this

luckiestone commented 1 year ago

you need to get a new access token, easiest by saving the config. i need to properly fix this

Thank you, I thought it was twitch oauth token, and I've reset it. But at least it's fixed I guess.