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

Server returns blank page with 404 status code #54

Open
Silveere opened this issue Oct 22, 2023 · 3 comments
Open

Server returns blank page with 404 status code #54

Silveere opened this issue Oct 22, 2023 · 3 comments

Comments

@Silveere
Copy link

Describe the Bug

When attempting to access the application through my web browser, I only receive a blank page with an HTTP status of 404. I can confirm that this isn't a network configuration issue, as it actually establishes an HTTP connection, and I can also access all of the APIs without issue. I am not utilizing any reverse proxy, I am connecting directly to the configured port.

Reproduction Steps

  1. Create a new server with minimal mods installed.
  2. Start the server.
  3. Connect to the locally created web server.
  4. The application doesn't load and just shows a blank page with a 404 status code in the dev console.

Expected Result

The application should load.

Screenshots and Videos

HTTP request information from Firefox devtools:
image

Crash Report or Log

https://gist.github.com/Silveere/d6cc6e29f188c7c70985aa752c46fcab

Operating System

Arch Linux

CTM Version

1.4

Create Version

0.5.1d

Minecraft Version

1.20.1

Mod Loader

Quilt

Modloader Version

0.21.0

Instance Type

Server hosted on the same LAN

Other Mods

create-fabric-0.5.1-d-build.1161+mc1.20.1.jar
create-track-map-1.4+mc1.20.1-fabric.jar
qfapi-7.4.0_qsl-6.1.2_fapi-0.90.0_mc-1.20.1.jar
quilt-kotlin-libraries-2.1.3+kt.1.9.10+flk.1.10.10.jar

Additional Context

I was first experiencing this issue in a fairly large custom modpack. I uninstalled all mods besides those necessary to load the server, and I still have the issue.

@Silveere
Copy link
Author

I just tried hosting the static content (everything in src/main/resources/assets/littlechasiu/ctm/static) on my web server and only reverse proxying /api/* and everything seems to work fine like that. It just seems to be some issue with serving the static content.

@meapeze
Copy link

meapeze commented Jan 6, 2024

Seeing this issue on 1.19.2 with CTM Fabric 1.4 (Create 0.5.1) on Quilt too

@Polaris277
Copy link

Polaris277 commented Jan 21, 2024

This issue appears to be to do with quilt. Running the same modpack on fabric and quilt (both using fabric api&kotlin) and both can load apis, but only fabric can show the map

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