Back

Can't able to access localhost domain

  • 0
  • Functions
  • Web
Drake
18 Oct, 2023, 18:54

what is the full URL?

TL;DR
User is unable to access the localhost domain. They mention a few troubleshooting steps such as checking the entrypoint and adding a build command in the function settings. They also mention that the template works fine on Appwrite cloud but not locally. They ask for the output of 'docker ps -a' and suggest trying port 81. The user also asks for the full URL. Solution: It is unclear if a solution is provided in the thread. More information may be needed to troubleshoot the issue further.
Drake
18 Oct, 2023, 18:56

try port 81...

Harsh
18 Oct, 2023, 18:57

not working

Harsh
18 Oct, 2023, 18:57
Drake
18 Oct, 2023, 18:59

what do the docker logs for the appwrite container show?

Harsh
18 Oct, 2023, 19:04

which one should i check?

Drake
18 Oct, 2023, 19:09

the appwrite container

Harsh
18 Oct, 2023, 19:17
Drake
18 Oct, 2023, 19:20

please try to narrow it down to the error related to your request

Harsh
18 Oct, 2023, 19:28

only this are present in the logs

Drake
18 Oct, 2023, 19:37

Does executing the function from the console using the execute now button work?

Harsh
18 Oct, 2023, 19:40

its failing

Drake
18 Oct, 2023, 19:47

you're using the template from git?

Harsh
18 Oct, 2023, 19:49

from here

Harsh
18 Oct, 2023, 19:49

i ran the same template in appwrite cloud it worked fine

Harsh
18 Oct, 2023, 19:49

but locally its not running

Drake
18 Oct, 2023, 20:10

something is probably wrong with your installation...

What's the output of docker ps -a?

Harsh
19 Oct, 2023, 04:37
Harsh
19 Oct, 2023, 04:43

All containers are running

Drake
22 Oct, 2023, 16:34

The builds one was restarting...that's not good...what are the logs from there

Harsh
23 Oct, 2023, 06:24

Restarting is for assistant

Harsh
23 Oct, 2023, 06:24

Builds is up

Meldiron
23 Oct, 2023, 10:57

Operation timeout can sadly mean many things. One that pops to my mind is that you mention you used starter. In starter we include composer and appwrite SDK. For that to work, build command must be added to install dependencies. In your function sertings, have you added build command?

Meldiron
23 Oct, 2023, 10:58

While in settings, also worth checking entrypoint.

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