https://saami.org/wp-content/uploads/2018/01/Z299-1_ANSI-SAAMI_Rimfire.pdfLooks like the 17HMR is bigger everywhere than the 17M2. So everything inside the chamber looks ok.
Check that there is room to get the long cartridge in and out of the the chamber.
I had to make an ejector over ride button in a Mosin Nagant to shoot the longer 300WinMag. Unfired rounds were too long to eject..