Hey Radek, I discovered that projects that ran fine started to present weird issues on Photon 2, like here and here.
I have a feeling that the new MCU (Realtek RTL872xDM) struggles somehow does not like it when logging statements are all over the place, and especially in handlers. Since then I reduced logging somehow: I start with plenty around, but remove them as I get confident in the code.
Best,