https://www.runatlantis.io/ logo
Title
p

Priyashree Shetty

03/27/2023, 5:06 PM
Hi Team. I am facing a similar issue mentioned here https://github.com/runatlantis/atlantis/issues/1151
Hi team how do I troubleshoot the issue if /events is not trigger when a PR is raised. Currently I have a custom domain atantis.abc.com and I have deployed atlantis on AWS EKS. I see from the pod logs that the webhook URL /events is not triggered.
p

PePe Amengual

03/27/2023, 6:11 PM
which version of atlantis?
p

Priyashree Shetty

03/28/2023, 8:50 AM
atlnatis version is vv0.23.1. VCS is bitbucket . I have deployed in AWs EKS. When I check the atlantis pod logs , I see that /events URL is not hit when I comment on the PR.
I get to see only the following logs
{"level":"info","ts":"2023-03-28T08:55:03.414Z","caller":"server/server.go:1030","msg":"Apply Lock: {false 0001-01-01 00:00:00 +0000 UTC }","json":{}}
{"level":"debug","ts":"2023-03-28T08:55:03.414Z","caller":"server/middleware.go:72","msg":"GET / – respond HTTP 200","json":{}}
{"level":"debug","ts":"2023-03-28T08:55:08.678Z","caller":"metrics/debug.go:47","msg":"gauge","json":{"name":"atlantis.scheduled.runtime.cpu.goroutines","value":8,"tags":{},"type":"gauge"}}
p

PePe Amengual

03/28/2023, 12:17 PM
so then the webhook url is wrong, you need to add /events to it and your ingress should pass it down the pod without striping /events
p

Priyashree Shetty

03/28/2023, 12:40 PM
I have a custom domain atlantis.abc.com. I have used the webhook URL as https://atlantis.abc.com/events and in my ingress rule I have used the path /events with the backend service updated to atlantis on port 80
p

PePe Amengual

03/28/2023, 4:28 PM
then you should see calls to /events not /
there must be something wrong with the setup
p

Priyashree Shetty

03/28/2023, 5:21 PM
I once again did the setup using the statefulset as mentioned here https://www.runatlantis.io/docs/deployment.html#kubernetes-manifests and used the service type loadbalancer. Currently, I see for the webhook requests but no build status showing next to the commit in the PR.
Event	Details		Actions
pullrequest:updated	1 minute ago	
200
View details
repo:push	1 minute ago	
200
View details