Comments (16)
I think they're changing servers or something. Have a look at TwitchStatus.com
from tmi.js.
https://discuss.dev.twitch.tv/t/notice-of-upcoming-changes-websockets-and-secure-connections/2269/24
I'm trying to keep them up to date on our API but as far as I know, the group chat servers don't have any websocket servers listed on the Twitch API at this time.
from tmi.js.
If there were only an API for available chat, event, and group servers...
from tmi.js.
There's the chat_properties endpoint, but not quite what we need .. Also, looking at that, anyone know what "..._pct" is?
from tmi.js.
They are but for the group chat servers you need an oauth_token, this is why I prefer to have a custom API 😄
http://chatdepot.twitch.tv/room_memberships?oauth_token=YOUR_TOKEN
from tmi.js.
There is http://tmi.twitch.tv/servers?cluster=group but I don't know if it's reliable.. some servers are listed there and aren't on the other endpoint..
from tmi.js.
How do you know of these endpoints?
from tmi.js.
I have no life sorry :(
from tmi.js.
Are they in some discussions some places or do you just guess around?
from tmi.js.
I use the Network tool (CTRL+SHIFT+J and click Network) from Chrome and check what API endpoint is being used when browsing Twitch
from tmi.js.
They need to unify their APIs and crap .. How does anyone keep track? Also, you should tell me everything you know.
from tmi.js.
thanks for the info, i restarted our bot and it was able to get back into the server. ill keep an eye on our log file just in case things go down again. and thanks as well for the twitch stats website link!
and yeah, their API all over has holes in it. still cannot believe they wont let you get more than the most recent 1600 follower names. now i have to check each and every chat user who logs into our channel and see if they are following or not so i can give their name in our chat widget a special follower icon.
from tmi.js.
No idea, but as far as I know, tmi.twitch.tv is always subject to change so we cannot rely on these endpoints.. that is why I'm working on my own API for tmi.js, anyways, I have to go to work now, see you guys tomorrow 😄
from tmi.js.
from tmi.js.
I backup "servers.js" and removed all the "off" servers, looks like a temporary fix for now... the only "ws_irc" online is "192.16.64.205 (Port 80)" but thing may change...
from tmi.js.
I will close this issue because it is fixed, I will keep an eye on their websocket servers this weekend just in case they are doing some IP rotations.
@xhip You shouldn't have to do this actually, the library queries http://www.tmijs.org/api/servers/ to update the hardcoded servers and if for some reasons our API doesn't work, then it's going to use the default hardcoded servers. It wasn't working before because the API wasn't updated with the new servers, but now everything should be okay 😄
If you guys see some changes before I do, reply in this issue and I will reopen it.
Thanks!
from tmi.js.
Related Issues (20)
- Emoticons dont work anymroe for long time. Fix it please? HOT 1
- Connection duplicated after disconnect and connect HOT 6
- My account was BANNED because of tmi js HOT 1
- add Hype Train event and channel point event PLEASEEE HOT 1
- Can't connect to server with OAuth token authorization HOT 2
- Wrong message ID for messages sent from client HOT 4
- Cannot read properties of undefined (reading 'startsWith') in Commands.js of tmi.js HOT 1
- Type errors
- Create and get poll results HOT 1
- Client auto-joins channels after reconnect
- help
- client.on('redeem', ....) doesn't listen for reward redemption without viewer message HOT 1
- How do we get the sub tier? HOT 5
- Did number of subs get removed from giftsub?
- Properties with type T | undefined can be null
- Missing userstate in type definitions of ban and timeout events HOT 1
- Unrecognized command: /ban HOT 7
- In `client.on('redeem',......` , Is there a way to obtain the message was sent in that reward? HOT 1
- Missing Component HOT 1
- periodic error log HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmi.js.