I am working on getting the IM & Presence samples working but I am running into trouble following the deployment guide. I have setup my Apache server to redirect httpbinding requests to our Presence server. I am trying to use https for the communication but it is not working too well. Here is my response from direct httpbinding:
This URI is for XMPP communication via the BOSH protocol.
Please reference the following protocols:
<ul>
<li>
RFC 3920: Extensible Messaging and Presence Protocol (XMPP): Core</li>
<li>
RFC 3921: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence</li>
<li>
XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH)</li>
<li>
XEP-0206: XMPP Over BOSH</li>
</ul>
Configuration line in my httpd.conf:
ProxyPass /httpbinding https://ncias-p595.nci.nih.gov:7335/httpbinding keepalive=On disablereuse=Off
When I use my proxy redirect I get the following:
<h1 style="color: #000000; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Proxy Error</h1>
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
GET /httpbinding.
Reason:
Error reading from remote server Can someone help me with a workaround?
Thanks.