Certain metals can be very difficult to solder. Aluminium is a typical example. The most common reason for this is a thin (a fraction of a nanometre) protective oxide layer. The trick to soldering these metals is to strip this layer, usually with an acidic flux, and creating an environment that prevents it from reformning by keeping the oxygen out.