You question if there is a connection, but the groin pain may be quite a different issue. There is a type of hernia that gives pain there. However, I gather that this can cause throbbing at night as well. This really does need expert opinion.
If related to the knee, is it perhaps because of unusual stresses due to change of gait etc?