Hello, everyone!
This is a case about failure to connect to server due to inconsistent antivirus keys on the storage device and server, hope this helps!
Symptoms
One storage device fails to connect to the antivirus server during the test of multiple storage devices.

An error is reported during the test.
Cause: Failed to connect to the antivirus server.
Suggestion: Check the IP address and protocol port again.
Cause
No anti-virus pre-shared key is configured on the storage device for connecting to the antivirus server. The server and storage device uses the default key and can be connected successfully.
The storage device cannot connect to the antivirus server. The antivirus pre-shared key has been configured for the storage device, but the server uses the default key. The antivirus key of the storage device is different from that of the server. As a result, the test fails.
Analysis
1. Search the Event.txt file for the keyword reset the antivirus pre-shared key and check whether the event of changing the antivirus pre-shared key exists.

2. Search for keywords "digestBuf not match" and "ms_VerifyClient FAIL" in the logs in the Antivirus Agent Log directory on the server to check whether the connection fails because the key does not match.


Solution
Set the key of the antivirus server to be the same as that of the storage pre-shared key. The following describes how to change the key of the antivirus server and storage.
Server:
Change the value of Pwd in the agent configuration file of the antivirus server to be the same as the security key configured on the storage device. Save the change and restart the agent service.

Storage:
Log in to Device Manager, choose Settings > Antivirus > Pre-shared Key Settings, and set the antivirus key. The key cannot be queried due to security issues. After the key is opened, it is always empty.
If both the server and the connected storage use the default key, set the pre-shared key of the storage to the default value fc8833de-70d2-4ece-b063-fede3a3c59fe.

That's all, thanks!