Hi everyone, any help will be much appreciated. I'...
# developers
m
Hi everyone, any help will be much appreciated. I've installed my app on http://159.65.151.204:3003/auth/login and I get the error bellow because it always try to use 127.0.0.1 and can't determine the correct IP
:     host: '159.65.151.204:3003',
@calcom/web:dev:     connection: 'keep-alive',
@calcom/web:dev:     'upgrade-insecure-requests': '1',
@calcom/web:dev:     'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36',
@calcom/web:dev:     accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
@calcom/web:dev:     referer: '<http://159.65.151.204:3003/auth/login>',
@calcom/web:dev:     'accept-encoding': 'gzip, deflate',
@calcom/web:dev:     'accept-language': 'en-US,en;q=0.9'
@calcom/web:dev:   },
@calcom/web:dev:   message: 'request to <http://localhost:3000/api/auth/csrf> failed, reason: connect ECONNREFUSED 127.0.0.1:3000'
@calcom/web:dev: }
@calcom/web:dev: error - Error: Error serializing
.csrfToken` returned from
getServerSideProps
in "/auth/login".` `@calcom/webdev Reason:
undefined
cannot be serialized as JSON. Please use
null
or omit this value.`
d
Check none of your env vars are pointing to port 3000 and, if so, replace those with port 3003 (your port)