Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

error: No response from Twitch. #5

Closed
RoopeAnkka opened this issue Mar 29, 2021 · 4 comments
Closed

error: No response from Twitch. #5

RoopeAnkka opened this issue Mar 29, 2021 · 4 comments

Comments

@RoopeAnkka
Copy link

Hello,

How can I fix this?

[2021-03-29 12:15:51] Connecting to the Twitch server as user "xxxx"...
[2021-03-29 12:15:51] Joined channel "xxxx".
[12:15] error: No response from Twitch.
[12:15] error: No response from Twitch.

I tried to use the script for several days if it would be a twitch issue. Any fix for that?

@bartosjiri
Copy link
Owner

bartosjiri commented Mar 31, 2021

Hey,
unfortunately I haven't been able to replicate the problem.

Are you sure the channels you are trying to connect exist? You can try enabling debug logging for the script to possibly get more information:

  • In the lurker.js file, edit the object on line 24 as the following:
    const tmiOptions = {
        connection: {
            reconnect: true,
            secure: true
        },
        identity: {
            username: user,
            password: token
        },
        channels: channels,
        options: {
            debug: true
        }
    }
    

@RoopeAnkka
Copy link
Author

Somehow adding that fixed problem. I really don't know how, I didn't do anything else.

@RoopeAnkka
Copy link
Author

Is there a possibility to add like !join command to join different raffles based on chat?

@bartosjiri
Copy link
Owner

Somehow adding that fixed problem. I really don't know how, I didn't do anything else.

I suspect this is related to tmijs/tmi.js#163 & tmijs/tmi.js#211. It was most likely working correctly even before the script modification, showing a false positive error message.

Is there a possibility to add like !join command to join different raffles based on chat?

No, as it would expand beyond the intended scope of the project and result in an unfair advantage. You are welcome to fork the repository and add this feature to your project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants