<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Sebastien,<br>
      <br>
      this is for a public deployment but I am testing in the browser
      while it locally logged into the system. This server is running
      ubuntu 11.04, apache 2.2.22. I hope that this isn't a roadblock.I
      can't easily upgrade.<br>
      <br>
      your instructions for 14.04 went off OK but in 2 spots I had to
      find a work around:<br>
      1) proxy_wstunnel had to be installed manually, this went without
      a hitch and it loaded up without error<br>
      2) in the apache config I had to comment #Require all granted as
      that wasn't valid in 2.2<br>
      <br>
      the session id was in the proxy.txt file and had the port number
      9100 which I see elsewhere in the logs, so that looks OK.<br>
      <br>
      I'm attaching the launcher config.<br>
      <br>
      the apache config is pasted below.<br>
      <tt><br>
      </tt><tt>131
################################################################################333</tt><tt><br>
      </tt><tt>132 <VirtualHost *:80></tt><tt><br>
      </tt><tt>133     ServerName paraview.lbl.gov</tt><tt><br>
      </tt><tt>134     ServerAdmin <a class="moz-txt-link-abbreviated" href="mailto:bloring@lbl.gov">bloring@lbl.gov</a></tt><tt><br>
      </tt><tt>135     DocumentRoot /var/www/ParaView/www</tt><tt><br>
      </tt><tt>136     ErrorLog "/var/www/ParaView/logs/error.log"</tt><tt><br>
      </tt><tt>137     CustomLog "/var/www/ParaView/logs/access.log"
        common</tt><tt><br>
      </tt><tt>138 </tt><tt><br>
      </tt><tt>139     <Directory "/var/www/ParaView/www"></tt><tt><br>
      </tt><tt>140         Options Indexes FollowSymLinks</tt><tt><br>
      </tt><tt>141         Order allow,deny</tt><tt><br>
      </tt><tt>142         Allow from all</tt><tt><br>
      </tt><tt>143         AllowOverride None</tt><tt><br>
      </tt><tt>144         #for ver >= 2.4</tt><tt><br>
      </tt><tt>145         #Require all granted</tt><tt><br>
      </tt><tt>146     </Directory></tt><tt><br>
      </tt><tt>147 </tt><tt><br>
      </tt><tt>148     # Handle launcher forwarding</tt><tt><br>
      </tt><tt>149     ProxyPass /paraview
        <a class="moz-txt-link-freetext" href="http://localhost:8080/paraview">http://localhost:8080/paraview</a></tt><tt><br>
      </tt><tt>150 </tt><tt><br>
      </tt><tt>151     # Handle WebSocket forwarding</tt><tt><br>
      </tt><tt>152     RewriteEngine On</tt><tt><br>
      </tt><tt>153     RewriteMap  session-to-port
        txt:/var/www/ParaView/proxy.txt</tt><tt><br>
      </tt><tt>154     RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC]</tt><tt><br>
      </tt><tt>155     RewriteRule ^/proxy.*$
        <a class="moz-txt-link-freetext" href="ws://$">ws://$</a>{session-to-port:%1}/ws [P]</tt><tt><br>
      </tt><tt>156 </VirtualHost></tt><br>
      <br>
      On 11/24/2014 10:02 AM, Sebastien Jourdain wrote:<br>
    </div>
    <blockquote
cite="mid:CABObKxfBPG2J9fy3-4hxrSEK1b9Xm=V-Gz9X9=b2B-37_igehQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Burlen,
        <div><br>
        </div>
        <div>Just to make sure, you are performing the install on an
          Ubuntu 14.04 ?</div>
        <div><br>
        </div>
        <div>Are you trying to try it locally first using "localhost",
          or are you targeting a real deploy with a real host name?</div>
        <div><br>
        </div>
        <div>Can you share your config file for the launcher + apache? </div>
        <div>(You can do it privately depending on your target deploy /
          security)</div>
        <div><br>
        </div>
        <div>Moreover, can you validate that the session id <span
            style="font-size:13px;font-family:arial,sans-serif">c3079f24-</span><font
            face="arial, sans-serif">73f9-11e4-a023-002590202132  was
            properly mapped inside the text file that is shared between
            Apache and the Python launcher?</font></div>
        <div><br>
        </div>
        <div><font face="arial, sans-serif">Thanks,</font></div>
        <div><font face="arial, sans-serif"><br>
          </font></div>
        <div><font face="arial, sans-serif">Seb</font></div>
        <div><font face="arial, sans-serif"><br>
          </font></div>
        <div><font face="arial, sans-serif"><br>
          </font></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Nov 24, 2014 at 10:29 AM,
          burlen <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi All,<br>
              <br>
              Making an attempt to install ParaView web. I need some
              assistance in trouble shooting. I am attaching a set of
              logs from a single attempt. I'm following the<a
                moz-do-not-send="true"
href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04"
                target="_blank"> instructions for Ubuntu 14.04 </a>. I
              see the x11 render window open, but the web page shows
              nothing.<br>
              <br>
              from the error log<br>
              [Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15]
              File does not exist: /var/www/ParaView/www/ws:<br>
              <br>
              from the access log<br>
              131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] "GET /<a
                moz-do-not-send="true">ws://localhost:9100/ws?sessionId=c3079f24-73f9-11e4-a023-002590202132</a>
              HTTP/1.1" 404 513<br>
              131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] "GET
              /proxy?sessionId=c3079f24-73f9-11e4-a023-002590202132
              HTTP/1.1" 404 457<br>
              <br>
              Seems that the problem potentially relates to web sockets.
              How can I get further info about what's failing? Can
              anyone give some hint on troubleshooting this issue?<span
                class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Burlen<br>
                </font></span></div>
            <br>
            _______________________________________________<br>
            Powered by <a moz-do-not-send="true"
              href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a
              moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            <br>
            Please keep messages on-topic and check the ParaView Wiki
            at: <a moz-do-not-send="true"
              href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a moz-do-not-send="true"
              href="http://public.kitware.com/mailman/listinfo/paraview"
              target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>