Back

Cannot get user when accessing function by URL instead of createExecution

  • 0
  • Self Hosted
  • Web
AidsMcGhee
11 Dec, 2023, 13:55
TL;DR
Issue: The user is unable to get user data when accessing a function through a URL instead of using the createExecution function. Solution: It seems that the issue might be related to the function subdomain and/or the nginx reverse proxy being used. The user has mentioned trying various solutions, but none have worked. One suggestion is to check the network request to see what is being sent with createExecution. There is also a related GitHub issue (https://github.com/appwrite/appwrite/issues/7257) that might provide additional information or solutions.
Kenny
11 Dec, 2023, 16:46

Just out of curiousity, have you tried looking at the network request to see what is exactly being sent with createExecution?

AidsMcGhee
11 Dec, 2023, 16:51

create execution works as intended, accessing function via url does not

AidsMcGhee
11 Dec, 2023, 16:57

yes ive tried everything. it has to do with the function subdomain and/or the reverse proxy being nginx in front of traefik. but i cant have appwrite being the only thing running, so I need a nginx reverse proxy

Ernest
11 Dec, 2023, 17:22

Is it just user data? Are you able to call the starter function via url successfully? If not, have you added a wildcard entry to your DNS for functions, e.g. *.aw.mysite.com?

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