<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Trying to get the samples working; proxy error</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6494937" />
  <subtitle>Trying to get the samples working; proxy error</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6494937</id>
  <updated>2013-06-19T09:44:52Z</updated>
  <dc:date>2013-06-19T09:44:52Z</dc:date>
  <entry>
    <title>RE: Trying to get the samples working; proxy error</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6502589" />
    <author>
      <name>Ting-Hao Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6502589</id>
    <updated>2012-09-14T17:36:05Z</updated>
    <published>2012-09-14T17:36:05Z</published>
    <summary type="html">Since you are using https, you need to make sure you have the SSL module load and activate in http.conf as well

LoadModule proxy_module modules/mod_ssl.so
SSLProxyEngine on

Howard</summary>
    <dc:creator>Ting-Hao Chen</dc:creator>
    <dc:date>2012-09-14T17:36:05Z</dc:date>
  </entry>
  <entry>
    <title>Trying to get the samples working; proxy error</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6494936" />
    <author>
      <name>Todd Cox</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6494936</id>
    <updated>2012-09-14T04:32:22Z</updated>
    <published>2012-09-14T04:32:22Z</published>
    <summary type="html">I am working on getting the IM &amp; 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:
&lt;ul&gt;
&lt;li&gt;[url=http://xmpp.org/rfcs/rfc3920.html]RFC 3920[/url]:  Extensible Messaging and Presence Protocol (XMPP): Core&lt;/li&gt;
&lt;li&gt;[url=http://xmpp.org/rfcs/rfc3921.html]RFC 3921[/url]:  Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence&lt;/li&gt;
&lt;li&gt;[url=http://xmpp.org/extensions/xep-0124.html]XEP-0124[/url]:  Bidirectional-streams Over Synchronous HTTP (BOSH)&lt;/li&gt;
&lt;li&gt;[url=http://xmpp.org/extensions/xep-0206.html]XEP-0206[/url]:  XMPP Over BOSH&lt;/li&gt;
&lt;/ul&gt;
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:
&lt;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;"&gt;Proxy Error&lt;/h1&gt;
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request [i][url=http://jabber.nci.nih.gov/httpbinding]GET /httpbinding[/url][/i].
Reason: [b]Error reading from remote server[/b]
 
Can someone help me with a workaround?
 
Thanks.</summary>
    <dc:creator>Todd Cox</dc:creator>
    <dc:date>2012-09-14T04:32:22Z</dc:date>
  </entry>
</feed>

