insanity54 / futureporn

Unofficial ProjektMelody Chaturbate VOD Archive. For Adults Only.
https://futureporn.net
26 stars 3 forks source link

futureporn-scout crashes after ?? hours #203

Closed insanity54 closed 1 year ago

insanity54 commented 1 year ago

I think it's 24 hours but I'm not sure yet. Token refresh issue suspected.

insanity54 commented 1 year ago

24h confirmed! 86400000 in ms.

insanity54 commented 1 year ago

saw this problem again, but this time instead of a token error, I'm seeing Mismatched clientId error.

03:07:45.123 Ably: Transport.onProtocolMessage(): Ably requested re-authentication, but unable to obtain a new token: [ErrorInfo: Mismatched clientId for existing connection; statusCode=401; code=40102; see https://help.ably.io/error/40102 ]

investigating.

insanity54 commented 1 year ago

I seem to have solved this by re-using the session in followup pushServiceAuth requests via cookies, but I need to verify that a stream following a 24h token refresh is detected. #208

insanity54 commented 1 year ago

Closing this because it looks like a solved issue.