View Single Post
  #1 (permalink)  
Old March 20th, 2013, 11:36 AM
upside upside is offline
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2013
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Default SINCERELY looking for help ... followed book to no avail

Hello — desperately looking for help — any advice greatly appreciated

Purchased the book, excellent.

I have tried the book helloworld example code and now attempting to get strophe example working to no avail ...

I have a server running CENTOS 5.8 with OPENFIRE 3.8.1 installed up running and tested connect via SPARK, OK and working.

HTTP Bind settings are enabled on port 7070
Script Syntax is enabled
CORS is enabled

in apache conf i have set the following up for proxy:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

<IfModule mod_proxy.c>
ProxyRequests Off
ProxyTimeout 1000
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /jabber/ http://localhost:7070/http-bind/
ProxyPassReverse /jabber/ http://localhost:7070/http-bind/

At the WWW ROOT of my server that has Openfire installed and running — in 'httpdocs' i have placed a copy of the crossdomain.xml file

I tried the example code locally on the server and it did not work

On a different server at another domain ... i have attempted to test the crossdomain.html strophe example (mod'd to connect to my server and also included the Flash fallback) to attempt to test a connect to my server as follows:
var BOSH_SERVICE = 'http://216.70.111.248/jabber/'

upon entering the JID and Pass i get the following error in the console:
Failed to load resource: the server responded with a status of 500 (Server Error)

Any help here greatly appreciated.
I have tried MANY various proxy settings to no avail.

FEEL FREE to hit my server to test a connection to it ... ill provide the username / password and URL here:

Server:
http://216.70.111.248
You can see Openfire BOSH at http://216.70.111.248:7070

My test pages:
local on same server as openfire: http://216.70.111.248/strophe/examples/crossdomain.html
remote server: http://disrupt.nu/strophe/examples/crossdomain.html

Available user:
JID: test
Pass: test123

MY GOAL is to get a strophe example connecting to my Openfire server via HTTP correctly over BOSH

Again — any advice or help sincerely appreciated

Last edited by upside; March 20th, 2013 at 11:40 AM.. Reason: providing the URLs to my test pages