Good night everyone,
I’ve been facing some issues this days, but I thought that could be something due my domain and other kind of problematic client-side issues, but I don’t exactly know what’s actually happening.
I’ve started again developing the EventSub part of my application. Before, it was working without any kind of issues, I was getting every verification and event from Twitch, but actually, for some reason I’m not getting the verifications.
The subscription I send to Twitch is the next one; I include the three kind of different ways to define the user on the condition just to make it able to use other events. Before I didn’t have any issues setting it like this way:
{
"condition":
{
"user_id": "********",
"broadcaster_user_id": "********",
"to_broadcaster_user_id": "********"
},
"transport":
{
"method": "webhook",
"callback": "https://pc.darkpanda73.net/",
"secret": "********"
},
"type": "channel.follow",
"version": "1"
}
At least from my POV, I don’t see any error in the content, also Twitch accepts the subscription and prepares the verification, at least from what I know from its response after requesting the subscription:
{
"data": [{
"id": "********",
"status": "webhook_callback_verification_pending",
"type": "channel.follow",
"version": "1",
"condition": {
"broadcaster_user_id": "********"
},
"created_at": "********",
"transport": {
"method": "webhook",
"callback": "https://pc.darkpanda73.net/"
},
"cost": 0
}],
"total": 16,
"max_total_cost": 10000,
"total_cost": 0
}
After that, I try to wait for the verification, but doesn’t seem to send anything to my server. I’ve added some debugs in most part of the code to check if something detects anything, but even the part that starts the socket doesn’t seem to get any connection. I’ve used twitch-cli to use the verify-subscription command, and from its checking, everything works fine. I’ve disabled the Firewall in case it could be preventing the entrance of Twitch requests or anything similar, but nothing.
I’m wondering which can be the issue. Besides the router, something I didn’t touch a lot, but basically port forwarding, nothing more, I don’t have more knowledge about other possible issues. I installed WireShark right now, but I’ll have to restart the computer. Once I restart it, I’ll check if there are currently connections from Twitch.