-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I used the Example to test how it worked in a asp.net boilerplate project
filled out the ClientId
And a Accesstoken with a token that has scope user:read:chat
and _userId as my own id
also changed Information to Debug to potentially see why its breaking
it shows the session_welcome being received but for some reason not getting processes into firing that OnWebsocketConnected event/function
dbug: Microsoft.Extensions.Hosting.Internal.Host[1]
Hosting starting
dbug: TwitchLib.EventSub.Websockets.EventSubWebsocketClient[1180592680]
{"metadata":{"message_id":"28ea5fe1-df52-4157-8ceb-34ad5e646b29","message_type":"session_welcome","message_timestamp":"2026-01-09T15:11:54.758350527Z"},"payload":{"session":{"id":"AgoQ5vLKFW2KRXiwLyAkaH4WQBIGY2VsbC1h","status":"connected","connected_at":"2026-01-09T15:11:54.754332321Z","keepalive_timeout_seconds":10,"reconnect_url":null,"recovery_url":null}}}
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5093
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
Hosting started
dbug: TwitchLib.EventSub.Websockets.EventSubWebsocketClient[1180592680]
{"metadata":{"message_id":"a6625215-45e5-4992-ad1c-045aeded0022","message_type":"session_keepalive","message_timestamp":"2026-01-09T15:12:04.758856286Z"},"payload":{}}
crit: TwitchLib.EventSub.Websockets.Client.WebsocketClient[145981748]
4003 - connection unused
fail: eventsub_test.Services.WebsocketHostedService[0]
Websocket bla disconnected!
warn: eventsub_test.Services.WebsocketHostedService[0]
Websocket reconnected
dbug: TwitchLib.EventSub.Websockets.EventSubWebsocketClient[1180592680]
{"metadata":{"message_id":"1d71a71f-6659-4101-a648-c93ee72818ab","message_type":"session_welcome","message_timestamp":"2026-01-09T15:12:05.191868754Z"},"payload":{"session":{"id":"AgoQ6lRPRoMFQImDR60q0djaPhIGY2VsbC1h","status":"connected","connected_at":"2026-01-09T15:12:05.187907885Z","keepalive_timeout_seconds":10,"reconnect_url":null,"recovery_url":null}}}
^Cinfo: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
dbug: Microsoft.Extensions.Hosting.Internal.Host[3]
Hosting stopping
info: TwitchLib.EventSub.Websockets.Client.WebsocketClient[145981748]
NormalClosure - client disconnected
dbug: Microsoft.Extensions.Hosting.Internal.Host[4]
Hosting stopped
Process finished with exit code 0.
Metadata
Metadata
Assignees
Labels
No labels