Onlyoffice Integration

I have my nextcloud 21.0.3 server running perfectly in an Ubuntu server 20.04.2 LTS LXC instance with SSL.
I have another container running OnlyOffice Docs Community edition with SSL enabled
Despite increasing the PHP timeout for curl, I keep getting this error trying to connect Nextcloud to my Onlyoffice docs instance.