librelist archives

« back to archive

Blank response from server

Blank response from server

From:
Gauri Padbidri
Date:
2015-05-08 @ 10:00
POST http://ejabberd_ip/http-bind HTTP/1.1
Host: ejabberd_ip
Connection: keep-alive
Content-Length: 1292
Origin: http://community.dev.domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: text/plain;charset=UTF-8
Accept: */*
Referer: http://community.dev.domain.com/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8

<body rid='8604' xmlns='http://jabber.org/protocol/httpbind' 
sid='be3fa0fed7d04129287e665054473449d483cb66'><iq 
from='gmcs@domain.com/570202950143115659771440' to='domain.com' type='get'
xmlns='jabber:client' id='1:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' to='domain.com' type='get'
xmlns='jabber:client' id='2:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#items'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' id='enablecarbons' 
type='set' xmlns='jabber:client'><enable 
xmlns='urn:xmpp:carbons:2'/></iq><iq type='get' id='3:roster' 
xmlns='jabber:client'><query xmlns='jabber:iq:roster'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' to='domain.com' type='get'
xmlns='jabber:client' id='4:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' to='domain.com' type='get'
xmlns='jabber:client' id='5:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#items'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' id='enablecarbons' 
type='set' xmlns='jabber:client'><enable 
xmlns='urn:xmpp:carbons:2'/></iq></body>

RESPONSE FOR 1st request is as expected : 
===================================
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Date: Thu, 07 May 2015 16:21:06 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 5147
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type

<body xmlns='http://jabber.org/protocol/httpbind'><iq 
xmlns='jabber:client' from='domain.com' 
to='gmcs@domain.com/570202950143115659771440' id='2:sendIQ' 
type='result'><query xmlns='http://jabber.org/protocol/disco#items'><item 
jid='conference.domain.com'/><item jid='pubsub.domain.com'/><item 
jid='vjud.domain.com'/></query></iq><iq xmlns='jabber:client' 
from='gmcs@domain.com' to='gmcs@domain.com/570202950143115659771440' 
id='enablecarbons' type='result'/><iq xmlns='jabber:client' 
from='gmcs@domain.com' to='gmcs@domain.com/570202950143115659771440' 
id='enablecarbons' type='result'/><iq xmlns='jabber:client' 
from='gmcs@domain.com' to='gmcs@domain.com/570202950143115659771440' 
id='3:roster' type='result'><query xmlns='jabber:iq:roster'><item 
subscription='both' name='Deepak Test' jid='deepaktest@domain.com'/><item 
subscription='both' jid='gauri@domain.com'/><item subscription='both' 
name='Deepak' jid='deepak@domain.com'/><item subscription='both' 
name='Admin User Gauri' jid='adminuser@domain.com'/><item 
subscription='both' name='Stacy' jid='stacy@domain.com'/><item 
subscription='both' name='LYnelle' jid='lynelle@domain.com'/><item 
subscription='none' name='GMCS' jid='gmcs@domain.com'/><item 
subscription='both' name='Brian' jid='brian@domain.com'/></query></iq><iq 
xmlns='jabber:client' from='domain.com' 
to='gmcs@domain.com/570202950143115659771440' id='4:sendIQ' 
type='result'><query 
xmlns='http://jabber.org/protocol/disco#info'><identity category='pubsub' 
type='pep'/><identity category='server' type='im' name='ejabberd'/><x 
xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' 
type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x><feature
var='http://jabber.org/protocol/commands'/><feature 
var='http://jabber.org/protocol/disco#info'/><feature 
var='http://jabber.org/protocol/disco#items'/><feature 
var='http://jabber.org/protocol/pubsub'/><feature 
var='http://jabber.org/protocol/pubsub#access-authorize'/><feature 
var='http://jabber.org/protocol/pubsub#access-open'/><feature 
var='http://jabber.org/protocol/pubsub#access-presence'/><feature 
var='http://jabber.org/protocol/pubsub#access-whitelist'/><feature 
var='http://jabber.org/protocol/pubsub#auto-create'/><feature 
var='http://jabber.org/protocol/pubsub#auto-subscribe'/><feature 
var='http://jabber.org/protocol/pubsub#collections'/><feature 
var='http://jabber.org/protocol/pubsub#config-node'/><feature 
var='http://jabber.org/protocol/pubsub#create-and-configure'/><feature 
var='http://jabber.org/protocol/pubsub#create-nodes'/><feature 
var='http://jabber.org/protocol/pubsub#delete-items'/><feature 
var='http://jabber.org/protocol/pubsub#delete-nodes'/><feature 
var='http://jabber.org/protocol/pubsub#filtered-notifications'/><feature 
var='http://jabber.org/protocol/pubsub#get-pending'/><feature 
var='http://jabber.org/protocol/pubsub#instant-nodes'/><feature 
var='http://jabber.org/protocol/pubsub#item-ids'/><feature 
var='http://jabber.org/protocol/pubsub#last-published'/><feature 
var='http://jabber.org/protocol/pubsub#manage-subscriptions'/><feature 
var='http://jabber.org/protocol/pubsub#member-affiliation'/><feature 
var='http://jabber.org/protocol/pubsub#modify-affiliations'/><feature 
var='http://jabber.org/protocol/pubsub#multi-subscribe'/><feature 
var='http://jabber.org/protocol/pubsub#outcast-affiliation'/><feature 
var='http://jabber.org/protocol/pubsub#persistent-items'/><feature 
var='http://jabber.org/protocol/pubsub#presence-notifications'/><feature 
var='http://jabber.org/protocol/pubsub#presence-subscribe'/><feature 
var='http://jabber.org/protocol/pubsub#publish'/><feature 
var='http://jabber.org/protocol/pubsub#publisher-affiliation'/><feature 
var='http://jabber.org/protocol/pubsub#purge-nodes'/><feature 
var='http://jabber.org/protocol/pubsub#retract-items'/><feature 
var='http://jabber.org/protocol/pubsub#retrieve-affiliations'/><feature 
var='http://jabber.org/protocol/pubsub#retrieve-default'/><feature 
var='http://jabber.org/protocol/pubsub#retrieve-items'/><feature 
var='http://jabber.org/protocol/pubsub#retrieve-subscriptions'/><feature 
var='http://jabber.org/protocol/pubsub#subscribe'/><feature 
var='http://jabber.org/protocol/pubsub#subscription-notifications'/><feature
var='http://jabber.org/protocol/pubsub#subscription-options'/><feature 
var='iq'/><feature var='jabber:iq:last'/><feature 
var='jabber:iq:privacy'/><feature var='jabber:iq:register'/><feature 
var='jabber:iq:version'/><feature var='msgoffline'/><feature 
var='presence'/><feature var='urn:xmpp:carbons:1'/><feature 
var='urn:xmpp:carbons:2'/><feature var='vcard-temp'/></query></iq><iq 
xmlns='jabber:client' from='domain.com' 
to='gmcs@domain.com/570202950143115659771440' id='5:sendIQ' 
type='result'><query xmlns='http://jabber.org/protocol/disco#items'><item 
jid='conference.domain.com'/><item jid='pubsub.domain.com'/><item 
jid='vjud.domain.com'/></query></iq></body>

------------------------SECOND REQUEST------------------------------------------

POST http://ejabberd_ip/http-bind HTTP/1.1
Host: ejabberd_ip
Connection: keep-alive
Content-Length: 2184
Origin: http://community.dev.domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: text/plain;charset=UTF-8
Accept: */*
Referer: http://community.dev.domain.com/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8

<body rid='8605' xmlns='http://jabber.org/protocol/httpbind' 
sid='be3fa0fed7d04129287e665054473449d483cb66'><iq 
from='gmcs@domain.com/570202950143115659771440' to='conference.domain.com'
type='get' xmlns='jabber:client' id='6:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' to='pubsub.domain.com' 
type='get' xmlns='jabber:client' id='7:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' to='vjud.domain.com' 
type='get' xmlns='jabber:client' id='8:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq><iq type='get' 
to='deepaktest@domain.com' xmlns='jabber:client' id='9:sendIQ'><vCard 
xmlns='vcard-temp'/></iq><iq type='get' to='gauri@domain.com' 
xmlns='jabber:client' id='10:sendIQ'><vCard xmlns='vcard-temp'/></iq><iq 
type='get' to='deepak@domain.com' xmlns='jabber:client' 
id='11:sendIQ'><vCard xmlns='vcard-temp'/></iq><iq type='get' 
to='adminuser@domain.com' xmlns='jabber:client' id='12:sendIQ'><vCard 
xmlns='vcard-temp'/></iq><iq type='get' to='stacy@domain.com' 
xmlns='jabber:client' id='13:sendIQ'><vCard xmlns='vcard-temp'/></iq><iq 
type='get' to='lynelle@domain.com' xmlns='jabber:client' 
id='14:sendIQ'><vCard xmlns='vcard-temp'/></iq><iq type='get' 
to='brian@domain.com' xmlns='jabber:client' id='15:sendIQ'><vCard 
xmlns='vcard-temp'/></iq><presence xmlns='jabber:client'/><iq 
from='gmcs@domain.com/570202950143115659771440' to='conference.domain.com'
type='get' xmlns='jabber:client' id='16:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' to='pubsub.domain.com' 
type='get' xmlns='jabber:client' id='17:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq><iq 
from='gmcs@domain.com/570202950143115659771440' to='vjud.domain.com' 
type='get' xmlns='jabber:client' id='18:sendIQ'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq></body>


RESPONSE FOR 2nd request is BLANK : 
===================================
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Date: Thu, 07 May 2015 16:21:06 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 51
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type

<body xmlns='http://jabber.org/protocol/httpbind'/>

------------------------------------------------------------------