Its from your soap.
The way I clean my DWC buckets is, by adding about 60litres of water and 3% hydrogen peroxide(Small bottle you can buy a pharmacist)
Let it run with your air stones running and dripper system for about a day. I also use DRIP CLEAN if you're not using RO water, hard ward...