I am having trouble connection and changing my pages in the visual builder. Everything looks alright from my side, but i get “We are having trouble connecting to your site” each time i try to edit a page. This was not a problem when i used page router, but i switched from app router and now i cant use the visual builder.
. I have tried the visual builder on multiple commits and on multiple pcs, but i get the same error. I had some troubles in the start, but i was able to continue using the visual builder with app router. I have not made any changes during this time, but when i tried to use the visual builder today, i get this error.
it says:
Let’s check if your server is running
- Check that your server at http://localhost:3000/home is running as expected. Learn more
- Verify that it matches the URL you are testing the component on
- Refresh the page
.
The page is up and running as expected. I have also tried different browsers. I cant even create a new page in the visual builder. I still get that same error.
I have not changed the code since last time it worked, and I have not modified the builder.io starter files you provide in the documentation.
In the visual builder in the development console, it says:
Uncaught (in promise) Could not evaluate in iframe, doesnt exist!
Failed to load resource: the server responded with a status of 401 (Unauthorized)
Uncaught (in promise) Could not evaluate in iframe, doesnt exist!
I have turned off middleware and auth, but i still get that error.
Builder content link
Builder public api key
0a49cc9c194945cbadb8752521cd96d5
Code stack you are integrating Builder with
Nextjs 13 app router