<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Sebastien, <br>
      <br>
      OK, I finally upgrade to Ubuntu 14.04 and apache 2.4! however, I
      still have some issue. again I see the render window pop up in the
      background, in the browser I have the ParaView web logo and
      spinning wheel, now after a few seconds a dialog: Session did not
      start before timeout expired. Check session logs.<br>
      <br>
      I cranked up the log verbosity in apache. attached everything. 
      Any idea what the problem is? how to get more info? paraview has
      an error, how does that get reported?<br>
      <br>
      Thanks<br>
      Burlen<br>
      <br>
      On 11/24/2014 12:48 PM, Sebastien Jourdain wrote:<br>
    </div>
    <blockquote
cite="mid:CABObKxeRM5cepd-=xTkhc-7fn2ZJpSmYqtYSFPZg+Ud51dSM8w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Apache 2.2 will probably be an issue as WS
        forwarding was not properly supported with url rewrite.
        <div><br>
        </div>
        <div>You may need to build Apache yourself on that distribution.
          The one that have all the fix and is supposed to work is
          2.4.7+.</div>
        <div><br>
        </div>
        <div>We have some additional documentation about that part here:</div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/apache_front_end">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/apache_front_end</a></div>
        <div><br>
        </div>
        <div>Seb</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Nov 24, 2014 at 12:47 PM,
          Burlen Loring <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:bloring@lbl.gov" target="_blank">bloring@lbl.gov</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">
              <div>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 <a moz-do-not-send="true"
                    href="http://paraview.lbl.gov" target="_blank">paraview.lbl.gov</a></tt><tt><br>
                </tt><tt>134     ServerAdmin <a moz-do-not-send="true"
                    href="mailto:bloring@lbl.gov" target="_blank">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
                    moz-do-not-send="true"
                    href="http://localhost:8080/paraview"
                    target="_blank">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
                    moz-do-not-send="true">ws://$</a>{session-to-port:%1}/ws
                  [P]</tt><tt><br>
                </tt><tt>156 </VirtualHost></tt>
                <div>
                  <div class="h5"><br>
                    <br>
                    On 11/24/2014 10:02 AM, Sebastien Jourdain wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote 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><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></fieldset>
                    <br>
                    <pre>_______________________________________________
Powered by <a moz-do-not-send="true" href="http://www.kitware.com" target="_blank">www.kitware.com</a>

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>

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>

Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>