Skip to content
Back

Fail to access the hosted site

  • 0
  • 3
  • Sites
  • Web
  • Cloud
Gurneesh
30 Oct, 2025, 09:47

Hi there I am facing an issue with the sites. My site is properly hosted on Appwrite but the issue is that when accessing the site from this URL https://instantmocks.appwrite.network/ it just gives the error shown in the attached image. However, if I access the another version of this hosted site URL which is this https://6903079ef3333df930d1.appwrite.network/ in this case I could access my project from my Mac, but from my phone, it shows the same error as in the image.

This project is for the hackathon that’s why I’m a bit concerned about this issue

TL;DR
The user was unable to access a hosted site due to a CORS policy error. The solution was to create a new project in the Frankfurt region, which resolved the issue.
30 Oct, 2025, 10:45

If possible could you provide GitHub repo for the project?

30 Oct, 2025, 21:58

<@287294735054274560> sorry looks like this got buried under the other support. This is for the hackathon submission and would appreciate to know how this could be fixed

30 Oct, 2025, 22:34

Access to font at 'https://assets.appwrite.io/fonts/inter/Inter-Regular.woff2' from origin 'https://instantmocks.appwrite.network' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

30 Oct, 2025, 22:36

Eh, I guess that error shows up on your https://6903079ef3333df930d1.appwrite.network/ also

30 Oct, 2025, 23:02

You know what that error appears even if I just clone the Appwrite next.js template. The system is trhowing cors error somehow

30 Oct, 2025, 23:04

yeah and it somehow working when that deployement is not even active

30 Oct, 2025, 23:04

are you having the same issues with the appwrite sites <@243998465451884544>

30 Oct, 2025, 23:47

Instead of clonning Appwrite template, could you create a new fresh temporary sites and connect with GitHub and setup your deployment. See if still issue exist

30 Oct, 2025, 23:57

Do you want me to connect this new template with my hackathon repo or standalone new git repo

31 Oct, 2025, 00:01

I would suggest first create a new starter next js project locally the push to new GitHub repo, connect to sites.

If everything works fine, this make sure next js 16 is running fine. Now copy hackathon project code and update your newly created repo and push to GitHub, and then see. It will tell if your code has problem or not

31 Oct, 2025, 01:14

I am not running the 16 version. I am still using the 15 but would try your approach

31 Oct, 2025, 01:35

just did that setup a new next.js project locally, pushed and deployed to sites and still shows this error

31 Oct, 2025, 02:14

Looks like all this time it was just an issue with the location. I just created a new project in Franfurt region and it worked perfectly

31 Oct, 2025, 04:10

Maybe, as Frankfurt was from the beginning of Appwrite and is much stable. You probably found the solution, try moving everything to that region, that might solve the issue πŸ‘ Looks like you already did

1
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more