TCP XMPP Connection
{affinity host}:{chat server port}
The XMPP connection is a TLS-encrypted TCP socket connection to a Riot chat server.
XMPP is used for the social system of Valorant which includes sending / receiving presence info, messages, and friend requests.
Messages are sent back and forth in XML and sometimes the server will split up messages into fragments of incomplete XML. You may need to buffer incoming messages until a valid XML string is formed.
For docs on how to connect to the XMPP server, see https://github.com/giorgi-o/CrossPlatformPlaying/wiki/Riot-Games
Some open-source tools for interacting with Valorant XMPP:
- Valorant XMPP Logger
- An XMPP MITM ("man in the middle") that logs all the messages between the Riot Client and the XMPP server while Valorant is running
- Valorant XMPP Watcher
- Directly connects to the XMPP server and logs incoming messages
- Valorant XMPP Log Viewer
- Webapp UI for viewing the XMPP logs from Valorant XMPP Logger and Valorant XMPP Watcher
- insomnia-plugin-valorant
- Adds template tags to Insomnia for an interactive XMPP UI proxied over a WebSocket
URL Parameters:
-
{affinity host}
The chat server host from the Riot Client Config specific to the player's affinity. The affinity can be found from the PAS Token endpoint
-
{chat server port}
The chat server port from the Riot Client Config. Only observed as
5223