Check the ground wire at the socket; I had a problem with one that was difficult to diagnose. The rubber boot holds the wire in, making it seem tight, but it's really loose at the connection in the socket.....Ive checked the grounds, the socket, the fuse block, the bulb. All good.