Ticket #99 (closed defect: fixed)

Opened 14 months ago

Last modified 4 weeks ago

http method: error 500 on getting switchboard

Reported by: anonymous Owned by: dx
Priority: major Milestone: 1.0
Component: emesenelib Version:
Keywords: http method switchboard Cc:

Description

I'm using svn 888. When the http method is enabled, my messages are not delivered to other users and i can't receive messages sent to me.

Attachments

Change History

  Changed 14 months ago by quentin88

I use the 0.99svn895-1 version. The soft cannot connect on the internet il I don't enable th http method. If I enable it, the soft can connect but nobody can receive my message and I can receive any message

  Changed 14 months ago by anonymous

try with the newest svn, and put some feedback here

  Changed 14 months ago by voteslave@…

just downloaded the latest 'getdeb' and if i don't tick HTTP i can't even connect - if i do tick it i can see other users and they can see me but we can't message each other.

Am using Ubuntu 7.04 - and think i had similar probs with pidgin (which is why i tried emesene - nice prog by the way

  Changed 14 months ago by dx

  • priority changed from critical to major

worksforme, but i'll try to check where could be the problem

  Changed 14 months ago by anonymous

  • owner changed from somebody to dx

  Changed 13 months ago by dx

  • priority changed from major to normal

I tried to log in with http method but the servers were too busy... so I added handling for that

If no one replies soon, we'll leave this for 1.0.1

  Changed 13 months ago by dx

  • keywords switchboard risk1.0 added; problem removed

  Changed 13 months ago by C10uD

tried http method, and got this after receiving contact list

Exception in thread Thread-3:
Traceback (most recent call last):
  File "threading.py", line 460, in __bootstrap
    self.run()
  File "/usr/share/emesene/emesenelib/Socket.py", line 476, in run
    data = self.makeHttpRequest( req )
  File "/usr/share/emesene/emesenelib/Socket.py", line 496, in makeHttpRequest
    return self.getHttpResponse()
  File "/usr/share/emesene/emesenelib/Socket.py", line 499, in getHttpResponse
    response = self.connection.getresponse()
  File "httplib.py", line 924, in getresponse
    response.begin()
  File "httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "httplib.py", line 343, in _read_status
    line = self.fp.readline()
  File "socket.py", line 331, in readline
    data = recv(1)
timeout: timed out

The read operation timed out
timed out

  Changed 13 months ago by C10uD

2nd try:

got the contact list but soon started this kind of loop

select: session is closed
  File "Controller.py", line 1148, in <module>
    main()
  File "Controller.py", line 1141, in main
    gtk.main()
  File "/usr/share/emesene/emesenelib/core.py", line 547, in httpProcess
    sb.process()
  File "/usr/share/emesene/emesenelib/Switchboard.py", line 177, in process
    fds = self.socket.select()
  File "/usr/share/emesene/emesenelib/Socket.py", line 205, in select
    traceback.print_stack()

p.s. i don't usually use http method, i'm just going bug-hunting :P

  Changed 12 months ago by vnieto@…

I have the same problem with http connection. my messages are not delivered to other users and i can't receive messages sent to me. I use ubuntu 7.10

  Changed 12 months ago by NaNNy

  • priority changed from normal to major

Same problem: I can connect only with http method but I can't send/recived any message. Linux Mint 4 (Ubuntu 7.10). Router netgear... can it be the problem?

Also with pidgin i can connect only in http mode, but with it i can send/recived message

  Changed 12 months ago by dx

  • priority changed from major to normal

follow-up: ↓ 14   Changed 11 months ago by patrick.dessalle

I've tested the HTTP method connection and what I've seen is that at some point after the login, XFR messages are sent and a USR message is sent back by emesene. At that point there's a HTTP 200 code check and it returns a 500 and therefore launches the quit() method, putting self.open to False and blocking all the rest.

I don't know if it sent the 500 because we sent the USR the server to which we sent the USR is not valid anymore but someone with strong knowledge of the MSN protocol should look into it.

in reply to: ↑ 13   Changed 11 months ago by dx

Replying to patrick.dessalle:

I've tested the HTTP method connection and what I've seen is that at some point after the login, XFR messages are sent and a USR message is sent back by emesene. At that point there's a HTTP 200 code check and it returns a 500 and therefore launches the quit() method, putting self.open to False and blocking all the rest. I don't know if it sent the 500 because we sent the USR the server to which we sent the USR is not valid anymore but someone with strong knowledge of the MSN protocol should look into it.

XFR tells us to connect to another server. We do so and send the USR message. The 500 is likely to be internal server error.

  Changed 10 months ago by anonymous

  • priority changed from normal to major

  Changed 10 months ago by Gigi

I'm going to connect alway with Wi-Fi connection in university.. Some ports are closed so I have to use Http method.. I wish this could be solved soon.. Thanks!

  Changed 10 months ago by anonymous

  • priority changed from major to critical

  Changed 10 months ago by anonymous

  • priority changed from critical to major

  Changed 10 months ago by dx

  • keywords risk1.0 removed
  • owner changed from dx to marianoguerra

got layer?

  Changed 10 months ago by anonymous

  • priority changed from major to critical

  Changed 10 months ago by dx

  • priority changed from critical to major

  Changed 10 months ago by dx

  • owner changed from marianoguerra to dx
  • status changed from new to assigned

ok, i tried this again, and in fact this stopped working with some recent changes to switchboard

i'll improve this code..

  Changed 9 months ago by Gigi

Dx: ho is your work going?

  Changed 9 months ago by Gigi

Hope this helps:

[code]

Traceback (most recent call last):

File "/home/gigi/emesene/emesenelib/SignalHandler.py", line 285, in serverMessage

delta = int( payloadDataMessage-Delta? )

ValueError?: invalid literal for int() with base 10: "1RNG 708770053 64.4.36.24:1863 CKI 2054254.2615357 bibi.84@… {%20L'APE%20MAIA%20} U messenger.msn.com" /code

  Changed 9 months ago by anonymous

  • priority changed from major to critical

  Changed 9 months ago by dx

  • priority changed from critical to major

  Changed 9 months ago by dx

with the new socket, the bug reported by gigi is fixed.

  Changed 9 months ago by gigi

Now this is what i have when I tr to connect with Http method:

gigi@ubuntu:~$ emesene

VER 1 MSNP13 CVR0

ad it stops..

  Changed 9 months ago by dx

  • status changed from accepted to assigned
  • component changed from other to emesenelib

test

  Changed 9 months ago by gigi

I think you already know but i've found this: http://www.hypothetic.org/docs/msn/general/http_connections.php

good job :)

thank you

  Changed 9 months ago by anonymous

i have same probleme http://emesene.org/trac/ticket/681

  Changed 9 months ago by C10uD

  • summary changed from With "http method" messages aren't delivered or received to HTTP Method is broken - read inside.

            VER 1 MSNP13 CVR0 OUT

Thread-4 doing poll... Thread-4 closed Exception in thread Thread-3: Traceback (most recent call last):

    File "threading.py", line 460, in bootstrap

        self.run()

    File "/usr/share/emesene/emesenelib/Socket.py", line 540, in run

        data = self.poll()

    File "/usr/share/emesene/emesenelib/Socket.py", line 567, in poll

        'Action=poll&SessionID=' + self.sessionID)

    File "/usr/share/emesene/emesenelib/Socket.py", line 578, in request

        self.connection.request(method, url, payload, self.headers)

    File "httplib.py", line 862, in request

        self._send_request(method, url, body, headers)

    File "httplib.py", line 885, in _send_request

        self.endheaders()

    File "httplib.py", line 856, in endheaders

        self._send_output()

    File "httplib.py", line 728, in _send_output

        self.send(msg)

    File "httplib.py", line 695, in send

        self.connect()

    File "httplib.py", line 663, in connect

        socket.SOCK_STREAM):

gaierror: (-2, 'Nom ou service inconnu')

emesene version 1.135-1 Gusty AMD 64bit Proxy enable http enable but not Available (Shaded)

this is not duplicate message ! ¶

            VER 1 MSNP13 CVR0 OUT

Thread-5 doing VER 1 MSNP13 CVR0... Exception in thread Thread-4: Traceback (most recent call last):

    File "threading.py", line 460, in bootstrap

        self.run()

    File "/usr/share/emesene/emesenelib/Socket.py", line 540, in run

        data = self.poll()

    File "/usr/share/emesene/emesenelib/Socket.py", line 567, in poll

        'Action=poll&SessionID=' + self.sessionID)

    File "/usr/share/emesene/emesenelib/Socket.py", line 579, in request

        return self.getHttpResponse()

    File "/usr/share/emesene/emesenelib/Socket.py", line 582, in getHttpResponse

        response = self.connection.getresponse()

    File "httplib.py", line 924, in getresponse

        response.begin()

    File "httplib.py", line 385, in begin

        version, status, reason = self._read_status()

    File "httplib.py", line 349, in _read_status

        raise BadStatusLine?(line)

BadStatusLine?

Thread-5 closed

emesene version 1.135-1 Gusty AMD 64bit Proxy enable http enable but not Available (Shaded)

  Changed 9 months ago by Gigi

mmm.. I don't know what this means.. but I'm happy because yesterday emesene starts working at university! I'm sure other ports (except 80) are closed in that wifi, but I don't know how.. Emesene works fine without http connection!!

  Changed 8 months ago by dx

  • owner changed from dx to marianoguerra
  • version deleted
  • summary changed from HTTP Method is broken - read inside. to http method: error 500 on getting switchboard

  Changed 8 months ago by dx

  • owner changed from marianoguerra to dx
  • status changed from assigned to accepted

-.-

  Changed 8 months ago by dx

  • status changed from accepted to closed
  • resolution set to fixed

yay

  Changed 7 months ago by anonymous

http://www.finishup.cn H?r f?rs?kte allts? pejlaren f? mig att "erk?nna" genom http://www.chinawordpress.net.cn hota med b?ter och r?tteg?ng. Hon f?rs?kte ?ven f? mig att erk?nna att jag har en http://www.chinaword.net.cn DVD-spelare kan emot tevesignaler. Visst finns det kanske DVD-spelare med tevemottagare men en som sitter i datorn? Lite komiskt. Videoapparater har oftast tevemottagare s? hade jag sagt ja d?r hade jag f?rmodligen varit illa ute http://www.tatto.com.cn Vid en r?tteg?ng st?r pejlarens ord mot ditt eftsom pejlaren ?r en tj?nsteman. Det vill s?ga att om pejlaren ser teven s? kan hon s?ga detta i r?tten och f?modligen vinna ocks?. Men om hon varken h?r eller ser teven s? har http://www.treadmilll.cn

  Changed 7 months ago by anonymous

.

  Changed 6 months ago by anonymous

  Changed 6 months ago by anonymous

This leadership position gives us the opportunity http://www.domainkr.cn to work with all of our clients to guarantee that your door will meet your exact needs. After we gather specifications and ideas from you, our award winning designers will create your door guaranteeing that the final product is both technically accurate and beautiful. http://www.buygoldbullion.cn Once this is done our designers pass it over to our manufacturing facility. There, your wrought iron door will be created by skilled artisans, http://www.fencelist.com.cn giving you a one-of-a-kind finished product, with its own copyright and trademark to guarantee your doors authenticity. This process is what makes each of our doors unique, and makes your door a true work of art. If you think that a wrought iron door might be the perfect http://www.show-china.com.cn way to finish your home or business, please visit our portfolio to see our full line of wrought iron door grills. When you are done please visit us at one of our showrooms or request more information by filling out our online form. http://www.oblog.com.cn/u/renxianying/index.html http://treadmilll.bokee.com/

  Changed 5 months ago by anonymous

  Changed 4 months ago by anonymous

  Changed 3 months ago by anonymous

aluminum modern log banister DECK outdoor price installing metal stair rails Interior stair handrail exterior http://www.cheap-wrought-iron.cn baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails posts vinyl curved rails

Add/Change #99 (http method: error 500 on getting switchboard)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.