Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Shiny Server using Auth0: 404 error #20

@chenx2018

Description

@chenx2018

I have an ubuntu server running shiny server + nginx.

I followed this tutorial to protect access to it by using Auth0.

Now, when I navigate to "example.com/" I get a login page, and when logging in I get the shiny server welcome page.

However, when I try to access any of my specific apps ("example.com/appName"), I get a 404 Not Found error.

This is all that is printed in the screen:

Not Found
404
Error: Not Found
at /home/ubuntu/shiny-auth0/app.js:75:13
at Layer.handle [as handle_request] (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:317:13)
at /home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:335:12)
at next (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:275:10)
at urlencodedParser (/home/ubuntu/shiny-auth0/node_modules/body-parser/lib/types/urlencoded.js:91:7)
at Layer.handle [as handle_request] (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:317:13)
at /home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:284:7

How can I solve this and access the apps?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions