Skip to content

Error 404 for assets #266

Open
Open
@Filipe-Souza

Description

@Filipe-Souza

Hello,

I made a fresh install of intercity using this script: bootstrap.sh. But when accessing the configured domain, the assets from the page shows 404 errors.

Examples (in browser):

GET https://customdomain.com/assets/application-33a32c73fee422e91b607ed06692d9971c7a537b25f6b7b597d12d45dce5c9c6.css net::ERR_ABORTED 404
GET https://customdomain.com/assets/application-edc1f8e2f6dd27abb52f87d60ab38c4ccae245ba793a13ff762c49a19f758083.js 404
GET https://customdomain.com/assets/logo_icon-5d7d7bf45efebb87117d08fb6b42f04a136f618aaf9ebf4a608841e8b425542a.svg 404

Acessing the logs in docker shows me the following errors (server):

app_1          | 14:03:14 web.1     |  INFO -- : [50e68845-1a87-412f-a4e0-d2b53b81caec] Started GET "/assets/application-33a32c73fee422e91b607ed06692d9971c7a537b25f6b7b597d12d45dce5c9c6.css" for 191.255.93.96 at 2019-05-09 14:03:14 +0000

app_1          | 14:03:14 web.1     | F, [2019-05-09T14:03:14.585418 #17] FATAL -- : [50e68845-1a87-412f-a4e0-d2b53b81caec]   

app_1          | 14:03:14 web.1     | F, [2019-05-09T14:03:14.585453 #17] FATAL -- : [50e68845-1a87-412f-a4e0-d2b53b81caec] ActionController::RoutingError (No route matches [GET] "/assets/application-33a32c73fee422e91b607ed06692d9971c7a537b25f6b7b597d12d45dce5c9c6.css"):

Another example:

app_1          | 14:03:14 web.1     | I, [2019-05-09T14:03:14.586130 #17]  INFO -- : [0402d8f5-f4e7-476e-9b98-2fc9d2ddf080] Started GET "/assets/application-edc1f8e2f6dd27abb52f87d60ab38c4ccae245ba793a13ff762c49a19f758083.js" for 191.255.93.96 at 2019-05-09 14:03:14 +0000
app_1          | 14:03:14 web.1     | F, [2019-05-09T14:03:14.586534 #17] FATAL -- : [0402d8f5-f4e7-476e-9b98-2fc9d2ddf080]   
app_1          | 14:03:14 web.1     | F, [2019-05-09T14:03:14.586566 #17] FATAL -- : [0402d8f5-f4e7-476e-9b98-2fc9d2ddf080] ActionController::RoutingError (No route matches [GET] "/assets/application-edc1f8e2f6dd27abb52f87d60ab38c4ccae245ba793a13ff762c49a19f758083.js"):

Maybe I'm missing something in the initial setup. This errors occur in all pages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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