Most likely cause:
Corroded socket or wire connection behind socket.
Open ground AT the socket.
If that doesn't pan out, trace the flasher wire back as far as you can; you may find where it has been cut or pinched.
'07 Damon Outlaw 3611
CanAm Spyder in the "trunk"