We shouldn't diagnose but I think most will agree that your physical discomfort at this stage of your sobriety is pretty common. It's going to take awhile for your body to normalize. Lots of protein and fluids. Keep those electrolytes up!
Btw, caffeine is a natural pain-killer, so coffee can have the effect described.