Default [Q] CM11 - google sync not working on wifi

Yesterday I installed CM11, which is working great
Today I noticed that my gmail and contacts don't sync. I tried to remove the account and add it again, but I got an error (couldnt connect to network). When I turned my wifi off and was on 3g I was able to add the account and the sync worked perfectly.
Switching again to wifi, gmail and contacts do not sync.
any solution?
Thanks