Problem in Kitware paraview lite multi-user using Apache

I am working with OpenFOAM Simulations with Ubuntu 16.04. I wanted to use paraview web as a visualizer.

For this, I followed this documentation to set up a paraViewWeb server instance:
Based on the setup, the webpage runs well, but when I attempt “connect to paraview”, I got “Session timed out” error when I try with “http://localhost/lite”. As per the issue seen in Paraview web configuration issue, I created the folder directory as suggested in /opt. Still I am facing the same problem.

Below are the details of my launcher.json file and the apache2 configuration file details. I have also given permission as explained in the document.


    "resources": [ {"port_range": [9001, 9103], "host": "localhost"} ],
    "configuration": {
      "log_dir": "/opt/data/pvw/logs",
      "host": "localhost",
      "proxy_file": "/opt/data/proxy.txt",
      "endpoint": "paraview",
      "sessionURL": "ws://localhost:8080/proxy?sessionId=${id}&path=ws",
      "timeout": 25,
      "upload_dir": "/opt/data/pvw/upload",
      "fields": [],
      "port": 8080,
      "dataFile": "/opt/data/pvw/data/37_left/"
    "properties": {
      "web_path": "/opt/data/pv/pv-5.6.2/share/paraview-5.6/web",
      "python_exec": "/opt/data/pv/pv-5.6.2/bin/pvpython",
      "content": "/opt/data/pv/pv-5.6.2/share/paraview-5.6/web/lite/www",
      "dataDir": "/opt/data/pvw/data"
    "apps": {
      "paraview-lite": {
        "cmd": [
          "--port", "${port}",
	  "--data", "${dataDir}",
	  "--load-file", "${dataFile}",  
          "--authKey", "${secret}",
	  "--content", "${content}"
        "ready_line" : "Starting factory"
} file

  export DISPLAY=:0.0
  /opt/data/pv/pv-5.6.2/bin/pvpython /opt/data/pv/pv-5.6.2/lib/python2.7/site-packages/wslink/ /opt/data/pvw/conf/launcher.json &

Apache2 config file

  <VirtualHost *:80>
      ServerName   localhost
      DocumentRoot /opt/data/www

      ErrorLog /opt/data/logs/apache_error.log
      CustomLog /opt/data/logs/apache_access.log combined

      <Directory /opt/data/www/>
          Options Indexes FollowSymLinks
          Order allow,deny
          Allow from all
          AllowOverride None
          Require all granted

      # Handle launcher forwarding
      ProxyPass /paraview http://localhost:8080/paraview

      # Handle WebSocket forwarding
      RewriteEngine On
      RewriteMap session-to-port txt:/opt/data/proxy.txt
      RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC]
      RewriteRule ^/proxy.*$  ws://${session-to-port:%1}/%2  [P]

Also, when I trackback in "http://localhost/paraview, I get error as shown below

{"error": "id not provided in GET request"}

What is wrong in the process…? I have placed this content in Kitware paraview lite github as in below link

Any leads will be appreciated.