Connection always times out with 0.11.3

0 views
Skip to first unread message

Vasili Sviridov

unread,
Feb 22, 2008, 5:59:53 PM2/22/08
to py-transports
Hello, I've attempted to update to latest stable PyMSNt today, but
after doing that I can no longer connect to MSN. I get messages about
connection timeouts, even though the switchboard server address and
port are correct and I can telnet to the switchboard no problem. After
rolling back to 0.11.2-dev connectivity resumed.

mercurial snapshot seems to behave the same.

Any advice is appreciated...

Kelly Hays

unread,
Feb 22, 2008, 6:12:41 PM2/22/08
to py-tra...@googlegroups.com

I had this problem last week. It turns out that the meaning of one of
the lines in the config file has changed slightly.

The part I had to change is below.
<!-- The public IP or DNS name of the machine the transport is running on -->
<!-- This is needed for file transfer!! This is also used as the IP
address for
outgoing connections -->
<host>127.0.0.1</host>

My server is behind a NAT firewall and I had the Host set to my public
IP address. After the upgrade I had to change it to my internal
RFC1918 address (192.168.x.x.)

> >
>

Hope that helps.

--
Kelly Hays
XMPP:kelly...@jkhfamily.org

Vasili Sviridov

unread,
Feb 22, 2008, 7:08:11 PM2/22/08
to py-transports
Hmm, i'm reusing config file from previous instance, and it has
127.0.0.1 in it. Cause my transports run at same machine as server
(ejabberd 2.0.0)

On Feb 22, 3:12 pm, "Kelly Hays" <j.kelly.h...@gmail.com> wrote:
> XMPP:kelly.h...@jkhfamily.org

Vasili Sviridov

unread,
Feb 22, 2008, 7:10:23 PM2/22/08
to py-transports
The problem is not that the transport cannot connect to jabber
server... Is that the transport cannot connect to MSN server.

On Feb 22, 3:12 pm, "Kelly Hays" <j.kelly.h...@gmail.com> wrote:
> XMPP:kelly.h...@jkhfamily.org

Vasili Sviridov

unread,
Feb 22, 2008, 7:30:22 PM2/22/08
to py-transports
this is the error i'm getting

Failed to connect to MSN servers: [Failure instance: Traceback
(failure with no frames): <type 'exceptions.Exception'>: Timeout]

Kelly Hays

unread,
Feb 22, 2008, 7:59:25 PM2/22/08
to py-tra...@googlegroups.com
On Fri, Feb 22, 2008 at 6:08 PM, Vasili Sviridov <vsvi...@gmail.com> wrote:
>
> Hmm, i'm reusing config file from previous instance, and it has
> 127.0.0.1 in it. Cause my transports run at same machine as server
> (ejabberd 2.0.0)

If you look at the comment above the <host>127.0.0.1</host> line you
can see the following sentence has been added: "This is also used as


the IP address for outgoing connections"

If you don't change that address then the transport will try to talk
to the MSN servers using the loopback address (127.0.0.1) which is not
possible.

Reply all
Reply to author
Forward
0 new messages