plan-player-analytics / Plan

Player Analytics plugin for Minecraft Server platforms - View player activity of your server with ease. :calendar:
https://www.spigotmc.org/resources/plan-player-analytics.32536/
GNU Lesser General Public License v3.0
869 stars 168 forks source link

Web panel gives "HTTP ERROR 404 Not Found" in Firefox. #3327

Closed accLarson closed 11 months ago

accLarson commented 11 months ago

Describe the issue

Since a recent update to PLAN, I no longer can access my web panel from firefox. I get "HTTP ERROR 404 Not Found"

Web panel loads correctly without issue in Chrome.

Firefox Web Error

image

Plugin versions

5.6 Also affected 5.5

AuroraLS3 commented 11 months ago

What does Plan say on the console when it enables?

accLarson commented 11 months ago

What does Plan say on the console when it enables?

[17:40:58] [Server thread/INFO]: [Plan] Enabling Plan v5.6 build 2614
[17:40:58] [Server thread/INFO]: [Plan] 
[17:40:58] [Server thread/INFO]: [Plan]            ██▌
[17:40:58] [Server thread/INFO]: [Plan]      ██▌   ██▌
[17:40:58] [Server thread/INFO]: [Plan]   ██▌██▌██▌██▌  Player Analytics
[17:40:58] [Server thread/INFO]: [Plan]   ██▌██▌██▌██▌  v5.6 build 2614
[17:40:58] [Server thread/INFO]: [Plan] 
[17:40:58] [Server thread/INFO]: [Plan] Config: Removed Customized_files.Plan
[17:40:59] [Server thread/INFO]: [Plan] Locale: 'English' by AuroraLS3
[17:40:59] [Server thread/INFO]: [Plan] Downloading MySQL Driver, this may take a while...
[17:40:59] [Server thread/INFO]: [Plan] MySQL-database connection established.
[17:40:59] [Plan MySQLDB-transaction-thread-1/INFO]: [Plan] Database: Making sure schema is up to date..
[17:40:59] [Server thread/INFO]: [Plan] WebServer: Proxy-mode HTTPS enabled, make sure that your reverse-proxy is routing using HTTPS and Plan Alternative_IP.Address points to the Proxy
[17:40:59] [DiscordSRV - Initialization/INFO]: [DiscordSRV] [JDA] Login Successful!
[17:40:59] [Server thread/INFO]: [Plan] Webserver running on PORT -REDACTED- ( -REDACTED- )
[17:40:59] [Server thread/INFO]: [Plan] Loading server identifying information
[17:40:59] [Server thread/INFO]: [Plan] Server identifier loaded: -REDACTED-
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: DiscordSRV
[17:40:59] [Server thread/INFO]: [DiscordSRV] API listener net.playeranalytics.extension.discordsrv.DiscordSRVListener subscribed (2 methods)
[17:40:59] [JDA MainWS-ReadThread/INFO]: [DiscordSRV] [JDA] Connected to WebSocket
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: Essentials
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: EssentialsEco
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: LibertyBans
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: LuckPerms
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: nuVotifier
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: PlaceholderAPI
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: Economy (Vault)
[17:40:59] [Server thread/INFO]: [Plan] Registered extension: Permission Groups (Vault)
[17:40:59] [Server thread/INFO]: [Plan] Player Analytics Enabled.
[17:40:59] [Plan MySQLDB-transaction-thread-1/INFO]: [Plan] All database patches applied successfully.

Here's the output. I redacted the port, IP, and server ID for privacy. If you need these for any reason, I can provide them privately.

AuroraLS3 commented 11 months ago

What does your reverse proxy configuration look like?

accLarson commented 11 months ago

What does your reverse proxy configuration look like?

Is it relevant if the web panel is fully working on Chrome and this seems to be a firefox only issue?

I have a port open and reverse proxy on that port to my domain (analytics.mydomain.net)

Webserver:
    Port: -redacted-
    Alternative_IP:
        # %port% is replaced automatically with Webserver.Port
        Address: analytics.-redacted-.net
        Enabled: true

...

Security:
        SSL_certificate:
            KeyStore_path: proxy
            Key_pass: default
            Store_pass: default
            Alias: alias
        # HTTPS is required for Login.
        Disable_authentication: false
accLarson commented 11 months ago

Ah something silly is happening. I just tried to open the web panel is a private session on Firefox and it works with no issue.

Cleared cookies for the domain in Firefox and reloaded... no problem.

AuroraLS3 commented 11 months ago

🤷‍♀️