Name the fault before you change anything
The usual response to a bad batch is to change the temperature, because temperature is the knob that is easiest to reach. Quite often temperature was not the problem, and the next batch is wrong in a new way.
Nut roasting failures are a short, well-behaved list. Each one has a distinct taste and a distinct appearance, and each has a different cause. Work out which one you have and the fix follows.
How to diagnose properly
Taste cold, never hot — hot nuts flatter themselves and hide bitterness under aroma. Break several open and look at the cross-section, because most of the diagnosis is inside the nut rather than on it. Then pick out the lightest nut in the batch and the darkest and taste them side by side. If those two are far apart, your problem is evenness. If they are close together and both wrong, your problem is the curve.
Scorched and tipped
What you see: dark or black patches at the tips, points and edges of nuts whose overall surface is still pale. On pecans it shows on the ends of the halves; on almonds on the pointed tip.
Cause: too much heat too early. The thin extremities of a nut have almost no mass, so they run far ahead of the body when applied heat is aggressive. A drum charged onto badly over-soaked metal does the same thing, as does product resting against hot steel without moving.
Fix: ease into the roast. Charge onto a moderate heat and build rather than starting hard and backing off, since backing off is slow and the damage is done in the first minutes. Confirm the batch is actually tumbling, and that the drum is not being charged onto a surface far hotter than the profile assumes.
Case-hardened
What you see: a crisp, well-coloured exterior wrapped around a centre that is pale, leathery, slightly chewy and tastes raw. Break one open and the cross-section shows a clear ring — brown at the edge, white in the middle.
Cause: too fast. The surface dried and began browning while the interior was still full of moisture, and the dried outer layer then slowed heat and water movement, sealing the middle in. Dense nuts get it worst — almonds and hazelnuts are the usual victims — and it is more likely in large batches and in freshly harvested product.
Fix: slow the early and middle stretches. Moderate heat for longer beats high heat for less, every time, with a dense nut. Give the drying phase the time it wants rather than pushing to make up minutes.