Ngrok not working with Frappe

I used ngrok with the bench command provided by Frappe.

I am getting 3200 error. Currenlty I am using DNS multitenancy mode in Frappe to run multiple website in my localhost.

If I am using ngrok separately myself like ngrok http http:localhost:8001 , it says <xxxxxx.ngrok-free.app> not found, which is because I don’t have site name in Frappe with that name…

How to resolve this issue?

1 Like

This means your frappe server has been reached but your nginx config is wrong. You should copy the nginx conf file (without the certificate stuff) for a working server and modify it for your localist bench. These are saved in bench-folder/config/nginx.conf and linked to /etc/nginx/conf.d/ (I think)

For this approach you’ll also need to enable dns