librelist archives

« back to archive

Fwd: Converse Sign-in Hanging

Fwd: Converse Sign-in Hanging

From:
Derrick Katungi
Date:
2014-11-03 @ 17:31
Hello Team,

I found conversejs and read about it today. I appreciate it and I would
like to learn more but I have failed to get it to work on my local host.

When I use firebug, this is what I get:
XML--
XML Parsing Error: no element found Location:
moz-nullprincipal:{d946cef9-4542-419d-95e1-632935c18441} Line Number 1,
Column 1:

Post--
<body rid='970253822' xmlns='http://jabber.org/protocol/httpbind'
to='test1' xml:lang='en' wait='60' hold='1' content='text/xml;
charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>

Response Headers--
Accept-RangesbytesContent-Length222Content-Typetext/htmlLast-ModifiedTue,
06 May 2014 10:58:28 GMTServerJetty(7.x.y-SNAPSHOT)

Request Headers--
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encodinggzip, deflateAccept-Languageen-US,en;q=0.5Content-Length203
Content-Typetext/plain; charset=UTF-8Hostlocalhost:7070Origin
http://localhostRefererhttp://localhost/chat_converse/User-AgentMozilla/5.0
(Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
auto_list_rooms: false,
auto_subscribe: false,
bosh_service_url: 'http://localhost:7070/', // Please use this connection
manager only for testing purposes
hide_muc_server: false,
i18n: locales.en, // Refer to ./locale/locales.js to see which locales are
supported
prebind: false,
show_controlbox_by_default: true,
roster_groups: true

Please assist me. I can't wait to get started with conversejs.
-- 

*Derrick Katungi* / Systems Developer
256-775-545-306/ dkatungi@gmail.com

*Gonga Africa*
Kira House, Pilkington Rd, Kampala, Uganda

*<?php while(awake()){code();} ?>*



-- 

*Derrick Katungi* / Systems Developer
256-775-545-306/ dkatungi@gmail.com

*Gonga Africa*
Kira House, Pilkington Rd, Kampala, Uganda

*<?php while(awake()){code();} ?>*

Re: [conversejs] Fwd: Converse Sign-in Hanging

From:
Juan Jose Huelga
Date:
2014-11-04 @ 13:32
What XMPP server are you using? May be you are missing the 'http-bind'
at the end of your bosh_service_url.

bosh_service_url: 'http://localhost:7070/http-bind',

Do not call 'http://localhost:7070/http-bind' in a web browser because
it does not respond (Openfire) but it will respond if you request it
with XMPP messages.

On 11/3/14, Derrick Katungi <dkatungi@gmail.com> wrote:
> Hello Team,
>
> I found conversejs and read about it today. I appreciate it and I would
> like to learn more but I have failed to get it to work on my local host.
>
> When I use firebug, this is what I get:
> XML--
> XML Parsing Error: no element found Location:
> moz-nullprincipal:{d946cef9-4542-419d-95e1-632935c18441} Line Number 1,
> Column 1:
>
> Post--
> <body rid='970253822' xmlns='http://jabber.org/protocol/httpbind'
> to='test1' xml:lang='en' wait='60' hold='1' content='text/xml;
> charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>
>
> Response Headers--
> Accept-RangesbytesContent-Length222Content-Typetext/htmlLast-ModifiedTue,
> 06 May 2014 10:58:28 GMTServerJetty(7.x.y-SNAPSHOT)
>
> Request Headers--
> Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Encodinggzip, deflateAccept-Languageen-US,en;q=0.5Content-Length203
> Content-Typetext/plain; charset=UTF-8Hostlocalhost:7070Origin
> http://localhostRefererhttp://localhost/chat_converse/User-AgentMozilla/5.0
> (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
> auto_list_rooms: false,
> auto_subscribe: false,
> bosh_service_url: 'http://localhost:7070/', // Please use this connection
> manager only for testing purposes
> hide_muc_server: false,
> i18n: locales.en, // Refer to ./locale/locales.js to see which locales are
> supported
> prebind: false,
> show_controlbox_by_default: true,
> roster_groups: true
>
> Please assist me. I can't wait to get started with conversejs.
> --
>
> *Derrick Katungi* / Systems Developer
> 256-775-545-306/ dkatungi@gmail.com
>
> *Gonga Africa*
> Kira House, Pilkington Rd, Kampala, Uganda
>
> *<?php while(awake()){code();} ?>*
>
>
>
> --
>
> *Derrick Katungi* / Systems Developer
> 256-775-545-306/ dkatungi@gmail.com
>
> *Gonga Africa*
> Kira House, Pilkington Rd, Kampala, Uganda
>
> *<?php while(awake()){code();} ?>*
>