-
Notifications
You must be signed in to change notification settings - Fork 140
Failed to notify recipient #347
Comments
@hroyg
|
repositories: | ** also resolved the issue staying in argocd v2.1.3 (not downgrading back to previous version) and just changing the config to be as above (the old way, as we used it before the upgrade to v2.1.3), so the problem i guess relates to the new way argocd pass the github PAT password, or maybe how argocd notifications uses them (not to familiar with the flow argocd notifications connects with github through argocd server/repo-server)
** we haven't encounter any functionality issues for argocd with the new way of authenticating to github (the new way is to pass the repo name and authentication, e.g PAT, as secrets). |
Same issue, not working with ArgoCD v2.1.1, downgrading to v2.0.5 helped.
As well when two notification services are defined and same function is used in both service templates ( slack notification service template:
Webhook notification service template:
|
I reproduced this issue, then I'm investigating it. |
think this the same issue: #356 |
The reason this broke without updating
There is also a cache mechanism in argo-repo-server so that might explain why sometimes the notification goes through. |
For reference, we have the same problem and our ArgoCD instance is configured on our private repositories with credential template and a GitHub app according to https://argo-cd.readthedocs.io/en/stable/user-guide/private-repositories/#github-app-credential. (Using 2.1.3)
|
I was hoping the new release v1.2.1/ #370 that fixed my similar issue #356 would have also fixed this (which I am now seeing clearly after upgrading). My specific errors are around de-referencing the Application object attributes in the trigger (
Any help appreciated. |
After upgrading to v1.2.1 with argoCD v2.2.3, I am able to use |
Hi, I am using in the slack templates:
It works but it gives me the next error:
I think that is related with argocd-repo. But I don't want to disable here TLS because I have to disable it also in server and application-controller. Is there any other way to show the author of the commit? I am using these versions: argocd: Thanks |
Is there any update on this? It seems the issue is still open and nowhere to the solution? |
if this issue hasn’t been resolved in latest argo-cd v2.4.0, then i think this issue should be resubmitted upstream because notification code was merged with argo-cd repo. I doubt issues here are monitored or being worked on anymore. |
I'm unsure how to follow @mubarak-j 's advice above, so I'll throw on here that this is still occurring in v2.4.11+3d9e9f2. |
Summary
ever since we upgraded argocd version to v2.1.3 and with the new version github authentication updated to be a secret instead of in the cm with reference to a secret (the github repo url is defined now in the new version in a secret and not in cm as before) and the authentication configurations definition has changed,
we get error from argocd notification and that in turn makes apicalls and slack messages fail and not being executed/sent.
this does not happen all the time , it seems to randomly happen with some applications.
what i dont understand and probably because i dont understand how argocd-notification works exactly, is why does that started happen after argocd version upgrade, doesnt this function that it executes and fails (<call .repo.GetCommitMetadata .app.status.operationState.syncResult.revision>) is executed by the argocd-notifications ??..
Diagnostics
eks
argocd: 2.1.3
argocd notifications: v1.1.1
any input here to resolve the issue will be much appropriated .
Thanks
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: