After "Connected to server.", receiving chat works, but sending gives "Not connected to server."
See original GitHub issueActual behaviour:
When registering a ‘chat’ event, chat messages are received correctly.
But using any client commands like client.say
throws an error (the Promise’s catch
spits out “Not connected to server.”)
I did use an oauth password with my bot account, username is all lowercase (I have setup two accounts, one for myself, one for this bot - both using the same email address… could that be a problem?).
Expected behaviour: The bot should be able to send the message to the chat.
Server configuration
- Operating system: Windows 7
- Node version (if applicable): 4.4.7
- NPM version (if applicable): 2.15.8
- tmi.js version: 1.1.2
- Worth noting: Using ‘yarn’ to manage the modules.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
ServerSocket is connected with Client socket....but server is ...
I am making a simple chat program in java....i cant find the source problem in client side code ....i also has tested the...
Read more >VoIP Troubleshooting: 5 Fixes for Common Connection Issues
Is your VoIP phone not working? In this VoIP troubleshooting guide, learn how to fix common VoIP issues and know why they happen....
Read more >Can't turn on chat features - Messages Help - Google Support
If you're not connected, tap Retry. Important: All people in a conversation (1-1 or group) must have chat features turned on. Check your...
Read more >How to Fix Discord Connection Issues - Lifewire
15 quick fixes for when Discord is not working or connecting on iPhone, iPad, Android, Windows, and Mac. Plus, what causes Discord ...
Read more >FIX: Omegle error connecting to server [Updated Guide]
Since your network might be at fault, try connecting from another one. You can also use a reliable VPN that will not get...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I just found it… oh god I feel so dumb…
4am, I probably should go to bed. 💤
Apologies for bringing up this false alarm!
Thanks for your help.
Yeah I couldn’t understand why I could make the connection, but not the authentication. Using
idendity
overidentity
would certainly break something.