Lodestone-Team / lodestone_core

The backend for Lodestone, A free, open source server hosting tool for Minecraft and other multiplayers
https://www.lodestone.cc/
GNU Affero General Public License v3.0
59 stars 6 forks source link

Installed using Docker Image, "Create Instance" returns 404 #132

Closed IzMichael closed 1 year ago

IzMichael commented 1 year ago

Description

I installed Lodestone Core using the docker image on my Ubuntu server, and I'm able to connect to the core from the desktop app image

But when I try to click "Create a new Instance", it just sits on the loading screen, and a quick peek in the devtools just shows that it's not finding the API endpoint. image

Have I configured some network settings wrong? All I've done was install the docker image and allow port 16662 past my UFW firewall.

CheatCod commented 1 year ago

This is a very weird error, works fine on my machine with a local core (no docker) and the webapp image

The 404 implies the endpoint doesn't exist, which doesn't make any sense. The only possible explanation I can think of is that you are somehow using 0.4.2 core with 0.4.3 dashboard, in that case there will be an warning

IzMichael commented 1 year ago

You've sent a screenshot of your OPTIONSrequest, which did return 200 for me. Does the GET request also return 200 for you?

CheatCod commented 1 year ago

I'm not sure why there is an OPTIONS request, but all the GET requests return 200 for me image

pinnouse commented 1 year ago

Sorry, built Docker image from wrong branch. I've rebuilt the multiarch images, so please try repulling the images.

modscleo4 commented 1 year ago

Edit you first image, your VPS IP is not blurred under Remote Address

IzMichael commented 1 year ago

Edit you first image, your VPS IP is not blurred under Remote Address

Ack! Ty

IzMichael commented 1 year ago

Sorry, built Docker image from wrong branch. I've rebuilt the multiarch images, so please try repulling the images.

Yep! That's fixed it. Thanks!