issue with qsfp link on CRS326-24S+2Q+

Hello
please consult on the following issue
I have 2 CRS326-24S+2Q+ connected via QSFP link
Configured based on screens, 2 fiber lines
Issue: link is constantly failing
what settings should be done for qsfp ?
how to troubleshoot it? enable debug to review that can be an issue?
Please point to the right direction
Screenshot 2021-10-04 at 16.16.16.png
Screenshot 2021-10-04 at 16.16.49.png
Screenshot 2021-10-04 at 16.17.09.png
Screenshot 2021-10-04 at 16.18.28.png
Screenshot 2021-10-04 at 16.15.55.png

Does anyone uses QSFP modules on 5-10 km range?
Cant build a stable setup for 40GB link between 2 CRS326-24S+2Q+
Changed modules, but still same issues
Link came up only if to set 1G per qsfpplus 1 to 4
Link ok and running if to set 1G TX - ok but no RX
Screenshot 2021-10-13 at 20.13.53.png