Gray browser 404 Not Found page after logging into OpenHab 3

  • Platform information:
    • Hardware: Raspberry Pi 4
    • OS: Raspbian 10
    • Java Runtime Environment: Zulu11.43+100-CA (build 11.0.9.1+1-LTS)
    • openHAB version: 3.0.0
  • Issue of the topic: I had a functional openhab2 install but I purged it from the system and installed Openhab 3 from apt. I also installed Zulu 11. I was able to get start the openhab service and access the web interface to set up an openhab admin user. Once I go to log in with the openhab admin user I get a 404 error. The openhab log reads out:
    18:46:03.198 [DEBUG] [auth.internal.AbstractAuthPageServlet] - Login successful: openhabAdmin
    18:46:03.201 [TRACE] [ore.storage.json.internal.JsonStorage] - deserialized value ‘openhabAdmin (administrator)’ from Json
    18:46:03.204 [TRACE] [ore.storage.json.internal.JsonStorage] - deserialized value ‘openhabAdmin (administrator)’ from Json
    18:46:03.207 [DEBUG] [mmon.registry.AbstractManagedProvider] - Updated element openhabAdmin in ManagedUserProvider.
    18:46:03.549 [WARN ] [e.io.rest.auth.internal.TokenResource] - PKCE verification failed
    18:46:03.551 [WARN ] [e.io.rest.auth.internal.TokenResource] - Token issuing failed: invalid_grant

It looks like perhaps it’s an issue with openhab accessing Java? Is this a known issue? How can I troubleshoot?

This Raspberry Pi is configured to server several other functions and so I’m trying to avoid wiping it for openhabian.

Thanks!

1 Like

Hi Aaron
Did you find a solution for this issu? My OH3 instance behaves exactly the same way.

  • Platform information:
    ** Hardware: Raspberry Pi 4
    ** OS: openhabian [openHAB3]patchday-20210118-1208(75187cd)
    ** Java Runtime Environmyent: Zulu11.45+27-CA (build 11.0.10+9-LTS)
    ** openHAB version: 3.0.1

Error in the openhab.log:

2021-02-22 15:45:08.840 [ERROR] [core.io.rest.auth.internal.JwtHelper] - Error while initializing the JWT helper
java.lang.NullPointerException: null
at java.io.StringReader.(StringReader.java:50) ~[?:?]

Same issue as this one, but also without a solution: Empty Gray screen after login OH3

I switched to the openhabian image.