Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load resource, 404 #2013

Open
kartone opened this issue Jan 23, 2025 · 6 comments
Open

Failed to load resource, 404 #2013

kartone opened this issue Jan 23, 2025 · 6 comments

Comments

@kartone
Copy link

kartone commented Jan 23, 2025

Hi, I'm really not sure if it depends on me or it's happening also for other folks but after the latest container update. I receive this errors and the page is not correctly rendered.

Domain name is working correctly.

Image

Image

Is there anything I can do to troubleshoot this issue?

Many thanks.

@svenvg93
Copy link
Contributor

Are you uisng any proxy to access the UI? If so, did you set the APP_URL and ASSET_URL in the env var?

@Morl0ck
Copy link

Morl0ck commented Jan 23, 2025

I just finished spinning up a container and got the same outcome as @kartone.
I'm using nginx as my reverse proxy.

At first it was working fine, without APP_URL and the ASSET_URL being set, but I still researched if there were any special instructions for reverse proxies.

I found there were special instructions and added both the APP_URL and the ASSET_URL env vars.

This is when I got the same outcome as @kartone.

Commenting out ASSET_URL and leaving just APP_URL works.

@Morl0ck
Copy link

Morl0ck commented Jan 23, 2025

Ok, I got it working with APP_URL and ASSET_URL.

I was missing the https:// portion of the url.

I followed along the documentation here where references to APP_URL and ASSET_URL are set to speedtest.yourdomain.com (which is what I did)

But the documentation here references APP_URL and ASSET_URL as https://speedtest.yourdomain.com

Once I added https:// the site loaded fine.

@svenvg93
Copy link
Contributor

Ok, I got it working with APP_URL and ASSET_URL.

I was missing the https:// portion of the url.

I followed along the documentation here where references to APP_URL and ASSET_URL are set to speedtest.yourdomain.com (which is what I did)

But the documentation here references APP_URL and ASSET_URL as https://speedtest.yourdomain.com

Once I added https:// the site loaded fine.

Glad you got it to work, I will double the docs and update where needed

@kartone
Copy link
Author

kartone commented Jan 24, 2025

I did the same as @Morl0ck and I was able to solve. Thank you!

@svenvg93
Copy link
Contributor

svenvg93 commented Jan 24, 2025

Perfect, I got a PR ready to update the docs. Just waiting for the review alexjustesen/speedtest-tracker-docs#65

Feel free to close the issue when its all resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants