Problems with setting up https client

Hello,

We have started to develop a new sw using nRF9160. We have pretty bad problems with setting up http(s) connection. In the end I needed up trying with https client sample application. On dev board it somewhat works (name resolution fails, but at least it runs until it. This is not a problem atm). Then I removed I2C and SPI, button and led controls shouldn't do any harm, and flashed the sw to our custom board. Now the sw fails in lte_lc.c with

[00:00:00.374,664] <inf> modem: Bringing network interface up

[00:00:00.603,149] <err> lte_lc: nrf_modem_at_printf failed, reported error: 65536


Any idea what might cause this? This is our first project with nRF9160, so there might be something trivial we just are not aware of.

Our toolchain and SDK version are 2.5.2

Related