[JDEV] HELP!!!!

prasanta lenka pklenka at yahoo.com
Mon May 21 06:23:10 CDT 2001


Hi,

   I had tried to connect jabber server through my
HTTP proxy.I have installed the 1.4.1 server and the
required HTTP module for it.I faced the following
problem with server.

I create a client socket and connect to my proxy with
port 80
then i write 

PUT http://hostname:5222/ HTTP/1.0
Content-Length: 122
User-Agent: test
Host: hostname:5222

<?xml version='1.0'?><stream:stream to="hostname"
xmlns="jabber:client"
xmlns:stream="http://etherx.jabber.org/streams">

I get the following response from the server

HTTP/1.0 200 OK
Server: jabber/xmlstream-hack-0.1
Expires: Fri, 10 Oct 1997 10:10:10 GMT
Pragma: no-cache
Cache-Control: private
X-Cache: MISS from proxy
Proxy-Connection: close

<?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/strea
ms' id='3B08F871' xmlns='jabber:client'
from='hostname'>

Everything is fine up to this. Then i send the
following packet

PUT http://hostname:5222/ HTTP/1.0
Content-Length: 143
User-Agent: test
Host: hostname:5222

<iq type="set" id="01"><query
xmlns=\"jabber:iq:auth\"><username>xxx</username><password>xxx123</password><resource>rrr</resource></query></iq>


Here i'm not getting any respone from the
server.Getting hanged up.

What is the problem??Is there any problem in server
set up or i'm sending wrong request to server??I have
also tried without the put header for the above
request.But the same problem.Any one have any idea??Pl
help me

Thanks

Prasant

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



More information about the JDev mailing list