You should check the signal at the connector with a test light to see if there's 12v coming to the socket intermitently when the blinker is on. If the signal is there, it has to be a problem with the bulb, as Bitzer suggests. If no signal at the socket, there may be a problem with the grounding wire right there at the socket-to frame.