Thank you both for your input!
I’ve stood up a Lambda server using the dgraph-lambda container image and I think that I have the custom Lambda field defined correctly.
However, when I try to run a query using the lambda predicate, I receive the error message:
Evaluation of custom field failed because external request returned an error: Post \"http://<lambda-server-ip:8686/graphql-worker\": dial tcp <lambda-server-ip>:8686: connect: no route to host for field: guest_visit_count within type: Guest."
I’m running on AWS and originally forgot to open the 8686 port in the security group and initially got a timeout when trying to run a query using the custom field.
After opening up the port, I received the error above. I’ve also tested opening the port up to 0.0.0.0/0 and still received the same error, so I don’t think it’s a networking issue.
Any suggestions on how to go about validating my lambda-server setup?
Thanks!
Matt