A bridge malfunction on U.S. 17 has closed all lanes at the James River Bridge, prompting authorities to create a detour.