This phase I trial studies the side effects and best dose of onalespib and CDKI AT7519 in treating patients with solid tumors that have spread from the primary site (place where they started) to other places in the body (metastatic) or cannot be removed by surgery. Onalespib and CDKI AT7519 may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth.