[Chat IRC] Not Receiving 001

Starting earnly morning (PST) May 1, new bot connections to Twitch IRC are not receiving the 001 response, on which I wait before further initializing. I have the following debug logs from my service and the golang package which it uses: https://github.com/thoj/go-ircevent

Expected:

2020-05-02 00:04:10 Starting the IRC connection...
2020/05/02 00:04:10 Connected to irc.chat.twitch.tv:443 (34.217.198.238:443)
2020/05/02 00:04:10 --> PASS oauth:<REDACTED>
2020/05/02 00:04:10 --> NICK <REDACTED>
2020/05/02 00:04:10 --> USER <REDACTED> 0.0.0.0 0.0.0.0 :<REDACTED>
2020-05-02 00:04:10 Startup complete. Entering main process loop...
2020/05/02 00:04:10 <-- :tmi.twitch.tv 001 <REDACTED> :Welcome, GLHF!
2020-05-02 00:04:10 Twitch connected. Joining <REDACTED>...
2020/05/02 00:04:10 --> JOIN #<REDACTED>
2020-05-02 00:04:10 Joined. Sending command and waiting...
2020/05/02 00:04:10 <-- :tmi.twitch.tv 002 <REDACTED> :Your host is tmi.twitch.tv
2020/05/02 00:04:10 <-- :tmi.twitch.tv 003 <REDACTED> :This server is rather new
2020/05/02 00:04:10 <-- :tmi.twitch.tv 004 <REDACTED> :-
2020/05/02 00:04:10 <-- :tmi.twitch.tv 375 <REDACTED> :-
2020/05/02 00:04:10 <-- :tmi.twitch.tv 372 <REDACTED> :You are in a maze of twisty passages, all alike.
2020/05/02 00:04:10 <-- :tmi.twitch.tv 376 <REDACTED> :>
2020/05/02 00:04:10 <-- :<REDACTED>!<REDACTED>@<REDACTED>.tmi.twitch.tv JOIN #<REDACTED>
...
2020/05/02 00:04:10 --> PRIVMSG #<REDACTED> :...

Getting:

2020-05-01 23:51:12 Starting the IRC connection...
2020/05/01 23:51:12 Connected to irc.chat.twitch.tv:443 (34.217.198.238:443)
2020/05/01 23:51:12 --> PASS oauth:<REDACTED>
2020/05/01 23:51:12 --> NICK <REDACTED>
2020/05/01 23:51:12 --> USER <REDACTED> 0.0.0.0 0.0.0.0 :<REDACTED>
2020-05-01 23:51:12 Startup complete. Entering main process loop...
2020-05-01 23:51:27 No welcome (001) received after connection attempt. Quitting early.

As you can see, in the failing logs, I am waiting up to 15 seconds to receive the 001 response and I’m not receiving it, nor am I having any connection error.

Problem still occuring?

Some things were a little hairy during the Helix oAuth Test window

Yes, though less prominently. It seems that between 25% and 50% of my connections are still not receiving 001 after sending credentials. Yesterday, it was closer to 80%.

Everything looks OK here with my bots, so it would suggest something environmental yourside with your route to twitch.

Could be, could not be. I’m still gathering data on the fail rate. I’ll have a more complete picture by the end of the weekend.

I’m occasionally experiencing this as well, and also started noticing the problem starting May 1st. After finding this thread, I checked my client’s debug logs and can confirm that when I’m having a problem starting a chat bot, it looks the same as what’s happened in Nifty255’s logs: sometimes I just don’t get the 001 reply, or it arrives very late, which causes the bot to not start correctly. For example, starting up a bot just now, it took 1 minute and 23 seconds to receive the 001 reply.

I’m experiencing this issue as well, in intermittent spurts. Something on Twitch’s side seems to have gone wonky since their test on May 1st at 2pm ET.

The issue seems to have resolved at approximately 11:20 AM on Monday the 4th. I am no longer not receiving the welcome (001) response.