Canon EOS Rebel T5 - External flash not recognized

Hi,

I have a Canon EOS Rebel T5, and when I connect a generic (compatible) external flash, it trigger itself continuosly and in the menu it shows Accessory not recognized.

P.S.: It worked fine for some time, but one day it started doing this. The flash came within the bundle.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 1
crwdns2934285:0crwdne2934285:0