How to solve the query's timestamp fail?

everytime i refresh my frontend canister: https://loxja-3yaaa-aaaan-qz3ha-cai.icp0.io/

i got this: AgentQueryError: Error while making call: Timestamp failed to pass the watermark after retrying the configured 3 times. We cannot guarantee the integrity of the response since it could be a replay attack.

is it because of this?
"@dfinity/agent": "^2.3.0"

This error can be caused by different reasons, mainly because your clock is not synchronized with the IC network clock.

Can you provide a code/repo to reproduce the issue?

I’d recommend upgrading to the v3 of the packages, where we implemented a better handling of timeouts and clock synchronization.