Starter not woking

Hello, I have an express app which I want to deploy using the starter plan. It works fine using the free plan, but as soon as I change the plan it is giving me errors (as if it can not read the data from mongodb).


You’ve not provided much detail here.

When asking for assistance, please elaborate on your issue in as much detail as possible, e.g. specific logs/error messages, reproduction steps, screenshots, etc. to show the problem you’re experiencing. Thanks.


Found where it was not working

To authorise a user I get their ip and fingerprint, store these values in mongodb and when the user is redirected to the next page, it gets the values again and checks with the data stored in mongodb. But for some reason the ip is different. This started happening when I changed my server from the free plan to the starter.

This is how i get the users ip and fingerprint
const clientIP = req.ip;
const clientFingerprint = req.fingerprint.hash;

Glad to hear you were able to find you issue.

However, I suspect you may be getting the IP of the proxies or some other IP used in transit. If you want the client IP, use the True-Client-IP header.


Thank you very much. Everything works now!!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.