Ice Maker

Whirlpool fridge model GC5SHEXNB00 stopped making ice. I put the connector from the door water dispensor onto the water valve for the ice maker and when I push the water dispensor handle the ice maker gets water. The ice detector red indicator blinks twice stops then blinks twice again. When I push and hold the flapper for the sensor the indicator light stays solid red. Any ideas?