The specs says "Operation temperature -40..50"
My understanding it is not the temperature inside next to the chip, it's the air temperature outside the unit.
The room temperature was 25 when it stopped working. I doubt sunlight through a window made it over 50.
Maybe my router is just faulty, but it does not stand up to the claimed specs.
I see this as a design mistake, the case is just too small, they seem to fix that in hap ac3
Well, Your understanding is wrong. In this context (for ANY product) what count is the temperature of the air surrounding the device. It really doesn't matter if the room is at 19C, if you just put the poor router inside the chimney, with the fire roaring.
I can't say if sunlight through the window made it above 50, and your unit may well be faulty. What I can say is that the sun it didn't help it.
Do the test:
Put it on the sun, and see if it locks up.
Stick a sheet of paper on the window, to shade the unit. See if it locks up.
After this simple tests we will be able to say it the sun is affecting it. But one thing I guarantee you: my unit worked flawless with ambient temperature above 34C. I didn't test the 50C mark, but I saw it working above 34C ambient. And I mean the room was above 34C. The unit was on the shade, though.