Apache proxy error to Bokeh server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
1












my goal is to deploy a Bokeh application on an Apache server running under Fedora 25. After starting the bokeh server...



2017-05-10 18:17:27,759 Starting Bokeh server on port 5100 with applications at paths ['/clsMaster']



and after starting the apache server I get



The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /clsMaster.
Reason: DNS lookup failure for: 127.0.0.1:5100clsmaster


when I put in the IP of the server in a browser: http://10.10.10.10:80/clsMaster/



So I checked my /etc/httpd/conf.d/httpd_bokeh.conf but I to spot the error



 ServerRoot "/etc/httpd"
Listen 80
Include conf.modules.d/*.conf
User apache
Group apache
ServerName localhost

<VirtualHost *:80>
DocumentRoot /var/www/dashboard/
ServerAdmin name@admin.com
ErrorLog /var/www/dashboard/logs/bokeh-error_log
CustomLog /var/www/dashboard/logs/bokeh-access_log common

ProxyPreserveHost On
ProxyPass / http://127.0.0.1:5100/
ProxyPassReverse / http://127.0.0.1:5100/

ProxyPass / http://127.0.0.1:5100/clsMaster/
ProxyPassReverse / http://127.0.0.1:5100/clsMaster/

<Directory />
Require all granted
Options -Indexes
</Directory>

Alias /static /var/www/dashboard/static
<Directory /var/www/dashboard/static>
Options +Indexes
</Directory>
</VirtualHost>


My folder structure for the dashboard is the following



/var/www/dashboard/
|
+---data
| +---mydata.csv
|
+---clsMaster.py
|
+---static
| +----some.html


Strangely, there are no logs produced on the path that I specified var/www/dashboard/logs/bokeh-error_log. I have no access to /var/log/httpd/.



What I also don't understand is that when I leave out the clsMaster in the URL, so http://10.10.10.10:80 I get Service unavailable... instead of the proxy error from above.










share|improve this question



























    up vote
    3
    down vote

    favorite
    1












    my goal is to deploy a Bokeh application on an Apache server running under Fedora 25. After starting the bokeh server...



    2017-05-10 18:17:27,759 Starting Bokeh server on port 5100 with applications at paths ['/clsMaster']



    and after starting the apache server I get



    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /clsMaster.
    Reason: DNS lookup failure for: 127.0.0.1:5100clsmaster


    when I put in the IP of the server in a browser: http://10.10.10.10:80/clsMaster/



    So I checked my /etc/httpd/conf.d/httpd_bokeh.conf but I to spot the error



     ServerRoot "/etc/httpd"
    Listen 80
    Include conf.modules.d/*.conf
    User apache
    Group apache
    ServerName localhost

    <VirtualHost *:80>
    DocumentRoot /var/www/dashboard/
    ServerAdmin name@admin.com
    ErrorLog /var/www/dashboard/logs/bokeh-error_log
    CustomLog /var/www/dashboard/logs/bokeh-access_log common

    ProxyPreserveHost On
    ProxyPass / http://127.0.0.1:5100/
    ProxyPassReverse / http://127.0.0.1:5100/

    ProxyPass / http://127.0.0.1:5100/clsMaster/
    ProxyPassReverse / http://127.0.0.1:5100/clsMaster/

    <Directory />
    Require all granted
    Options -Indexes
    </Directory>

    Alias /static /var/www/dashboard/static
    <Directory /var/www/dashboard/static>
    Options +Indexes
    </Directory>
    </VirtualHost>


    My folder structure for the dashboard is the following



    /var/www/dashboard/
    |
    +---data
    | +---mydata.csv
    |
    +---clsMaster.py
    |
    +---static
    | +----some.html


    Strangely, there are no logs produced on the path that I specified var/www/dashboard/logs/bokeh-error_log. I have no access to /var/log/httpd/.



    What I also don't understand is that when I leave out the clsMaster in the URL, so http://10.10.10.10:80 I get Service unavailable... instead of the proxy error from above.










    share|improve this question

























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      my goal is to deploy a Bokeh application on an Apache server running under Fedora 25. After starting the bokeh server...



      2017-05-10 18:17:27,759 Starting Bokeh server on port 5100 with applications at paths ['/clsMaster']



      and after starting the apache server I get



      The proxy server received an invalid response from an upstream server.
      The proxy server could not handle the request GET /clsMaster.
      Reason: DNS lookup failure for: 127.0.0.1:5100clsmaster


      when I put in the IP of the server in a browser: http://10.10.10.10:80/clsMaster/



      So I checked my /etc/httpd/conf.d/httpd_bokeh.conf but I to spot the error



       ServerRoot "/etc/httpd"
      Listen 80
      Include conf.modules.d/*.conf
      User apache
      Group apache
      ServerName localhost

      <VirtualHost *:80>
      DocumentRoot /var/www/dashboard/
      ServerAdmin name@admin.com
      ErrorLog /var/www/dashboard/logs/bokeh-error_log
      CustomLog /var/www/dashboard/logs/bokeh-access_log common

      ProxyPreserveHost On
      ProxyPass / http://127.0.0.1:5100/
      ProxyPassReverse / http://127.0.0.1:5100/

      ProxyPass / http://127.0.0.1:5100/clsMaster/
      ProxyPassReverse / http://127.0.0.1:5100/clsMaster/

      <Directory />
      Require all granted
      Options -Indexes
      </Directory>

      Alias /static /var/www/dashboard/static
      <Directory /var/www/dashboard/static>
      Options +Indexes
      </Directory>
      </VirtualHost>


      My folder structure for the dashboard is the following



      /var/www/dashboard/
      |
      +---data
      | +---mydata.csv
      |
      +---clsMaster.py
      |
      +---static
      | +----some.html


      Strangely, there are no logs produced on the path that I specified var/www/dashboard/logs/bokeh-error_log. I have no access to /var/log/httpd/.



      What I also don't understand is that when I leave out the clsMaster in the URL, so http://10.10.10.10:80 I get Service unavailable... instead of the proxy error from above.










      share|improve this question















      my goal is to deploy a Bokeh application on an Apache server running under Fedora 25. After starting the bokeh server...



      2017-05-10 18:17:27,759 Starting Bokeh server on port 5100 with applications at paths ['/clsMaster']



      and after starting the apache server I get



      The proxy server received an invalid response from an upstream server.
      The proxy server could not handle the request GET /clsMaster.
      Reason: DNS lookup failure for: 127.0.0.1:5100clsmaster


      when I put in the IP of the server in a browser: http://10.10.10.10:80/clsMaster/



      So I checked my /etc/httpd/conf.d/httpd_bokeh.conf but I to spot the error



       ServerRoot "/etc/httpd"
      Listen 80
      Include conf.modules.d/*.conf
      User apache
      Group apache
      ServerName localhost

      <VirtualHost *:80>
      DocumentRoot /var/www/dashboard/
      ServerAdmin name@admin.com
      ErrorLog /var/www/dashboard/logs/bokeh-error_log
      CustomLog /var/www/dashboard/logs/bokeh-access_log common

      ProxyPreserveHost On
      ProxyPass / http://127.0.0.1:5100/
      ProxyPassReverse / http://127.0.0.1:5100/

      ProxyPass / http://127.0.0.1:5100/clsMaster/
      ProxyPassReverse / http://127.0.0.1:5100/clsMaster/

      <Directory />
      Require all granted
      Options -Indexes
      </Directory>

      Alias /static /var/www/dashboard/static
      <Directory /var/www/dashboard/static>
      Options +Indexes
      </Directory>
      </VirtualHost>


      My folder structure for the dashboard is the following



      /var/www/dashboard/
      |
      +---data
      | +---mydata.csv
      |
      +---clsMaster.py
      |
      +---static
      | +----some.html


      Strangely, there are no logs produced on the path that I specified var/www/dashboard/logs/bokeh-error_log. I have no access to /var/log/httpd/.



      What I also don't understand is that when I leave out the clsMaster in the URL, so http://10.10.10.10:80 I get Service unavailable... instead of the proxy error from above.







      fedora apache-httpd apache-virtualhost






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 at 2:16









      Rui F Ribeiro

      38.2k1475123




      38.2k1475123










      asked May 10 '17 at 17:58









      tenticon

      1313




      1313

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f364243%2fapache-proxy-error-to-bokeh-server%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f364243%2fapache-proxy-error-to-bokeh-server%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown






          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?