I've been hacking away at a strophe project against openfire (I'm a
maintainer of the project, so I watch for openfire issues here).
Anyway, I have been hitting http error 12152 frequently and wonder
which side of the connection to blame for the subsequent disconnection
that occurs. The log is below (upside down, sorry). Comments?
thanks!
daryl
3:10 AM :: Disconnect was called because: undefined
3:10 AM :: Disconnecting from server...
3:10 AM :: SENT: <body rid='2090434129'
xmlns='http://jabber.org/protocol/httpbind' sid='707ee2bc'
type='terminate'><presence xmlns='jabber:client'
type='unavailable'/></body>
3:10 AM :: request id 882.0 state changed to 1
3:10 AM :: request id 882.0 state changed to 1
3:10 AM :: request id 882.0 posting
3:10 AM :: _throttledRequestHandler called with 1 requests
3:10 AM :: _sendTerminate was called
3:10 AM :: Disconnect was called because: undefined
3:10 AM :: Disconnecting from server...
3:10 AM :: _throttledRequestHandler called with 0 requests
3:10 AM :: _throttledRequestHandler called with 0 requests
3:10 AM :: _throttledRequestHandler called with 0 requests
3:10 AM :: _throttledRequestHandler called with 0 requests
3:10 AM :: Unable to connect to server...
3:10 AM :: RECV: <body xmlns='http://jabber.org/protocol/httpbind'
type='terminate' condition='item-not-found'/>
3:10 AM :: request id 881.2 got 200
3:10 AM :: request id 881 should now be removed
3:10 AM :: _throttledRequestHandler called with 0 requests
3:10 AM :: removing request
3:10 AM :: request id 881.2 state changed to 4
3:10 AM :: request id 881.2 state changed to 3
3:10 AM :: request id 881.2 state changed to 2
3:10 AM :: SENT: <body rid='2090434128'
xmlns='http://jabber.org/protocol/httpbind' sid='707ee2bc'/>
3:10 AM :: request id 881.1 state changed to 1
3:10 AM :: request id 881.1 state changed to 1
3:10 AM :: request id 881.1 posting
3:10 AM :: _throttledRequestHandler called with 1 requests
3:10 AM :: request errored, status: 12152, number of errors: 1
3:10 AM :: request id 880.1 error 12152 happened
3:10 AM :: request id 880.1 state changed to 4
3:09 AM :: SENT: <body rid='2090434128'
xmlns='http://jabber.org/protocol/httpbind' sid='707ee2bc'/>
3:09 AM :: request id 880.0 state changed to 1
3:09 AM :: request id 880.0 state changed to 1
3:09 AM :: request id 880.0 posting
3:09 AM :: no requests during idle cycle, sending blank request
12152 is not a HTTP error. Some poking around the web suggests it to
be a Windows-specific error code (I guess you're using IE on Windows)
that means the HTTP server's response couldn't be parsed.
It could be a server issue (generating a malformed response), a
network error (e.g. disconnect truncating the response) or a bug in
the HTTP parsing code in Windows (whereby it fails to parse a valid
response).
I suggest you get a packet capture using Wireshark, which will show
the actual data received from the network, and debug it from there.
Regards,
Matthew
The full list of such errors is here:
http://support.microsoft.com/kb/193625
This is one of those very few places where I think IE did things
better than the other browsers.
In any case, it is not related to Striphe, but may be related to the
connection manager.
jack.
> --
> You received this message because you are subscribed to the Google Groups "Strophe" group.
> To post to this group, send email to str...@googlegroups.com.
> To unsubscribe from this group, send email to strophe+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/strophe?hl=en.
>
>