06 sportsman 500 ho x2 won’t run

This is an efi system will start sometime and not others. What am mean will not start will just click starter. Checked starter it is fine. The efi box seems to be working also. My concern is the silver box under front rack. How do you check it to see if working properly or can you any help would be great full thanks in advance