# Need some help with connecting to twitch irc servers!

**URL:** <https://discuss.dev.twitch.com/t/need-some-help-with-connecting-to-twitch-irc-servers/1315>\
**Category:** Chat and IRC\
**Created:** [December 15, 2014, 5:33am UTC](https://discuss.dev.twitch.com/t/need-some-help-with-connecting-to-twitch-irc-servers/1315 "2014-12-15T05:33:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![UndeadLeech](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/undeadleech/32/288_2.png) [@UndeadLeech](https://discuss.dev.twitch.com/u/UndeadLeech)\
**Post date:** [December 15, 2014, 5:33am UTC](https://discuss.dev.twitch.com/t/need-some-help-with-connecting-to-twitch-irc-servers/1315/1 "2014-12-15T05:33:14Z")

</div>

I have some problems connecting my bot to [irc.twitch.tv](http://irc.twitch.tv). Connecting to [irc.ubuntu.com](http://irc.ubuntu.com) is no problem tho…

When connecting to ubuntu I just send nick and then usr. With twitch I am sending pass, nick and then usr.  
I am really confused why this isn’t working at all. Usually I think twitch should tell me anything but after my bot tells me that no special errors occur there is just no message at all. So I think the problem is within the connection not with me being unable to send a valid pass before usr and nick.  
Because my code is a little longer I am posting it on pastebin I hope you can understand and analyse it:

[http://pastebin.com/Win3CXbP](http://pastebin.com/Win3CXbP)

- My oauth PW should be correct it is not the string in the sample code.

- I have the pw/usr/nick in the right order, nick/usr is wrong in code.

- I want to say again, that I don’t get any message from twitch or any errors.

- I just tried using wireshark and when filtering for “irc” I got some data  
with [irc.ubuntu.com](http://irc.ubuntu.com), but none with [irc.twitch.tv](http://irc.twitch.tv).  
Is the twitch adress wrong?

---

<div class="post-metadata">

**Author:** ![UndeadLeech](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/undeadleech/32/288_2.png) [@UndeadLeech](https://discuss.dev.twitch.com/u/UndeadLeech)\
**Post date:** [December 16, 2014, 9:58pm UTC](https://discuss.dev.twitch.com/t/need-some-help-with-connecting-to-twitch-irc-servers/1315/2 "2014-12-16T21:58:39Z")

</div>

Solved ( [http://stackoverflow.com/questions/27414105/connecting-to-twitch-using-my-c-irc-bot](http://stackoverflow.com/questions/27414105/connecting-to-twitch-using-my-c-irc-bot) ).

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [December 26, 2014, 9:59pm UTC](https://discuss.dev.twitch.com/t/need-some-help-with-connecting-to-twitch-irc-servers/1315/3 "2014-12-26T21:59:26Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
