You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local web dev stuck offline: dev proxy gets a Cloudflare 403 on /api/Ping #105232
Hi, I'm setting up local web development for the first time and can't get past the sign-in page.
I'm on a fresh clone of main (0649685, 28 Oct), with Node 26.12.1 and npm 11.20.0 from .nvmrc, and no .env file. I ran npm install and npm run setup-https, and added dev.new.expensify.com to /etc/hosts. npm run web builds fine and opens https://dev.new.expensify.com:8082/.
The problem: every /api/Ping through the local proxy comes back 403 from Cloudflare (cf-mitigated: challenge). The app shows "You appear to be offline", so I can't sign in.
What I've tried:
My home connection in Pakistan, plus VPNs in France and the Netherlands. Same 403 every time.
new.expensify.com works normally in the same browser, so only the dev proxy's requests seem to be blocked.
Is the dev proxy supposed to get through Cloudflare, or am I missing a setup step? I wondered if it's related to #104525, which started running the Cloudflare Worker in local dev.
I've also asked to join #expensify-open-source and will follow up there once I'm added. Thanks!
changed the title [-]Local web dev: /api/Ping through the dev proxy returns Cloudflare 403, app stuck offline[/-][+]Local web dev stuck offline: dev proxy gets a Cloudflare 403 on /api/Ping[/+]on Oct 28, 2026
📣 @amjadiqbal! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Activity
melvin-bot commentedon Oct 28, 2026
📣 @amjadiqbal! 📣
Please report bugs or suggest features in the #expensify-open-source Slack channel, don't directly open issues in this repo!
Instructions here to join the channel 📖
[-]Local web dev: /api/Ping through the dev proxy returns Cloudflare 403, app stuck offline[/-][+]Local web dev stuck offline: dev proxy gets a Cloudflare 403 on /api/Ping[/+]amjadiqbal commentedon Oct 28, 2026
Thanks, I'll ask in #expensify-open-source once I'm added to Slack.
melvin-bot commentedon Oct 28, 2026
📣 @amjadiqbal! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Format:
amjadiqbal commentedon Oct 28, 2026
melvin-bot commentedon Oct 28, 2026
✅ Contributor details stored successfully. Thank you for contributing to Expensify!