Rank 3: Container
BackDec 11, 2023, 13:55 Dec 11, 2023, 16:46 Dec 11, 2023, 16:51 Dec 11, 2023, 16:57 Dec 11, 2023, 17:22
Self HostedWeb
Cannot get user when accessing function by URL instead of createExecution
Dec 27, 2023, 15:26
Votes
0
Replies
4
Participants
Unknown
Messages
5
AidsMcGheeOriginal post
Summary
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
Just out of curiousity, have you tried looking at the network request to see what is exactly being sent with createExecution?
AidsMcGhee
Rank 3: Container
create execution works as intended, accessing function via url does not
AidsMcGhee
Rank 3: Container
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
Rank 3: Container
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?