Hi everyone!
I’m having an issue while proxying private pages locally when developing with CMS React.
I’m using projects version 2025.2. I built a theme with React, and now I want to use the template I created for private pages.
According to the documentation:
https://developers.hubspot.com/docs/cms/reference/react/local-development
I should:
Open the page online and log in.
Add to the domain in the URL “hslocal.net:3000” to preview local changes while proxying the live page.
However, this doesn’t seem to work.
I’ve tried several approaches, but I always end up with one of the following results:
A new login screen appears (and the login does not work).
If I copy the cookies from the live page to the proxied one, I get an empty body with the following comment:
I initially thought the issue might be with my theme, so I created a new theme from the official HubSpot React boilerplate, without making any modifications – but I still get the same errors.
I also tried proxying public pages, just to check, and in that case I also get the same “Missing Template” error.
Additionally, I tried using the “Open Local Dev Server” option directly from the live page menu:
On Brave (with all shields disabled), I get a message saying the proxy is unavailable and to try again.
On Safari, with the local server running, I get a message saying the local server is not running.
So at this point I’m a bit stuck.
How is this supposed to work?
Is there something missing in the setup, or is there a known issue with proxying private pages in the latest version?
Thanks in advance for any help!