Hi Karolis,
The only way I was able to duplicate this was if my sensor and server
had their clocks set to different times. In my case, my sensor was a
VM that was snapshotted a week ago so its system time was from March
14. When the master VM (with today's date of March 21) would make a
request to the ELSA API on the sensor VM, it would result in the same
Unauthorized error you reported because the request was from the
"future". I reverted both my VMs to their previous snapshots,
rebooted them and verified that they had the correct current time,
re-ran Setup, and everything worked correctly without having to reboot
the sensor VM.
Looking at your output, the date shown in the Unauthorized error was
March 4, but your email was on March 6, so I'm wondering if this could
explain what you were seeing.
--
Doug Burks