Serverless offline credentials error

Hi im running serverless offline with localstack for local development. I’ve recently switched to fedora (from macOS) and im running into a problem with my dev stack. When running sls offline, the command exits after ~10000ms with the following error:
Credentials Error --------------------------------------

Error: connect ETIMEDOUT xx.xx.xx.xx:80
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)

Your Environment Information ---------------------------
Operating System: linux
Node Version: 10.20.1
Framework Version: 1.60.4
Plugin Version: 3.6.9
SDK Version: 2.3.0
Components Core Version: 1.1.2
Components CLI Version: 1.4.0

I’ve fixed a few issues with my localstack docker image but these seem unrelated to this error. I’ve authenticated my serverless cli with the dashboard via sls login since I thought that was generating the Credentials error but it stilll persists. Anyone can give me a hand?

EDIT: When running in debug mode im also seeing this error:

internal/modules/cjs/loader.js:983
throw err;
^

Error: Cannot find module ‘/home/username/Projects/redacted/api/–max-old-space-size=2048’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1346:46)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1375:12)
at internal/main/run_main_module.js:18:47 {
code: ‘MODULE_NOT_FOUND’,
requireStack: []
}

So basically it seemed that serverless offline wasn’t able to access my localstack environment. I’m on Fedora and somehow disabling SELINUX fixed this issue.