none
Landing page not working when switching form localhost to public IP RRS feed

  • Question

  • Hello - I've installed Deployr on the Azure Data Science VM. Everything seems to work fine when I stick to accessing Deployr on localhost (e.g. I can see the landing page, log in as admin and testuser, test the apis,...).

    However, when I set the web server context to the VM's public IP things stop working. The landing page becomes grayed out.

    Please see below the diagnostic logs with the two different web server context settings. It looks changing the web server context somehow also changes the version of Deployr that is being used?

    Thanks in advance if you can help me identify what is going on.

    The diagnostic log when I run with the webserver context set to localhost (so things work) is:

    DEPLOYR DIAGNOSTIC LOG Sat May 28 17:21:04 Coordinated Universal Time 2016
    CHECKING: Is MongoDB running? Yes, MongoDB is running.
    MongoDB INFO: MongoDB shell version: 2.6.7
    MongoDB CONFIG:
    host  localhost
    port  8003
    dbpath C:/PROGRA~1/MICROS~4/DEPLOY~1.0//deployr/database
    CHECKING: Is DeployR running? Yes, DeployR is running.
    DEPLOYR INFO:
    Product version 8.0.0
    Product release  Enterprise
    Build version fab8b6fc8c61e125a4bc440504f2ad10d147920e
    Build date Fri Dec 18 16:42:28 EST 2015
    DEPLOYR HOST:
    OS Name                    Microsoft Windows Server 2012 R2 Datacenter
    Filesystem SizeTotal # of free bytes        : 90655490048
    Total # of bytes             : 136363110400
    Total # of avail free bytes  : 90655490048
    DEPLOYR CONFIG:
    deployr.rengine.rserve.port 8004
    deployr.rengine.console.socket.server.port 8006
    Server Web Context: http://localhost:8000/deployr
    CHECKING: DeplopyR Script 
    Execution Script execution successful.
    R INFO: R version 3.2.2 
    (2015-08-14) -- "Fire Safety"
    [1] "R version 3.2.2 (2015-08-14)"
    GRID NODE INFO:
    Name: DeployR 
    Default Node
    Host: localhost
    Type: Mixed
    Enabled: true
    Grid Node Host is active.
    Grid Node Cancel Port is not active.
    Grid Node Connect Port is active.
    ENVIRONMENT INFO: JAVA
    ENVIRONMENT INFO: TOMCAT
    "8000" protocol
    "8001" protocol
    "8002" shutdown
    doc-base C:/PROGRA~1/MICROS~4/DEPLOY~1.0/www/apps  path /apps
    ----------------------- 

    And the diagnostic log when I switch the webservercontext to the VM’s IP (and restart tomcat):

    DEPLOYR DIAGNOSTIC LOG Sat May 28 17:01:14 Coordinated Universal Time 2016
    CHECKING: Is MongoDB running? Yes, MongoDB is running.
    MongoDB INFO: MongoDB shell version: 2.6.7
    MongoDB CONFIG:
    host  localhost
    port  8003
    dbpath C:/PROGRA~1/MICROS~4/DEPLOY~1.0//deployr/database
    CHECKING: Is DeployR running? Yes, DeployR is running.
    DEPLOYR INFO:
    Product release  Open
    DEPLOYR HOST:
    OS Name                   Microsoft Windows Server 2012 R2 Datacenter
    Filesystem Size
    Total # of free bytes        : 90655444992
    Total # of bytes             : 136363110400
    Total # of avail free bytes  : 90655444992
    DEPLOYR CONFIG:
    deployr.rengine.rserve.port 8004
    deployr.rengine.console.socket.server.port 8006
    Server Web Context: http://<[VM’s IP…]>:8000/deployr
    CHECKING: DeplopyR Script Execution
    Script execution successful.
    R INFO:
    R version 3.2.2 (2015-08-14) -- "Fire Safety" [1] "R  version 3.2.2 (2015-08-14)"
    GRID NODE INFO:
    Name: DeployR 
    Default Node
    Host: localhost
    Type: Mixed
    Enabled: true
    Grid Node Host is active.
    Grid Node Cancel Port is not active.
    Grid Node Connect Port is active.
    ENVIRONMENT INFO: JAVA
    ENVIRONMENT INFO: TOMCAT
    "8000" protocol
    "8001" protocol
    "8002" shutdown
    doc-base C:/PROGRA~1/MICROS~4/DEPLOY~1.0/www/apps  path /apps


    Saturday, May 28, 2016 5:53 PM