Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Running the cross-domain sample to connect to OpenFilre
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yaron  
View profile  
 More options Nov 28 2009, 2:42 pm
From: Yaron <yaro...@gmail.com>
Date: Sat, 28 Nov 2009 11:42:47 -0800 (PST)
Local: Sat, Nov 28 2009 2:42 pm
Subject: Running the cross-domain sample to connect to OpenFilre
Hello,
I have installed the OpenFire server and Uploaded the strophe library
& samples to Apache web server.
I am trying to run the crossdomain.html sample after I changed the
BOSH_SERVICE variable to the value:
http://localhost:7070/http-bind
I have enabled Bosh on the OpenFire server
but I am getting the error:
16, ioError, An error occured preventing completion of the request.

Thank you

Yaron


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Moffitt  
View profile  
 More options Dec 13 2009, 5:11 pm
From: Jack Moffitt <metaj...@gmail.com>
Date: Sun, 13 Dec 2009 15:11:07 -0700
Local: Sun, Dec 13 2009 5:11 pm
Subject: Re: Running the cross-domain sample to connect to OpenFilre

> I have installed the OpenFire server and Uploaded the strophe library
> & samples to Apache web server.
> I am trying to run the crossdomain.html sample after I changed the
> BOSH_SERVICE variable to the value:
> http://localhost:7070/http-bind
> I have enabled Bosh on the OpenFire server
> but I am getting the error:
> 16, ioError, An error occured preventing completion of the request.

Where do you get this error from? This doesn't look like any web
browser error I'm familiar with.

Is crossdomain.xml being served at
http://localhost:7070/crossdomain.xml?  If not, you won't be able to
connect.

jack.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raj  
View profile  
 More options Dec 16 2009, 4:08 am
From: Raj <bhim...@gmail.com>
Date: Wed, 16 Dec 2009 01:08:16 -0800 (PST)
Local: Wed, Dec 16 2009 4:08 am
Subject: Re: Running the cross-domain sample to connect to OpenFilre
I am having similar issue. crossdomain.xml is getting served on port
7070 in my case. The callback passed to connect method just gets
called while connecting to the server (figured it out by the status
code 1). I get a blank response with HTTP status 200 from the server.
When I don't use the Http proxy I get Http status 302. I am not able
to figure out where I am going wrong.

On Dec 13, 2:11 pm, Jack Moffitt <metaj...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Moffitt  
View profile  
 More options Dec 16 2009, 11:43 am
From: Jack Moffitt <metaj...@gmail.com>
Date: Wed, 16 Dec 2009 09:43:38 -0700
Local: Wed, Dec 16 2009 11:43 am
Subject: Re: Running the cross-domain sample to connect to OpenFilre

> I am having similar issue. crossdomain.xml is getting served on port
> 7070 in my case. The callback passed to connect method just gets
> called while connecting to the server (figured it out by the status
> code 1). I get a blank response with HTTP status 200 from the server.
> When I don't use the Http proxy I get Http status 302. I am not able
> to figure out where I am going wrong.

HTTP is sensitive to trailing slashes. You probably need to add a
trailing slash somewhere. I think openfire wants the http bind url to
be /http-bind/ not /http-bind like everyone else. If you forget that
trailing /, it doesn't work.

I ran into this a few days ago when verifying some code on Openfire myself.

jack.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raj  
View profile  
 More options Dec 16 2009, 12:11 pm
From: Raj <bhim...@gmail.com>
Date: Wed, 16 Dec 2009 09:11:06 -0800
Local: Wed, Dec 16 2009 12:11 pm
Subject: Re: Running the cross-domain sample to connect to OpenFilre

Following is what I have in my httpd.conf

ProxyRequests Off
ProxyPass /http-bind http://localhost:7070/http-bind/
ProxyPassReverse /http-bind http://localhost:7070/http-bind/

I cross checked it again, my request goes as
http:/localhost:7070/http-bind/. I just get a blank response with http
status 200.

Raj


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Moffitt  
View profile  
 More options Dec 16 2009, 12:30 pm
From: Jack Moffitt <metaj...@gmail.com>
Date: Wed, 16 Dec 2009 10:30:06 -0700
Local: Wed, Dec 16 2009 12:30 pm
Subject: Re: Running the cross-domain sample to connect to OpenFilre

> I cross checked it again, my request goes as
> http:/localhost:7070/http-bind/. I just get a blank response with http
> status 200.

Openfire does not support GET requests to that URL. Are you doing POST
requests or GET requests? I can't tell from your email whether you are
testing Strophe or manually checking in a browser :)

jack.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raj  
View profile  
 More options Dec 16 2009, 12:36 pm
From: Raj <bhim...@gmail.com>
Date: Wed, 16 Dec 2009 09:36:12 -0800
Local: Wed, Dec 16 2009 12:36 pm
Subject: Re: Running the cross-domain sample to connect to OpenFilre

I have embedded strophe in my web application and trying to connect to
Openfire. Strophe is sending out a POST request. The callback in the connect
method gets called only once with status as 1.

Raj


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raj  
View profile  
 More options Dec 16 2009, 2:03 pm
From: Raj <bhim...@gmail.com>
Date: Wed, 16 Dec 2009 11:03:32 -0800
Local: Wed, Dec 16 2009 2:03 pm
Subject: Re: Running the cross-domain sample to connect to OpenFilre

Can please you tell me how to figure out if the strophe request is indeed
hitting the http-bind port of openfire?

Thanks
Raj


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raj  
View profile  
 More options Dec 17 2009, 2:04 pm
From: Raj <bhim...@gmail.com>
Date: Thu, 17 Dec 2009 11:04:14 -0800
Local: Thurs, Dec 17 2009 2:04 pm
Subject: Re: Running the cross-domain sample to connect to OpenFilre

I got this working finally. Firefox with firebug enabled was the problem.
http://code.stanziq.com/strophe/ticket/57 Does anyone know what
configuration changes are needed to connect to a tigase server using
strophe?

-Raj


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Moffitt  
View profile  
 More options Dec 19 2009, 1:07 am
From: Jack Moffitt <metaj...@gmail.com>
Date: Fri, 18 Dec 2009 23:07:22 -0700
Local: Sat, Dec 19 2009 1:07 am
Subject: Re: Running the cross-domain sample to connect to OpenFilre

> I got this working finally. Firefox with firebug enabled was the problem.
> http://code.stanziq.com/strophe/ticket/57 Does anyone know what
> configuration changes are needed to connect to a tigase server using
> strophe?

You shouldn't need anything different except the bosh endpoint url you
pass into the Strophe.Connection constructor. I'm not sure what
ports/path Tigase uses by default though.

jack.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »