Nextcloud apps stopped working

The Apps download menu hangs when it is fetching the apps, nothing pops in the docker logs or Nextcloud’s own logs. I am running behind Cloudflare and I may have assumed that the CSP causes this problem but the network log and console says something else.

All I can see are the already installed apps. Tried disabling Cloudflare routing, nothing changed.

Additional info:

  • I am running Nextcloud behind a nginx reverse proxy

Nextcloud version: 14.0.3 (docker latest)
PHP Version: PHP 7.2.11 (cli) (built: Oct 16 2018 00:40:40) ( NTS )
PHP-FPM: PHP 7.2.12-1+ubuntu18.04.1+deb.sury.org+1 (fpm-fcgi) (built: Nov 12 2018 09:55:44)
Docker version: Docker version 18.09.0, build 4d60db4
System: Ubuntu 18.04 bionic
Kernel: x86_64 Linux 4.15.0-36-generic

Could you solve this?