Invalid Auth Token on local Server (ESP8266 / NodeMCU)

okay, copied the whole script in notepad++
copied than in a new script.ino and uploaded it.

debug message changed to someting like:
[02|00|01|00]?>5fbc5f8ca25746958eb8da76eb8960f8 (maybe a little bit differnt)

i changed the
char auth[] = “5fbc5f8ca25746958eb8da76eb8960f8”;
to
char auth[] = ‘5fbc5f8ca25746958eb8da76eb8960f8’;
and back to:
char auth[] = “5fbc5f8ca25746958eb8da76eb8960f8”;

now the device is connecting succesful!

Thank you for that!!!

…but the admin page is still not accessible :frowning:

hills8

check your server.properties and compare with the default one (from git for example)

1 Like

seems to be correct

#https and web sockets port
https.port=9443

Try to remove server.properties and restart the server. Add only properties your really know and need.

And the access rights? Allowed IP’s, disalowed IP’s…
And in fact do what @Dmitriy had just written. I always just copy those parts, that I’m interested in, leaving the rest at default.

yeah, done.

raspberry rebooted

still
https://192.168.0.59:9443/admin/.
HTTP ERROR 404

And what for is the last “/” (slash)?

Just checked: I do have 404 too with that syntax. Remove it!

omg…

Thanks :smiley:

is working fine now