The charging handle bar is indeed supposed to be straight.
Of course, when the bolt is pulled fully rearward, it is caught by the sear in the trigger group. You'll need to look there for the cause of the problem. Of the two tabs that protrude downward from the bolt body, the rearward tab is caught by the sear. First verify that the bolt is being pulled back far enough, then figure out why the sear isn't holding the bolt. (The front tab is used by the charging handle to pull the bolt back.)
Post a profile picture of your trigger group.