LibreNMS/Oxidized 504 Gateway Timeout

Hello there, I have a problem with a LibreNMS/oxidized setup. For a couple of months, I’ve been trying to get them to talk to each other, but to no avail. After seemingly configuring everything correctly, trying to run oxidized with HTTP source leads to a 504 Gateway timeout every time. Trying curl with the API token also leads to an identical result. I attach the output of `curl -H ‘X-Auth-Token: MYTOKEN’ -k https://MYLIBRENMSINSTANCE/api/v0/oxidized below. Any help would be greatly appreciated.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">html,body{height:100%;padding:0;margin:0;}.oc{display:table;width:100%;height:100%;}.ic{display:table-cell;vertical-align:middle;height:100%;}div.msg{display:block;border:1px solid #30c;padding:0;width:500px;font-family:helvetica,sans-serif;margin:10px auto;}h1{font-weight:bold;color:#fff;font-size:14px;margin:0;padding:2px;text-align:center;background: #30c;}p{font-size:12px;margin:15px auto;width:75%;font-family:helvetica,sans-serif;text-align:left;}</style><title>504 Gateway Timeout: remote server did not respond to the proxy</title></head><body><div class="oc"><div class="ic"><div class="msg"><h1>504 Gateway Timeout: remote server did not respond to the proxy</h1><p><p>The webserver reported that an error occurred while trying to access the website.  Please click <u><a href="javascript:history.back()">here</a></u> to return to the previous page.</p>
<p>
    URL: https://MYLIBRENMSINSTANCE/api/v0/oxidized<br />
    <br/>User name:
    <br/>Group name:
</p></p></div></div></div></body></html>

Hello elusznik,
what is the out put of
curl -H ‘X-Auth-Token: yourtoken’ -k https://librenms/api/v0