Did you take 400mg magnesium GLYCINATE before bedtime? If not then you’ve never experienced this.
Not sure why you would stop magnesium because you started taking vitamin D but the taking it before bed part is the main thing I’m trying to get across to you. You probably read that and think that since you previously took magnesium and didn’t feel any difference then what good would taking it at bedtime do. It makes a giant difference for sleep. Plus magnesium will help with testosterone.