diogomartino / palworld-ds-gui

A graphical user interface for managing local or remote Palworld dedicated servers. Web app available.
https://app.palgui.com/
MIT License
34 stars 3 forks source link

Issue with the web version #29

Open Rizzlas opened 3 months ago

Rizzlas commented 3 months ago

Hi , I'm host a palworld server with ur awesome tool , I forwarded all ports necessary for the app & some friend have access with the gui tool & have no troubles using it from any computer. But with the web version impossible to connect even in local. I don't understand why the API key is correct & the IP too , same for the ports , if you have suggestions to verify why I can't use it , it will be awesome , so my friend don't have to constantly updating the tool manually every time I update the server side :)

diogomartino commented 3 months ago

Hi! That's strange because if the app works, the web version should too, as they are the same (assuming you have the latest version of the server and client 1.0.4). What browser is being used? Next steps:

  1. Open the GUI in the browser
  2. Open Inspector (CTRL + SHIFT + I) or right click > Inspect
  3. Select the Network tab
  4. Try to connect
  5. Screenshot what's in that tab
  6. If the connect fails, there will probably one or multiple red entries on that list
  7. For each one of the red entries, screenshot the Headers, Request and Response (if they are not empty)
  8. Open the Console tab and screenshot what's there also

Hopefully this gives me an hint of that's going on. And be careful because your API key might show in some of those screenshots, so edit it out.

Rizzlas commented 3 months ago

Thank you , sorry for the late answer , I didn't thought I got a troubleshooting so quickly. I think it's because my domain is in http instead of https but I'm not sure. Hope it will help you :D 1 2

diogomartino commented 3 months ago

No problem! Are you using a domain instead of an IP to connect to your server?

tacamihail commented 3 months ago

Hi there, i am using a domain via cloudflare tunneling and get the same issue.

diogomartino commented 2 months ago

@tacamihail Sorry, I missed your message. That's probably the reason: the GUI server doesn't have a SSL certificate and you are trying to connect to it while inside a secure https environment. I don't think there's a way around that (I'll check it either way), since I currently cannot disable https on the web app. The Windows app should work though.