Web-API icon indicating copy to clipboard operation
Web-API copied to clipboard

Cant login to panel

Open MarkDragon420 opened this issue 5 years ago • 1 comments

I set up the panel exactly as stated in the documentation and when I try to login it gives me an error "Login Error". In the console the error for when I try to login is

 [qtp54373215-309/WARN] [webapi]: Could not load asset: admin/Server IP*/api/v5/user/login
 
 [qtp54373215-309/INFO] [webapi]: ERROR: null

* - Censored server IP.

I have setup 2 users to test and neither works even after password changes. I enabled the whitelist and added my IP to it and it still doesn't work. I use HTTP to host the panel as HTTPS doesn't seem to load.

I also recieve this error when the server starts

[qtp54373215-160/WARN] [webapi]: Illegal character 0x16 in state=START for buffer HeapByteBuffer@68619ee3[p=1,l=513,c=8192,r=512]={\x16<<<\x03\x01\x01\xFc\x01\x00\x01\xF8\x03\x03~;\x9b#t\x84W...\x03\x00\x05\x00\x05\x01\x00\x00\x00\x00\x00\x0f\x00\x01\x01>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}

Versions:

    Minecraft: 1.12.2

    Web-API: 5.4.6-S7.2.0

    SpongeAPI: 7.3-7127e0882

    Sponge: 1.12.2-7.3.0

    SpongeForge: 1.12.2-2838-7.3.0

    Minecraft Forge: 14.23.5.2854

    JVM: 1.8.0_271/64-bit (Oracle Corporation)

MarkDragon420 avatar Dec 31 '20 17:12 MarkDragon420

Hi, sorry for the late reply.

Could you post your security config file (replace the passwords with aaa or something)?

It sounds like something goes wrong when reading the config file, is it possible that you edited it with notepad on windows?

Valandur avatar May 19 '21 08:05 Valandur