Various people on this forum have reported poor reliability issues with Bafang controllers, but so far, I myself haven't had any which I han't caused myself. I use my 6V lighting supply, but have applied both 4:1 self-adhesive marine heat shrink and self-amalgamating tape to thoroughly waterproof connections. My gear sensor and it's connector (and nearly all the other connectors) are protected the same way - when it's little green light ceased to flash when I connected the programming cable, I suspected my conroller was a dodo... confirmed after sending it back to the seller. I did find that using just a cap to protect the unused throttle connector, wasn't enough to keep moisture out and prevent the pins oxidising - easily cleaned with isopropyl alcohol.
I'd send the controller back to the seller.