I have gotten those errors when I have had the UI open in a browser for a long time, or when the computer have gone to sleep and resumes while the UI is open. It then tries to reconnect without getting a new token, which results in this error. A reload of the page should fix it.
Hi,
I am also suffering from those warning messages appearing in the log from time to time an the last days very massiv (some 100 an hour)
2021-07-22 09:23:12.103 [WARN ] [ore.io.rest.auth.internal.AuthFilter] - Unauthorized API request: Error while processing JWT token
I have closed the browser on my mac, but I have an Android Tablet with the client running and 2 IOS phones also with the active client. I also receive some messages at the bottom of these clients when I activate them.
I was going to say just ignore it but if it is happening 100 times an hour this needs to be looked into as it could be someone trying to do a brute force attack, or a bug that needs to be looked into. As the post above yours mentions it is normal if you are leaving web browsers or apps connected that have gone to sleep and then you try to use them again. I only see this happen a few times per week.
A good test to do would be to turn off your modem/internet connection when they are occurring and do they stop or continue? Close any open apps that may be running in the background of your tablets, phones and the like as it may be a device is leaving the page open and doing auto refreshes at a certain period of time. Can you narrow it down to a certain app or device?
If your certain you know the cause of them then you can filter them out of the logs so you do not see them anymore. Search forum for how to filter your logs.
I figured out that the problem was caused by my imac having an Openhab Managment interface open. By closing that the wanings disappeared. I now always log out from the interface and log in again when changing something.