Look for telltale solder on that wire. It may have been a part of that solder connection just below it. Crimps are preferred because solder ( especially a poor joint) likes to crack under vibration stress.
https://www.hpacademy.com/technical-articles/solder-vs-crimping/
Thanks, unfortunately it just ends there no sign of solder.
It's quite awkward to get at the wiring as I'm working literally in the street outside my house (when it's not raining) so can't take rear wheel out.
I've loosened the metal plate at the bottom of the rear mudguard but can't remove it as there's some electrical box attached. So I'm trying to find the problem visually by moving wire by wire to see if I can find the problem.
The wiring to the rear lights and indicators and even the number plate light work when tried on a separate battery so I know they are ok as far as continuity goes. And the rear indicators/tail lights will work when wired up to the bik, but not the brake lights and now I've noticed the number plate light isn't working either.
I've checked the rear brake wires near the brake, with a multi meter and it works so the problem is in this tangle of wires I think.
I dont know how to test the from brake switch but if I can get one working brake switch right now that will do.
I'm pretty sure I hat he brown is a live feed but can't see anywhere it should go at the moment. Rain has stopped play for the day, but I'll be back at it as soon as I can.
I'm pretty sure the problem started after I went over a raised inspection cover in the road, a new one that has been put in recently. The the indicator/tail/brake had broken earth and the indicator won't work at all. I've got new ones to put on. Just need to find thefault while I can move all the wiring freely.
Thanks for the advic on crimp vs solder it'll come in useful.