HABPanel connection lost using api security

Tags: #<Tag:0x00007fc910b90cb8> #<Tag:0x00007fc910b906a0> #<Tag:0x00007fc910b90358>

Hello,

if “Implicit user role for unauthenticated requests” in API Security is enabled, HabPanel runs correctly from browser (Chrome on W10) and from Android APP, but if I disable “Implicit user role for unauthenticated requests” OpenHab doesn’t run with “Connection lost, trying to reconnect” error message, in both environments. BasiUI always runs currectly from browser and from APP.
I tried to unistall and reistall OpenHab, but the result doesn’t change.

I’d like to disable the flag “Implicit user role for unauthenticated requests” to increase system security and require authentication.
Have you any suggestion? How could I disable “Implicit user role for unauthenticated requests” and use HabPanel?
I’ve only an admistrator user.

these are the details of my system:
runtimeInfo:
version: 3.0.1
buildString: Release Build
locale: it_IT
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 11.0.9.1
javaVendor: Azul Systems, Inc.
javaVendorVersion: Zulu11.43+100-CA
osName: Linux
osVersion: 5.4.72-v7l+
osArchitecture: arm
availableProcessors: 4
freeMemory: 50108600
totalMemory: 117514240