the fast, reliable localhost tunneling solution


My kite keeps disconnecting

2012-08-27, 11:52

Hi, I started using pagekite on Windows recently, but I'm having some difficulties.

I have a directory with a simple index.html file, which references some CSS/JS files. When I use this dir to create the kite using pagekite.me path/to/dir mykite.pagekite.me and then access the kite online it sometimes shows the index.html, sometimes it shows the 'Not available' pagekite page.

When the index.html files shows up, then there are troubles with the CSS/JS files. On every refresh, some of the files receives a 503 Service unavailable. Everytime some other file has this problem.

When I look in the console, after each kite refresh in the browser i get this:

<< pagekite.py [traffic] Disconnected from: ip:443

after a while followed by:

<< pagekite.py [connect] Front-end connect: ip:443

Thanks for any tip or idea how to fix this.

Ivan

Comments

  1. Bjarni Rúnar Einarsson said on 2012-08-27, 13:50
    Interesting.

    It is normal to get disconnected every once in a while, but it shouldn't happen so frequently that it causes trouble. Perhaps you could run pagekite.py with the following arguments and mail the resulting log file to me (bre at pagekite.net) so I can take a look?

    pagekite.py --logfile=pagekite.log --debugio path/to/stuff/ yourkite.pagekite.me

    Once you have triggered the problem and seen it misbehave, stop the program and mail the pagekite.log file it created.
    Permalink
  2. Ivan said on 2012-08-27, 14:16
    Thanks for your reply. I just sent you the logs.
    Permalink
  3. Ivan said on 2012-08-28, 09:21
    Just in case anyone will experience this problem, here is a tip from Bjarni (from email) which helped me to go on:

    This actually appears to be an unresolved bug in the Python SSL library, it looks like these two theads may be related:

    http://bugs.python.org/issue8240
    http://bugs.python.org/issue12197

    I am going to see if I can figure out a work around, but it may take a little while. In the meantime, you can probably fly your kites with no problem by using the **--nossl flag** to disable tunnel encryption, or alternately, install the **pyOpenSSL module** which is preferred by pagekite.py and does not exhibit this behavior.
    Permalink
  4. Bjarni Rúnar Einarsson said on 2012-08-29, 12:05
    A fix for this will be released later this week as version 0.5.3.

    Thanks alot, Ivan, for helping us track this down and test the new code.
    Permalink
  5. Bjarni Rúnar Einarsson said on 2012-09-04, 16:43
    Pagekite.py v0.5.3 has been released and should fix this problem: http://pagekite.net/2012-09-04/Pageki...
    Permalink

Leave a comment

( (Please leave these blank: )

We use Gravatar for commenter's photos. Get your own, it's free!