<stream:error> - host-unknown - how to fix?

Hi, I am trying to connect to chat.eu.lol.riotgames.com , port 5223 and I finally received a packet, but the connection gets interrupted and does still not work!

Sent:

"

<stream:stream to=“chat.eu.lol.riotgames.com” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>

</stream:stream>

"

Recv:

"

<?xml version='1.0'?><stream:stream xmlns=‘jabber:client’ xmlns:stream=‘http://etherx.jabber.org/streams’ id=‘519738038’ from=‘pvp.net’ xml:lang=‘en’>

stream:error</stream:error>

"

The chat of this game uses the XMPP protocol, and I wanted to create an external chat for it.

The Login works like that:

Username: %USERNAME%@pvp.net

Password: AIR_%PASSWORD%

Here is an account you may wanna use to test the connection:

Username: NS9xFeK7@pvp.net

Password: AIR_epvp123

I dont know how I may fix this issue.