Invalid type in function 'connect_to_eventsub' in base 'Node ()'. Cannot convert argument 1 from Nil to String. #19

Closed
opened 2023-02-27 19:02:17 +01:00 by Fourgees · 5 comments
Fourgees commented 2023-02-27 19:02:17 +01:00 (Migrated from github.com)

I am getting some odd errors after previously it was all working great.

Invalid type in function 'connect_to_eventsub' in base 'Node ()'. Cannot convert argument 1 from Nil to String.

I am using godot 4.0 RC6, previous versions seemed to work so I suspect something was broken in the update. I am also using Linux which doesn't default to 127.0.0.1 with localhost either.

I am getting some odd errors after previously it was all working great. Invalid type in function 'connect_to_eventsub' in base 'Node ()'. Cannot convert argument 1 from Nil to String. I am using godot 4.0 RC6, previous versions seemed to work so I suspect something was broken in the update. I am also using Linux which doesn't default to 127.0.0.1 with localhost either.
issork commented 2023-02-27 19:51:31 +01:00 (Migrated from github.com)

Does this happen immediately or only after letting it run for a while? I'm suspecting that the reconnect URL isn't being set properly when Twitch demands a reconnect to a different URL.

Does this happen immediately or only after letting it run for a while? I'm suspecting that the reconnect URL isn't being set properly when Twitch demands a reconnect to a different URL.
Fourgees commented 2023-02-27 21:51:31 +01:00 (Migrated from github.com)

Hey, thanks for the quick reply - this happens after a bit, not immediately. It seems to successfully connect but then stalls out when an event happens (moobot joins in this instance or trying to send a message) i'm using the default setup you've included just to make sure it's all working before tweaking anything.

Hey, thanks for the quick reply - this happens after a bit, not immediately. It seems to successfully connect but then stalls out when an event happens (moobot joins in this instance or trying to send a message) i'm using the default setup you've included just to make sure it's all working before tweaking anything.
issork commented 2023-02-28 17:05:54 +01:00 (Migrated from github.com)

What version are you using exactly? This issue should've already been fixed by the changes I made to fix #18.

I've not been able to reproduce this issue so far in the latest version.

What version are you using exactly? This issue should've already been fixed by the changes I made to fix #18. I've not been able to reproduce this issue so far in the latest version.
Fourgees commented 2023-02-28 22:26:16 +01:00 (Migrated from github.com)

The fault appears to be mine, I was using an old version. My fault there. I loaded it fresh and I can send messages and receive them. It's working save for one print statement failing and saying: Invalid get index 'data' (on base: 'Dictionary').
On line 454 in the gift_node.gd file. If I comment it out, the rest of the code appears to work.

The fault appears to be mine, I was using an old version. My fault there. I loaded it fresh and I can send messages and receive them. It's working save for one print statement failing and saying: Invalid get index 'data' (on base: 'Dictionary'). On line 454 in the gift_node.gd file. If I comment it out, the rest of the code appears to work.
issork commented 2023-02-28 22:27:31 +01:00 (Migrated from github.com)

Oh yes, that's because Twitch changed the API of the channel.follow event, will update that on the coming weekend, thanks!

Oh yes, that's because Twitch changed the API of the channel.follow event, will update that on the coming weekend, thanks!
Sign in to join this conversation.
No description provided.