Subject: unknown host
I am trying to connect to a customers sandbox server. I can easily do this with Gajim or Adium clients. I have connected both to the sandbox and sent messages. I can't seem to get Matrix to connect though.
hypothetically my settings are:
user: user1\40website.net.1fe7d4e59c9c63d9552931999c55c9f1401ea599@api.clientdomain.com
pass: xxxx
server: sb1.app.tstserver.com
While this connects with an IM client, notice the @api.clientdomain.com is different from sb1.app.tstserver.com.
I can't seem to set this right using Matrix... With this code:
I have tried every combination of:
user: user1\40website.net.1fe7d4e59c9c63d9552931999c55c9f1401ea599@api.clientdomain.com
pass: xxxx
server: sb1.app.tstserver.com
that I can think of.. they all result in:
Any ideas?
hypothetically my settings are:
user: user1\40website.net.1fe7d4e59c9c63d9552931999c55c9f1401ea599@api.clientdomain.com
pass: xxxx
server: sb1.app.tstserver.com
While this connects with an IM client, notice the @api.clientdomain.com is different from sb1.app.tstserver.com.
I can't seem to set this right using Matrix... With this code:
- xmppClient.SetXmppDomain(settings.domain);
- xmppClient.Username = settings.user;
- xmppClient.Password = settings.pwd;
- xmppClient.Hostname = settings.host;
- xmppClient.Transport = Matrix.Net.Transport.Socket;
- // set settings
- _login.User = settings.loginUser;
- _login.Server = settings.loginServer;
- _login.Password = settings.loginPass;
- xmppClient.Status = "ready for chat";
- xmppClient.Show = Matrix.Xmpp.Show.chat;
- xmppClient.StartTls = false;
- xmppClient.Open();
I have tried every combination of:
user: user1\40website.net.1fe7d4e59c9c63d9552931999c55c9f1401ea599@api.clientdomain.com
pass: xxxx
server: sb1.app.tstserver.com
that I can think of.. they all result in:
- SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="sb1.app.tstserver.com" version="1.0" >
- RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" id="3268448353" from="api.clientdomain.com" xml:lang="en" >
- RECV: <stream:error xmlns:stream="http://etherx.jabber.org/streams">
- <host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams" />
- </stream:error>
- SEND: </stream:stream>
- RECV: </stream:stream>
Any ideas?
Zapbbx
Show profile
Link to this post