Water dispenser now not working

Hi

Yesterday water dispenser in refrigerator stopped working…no flow at all. I can hear something happening when I press the water button, like a switch sound that continues as long as I press the button down…but nothing comes out.

Also… sometimes the Ice maker stops for weeks at a time too…comes back on unexplained. But until yesterday the water always worked.

I just bought and replaced the water filter…but problem persists.

In reading the forum for this problem…wondering if it is some sort of solenoid/dual valve problem? Part number AP4080862 is mentioned. Maybe this is why one or the other, ice or water, will not work??

Can someone help? Thanks for your time!