Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error Posting Webhook: Ɛ #252

Closed
Timvissers opened this issue Apr 9, 2020 · 2 comments
Closed

[BUG] Error Posting Webhook: Ɛ #252

Timvissers opened this issue Apr 9, 2020 · 2 comments
Labels
bug

Comments

@Timvissers
Copy link

@Timvissers Timvissers commented Apr 9, 2020

Describe the bug
When sending job events to (slack) webhook, the following occurs.
We are using v0.9.1 on AKS 1.16.
I tested this with different webhooks. The webhooks work for other purposes, eg when using the same webhook config in kubewatch, it works.

ERRO[2020-04-09T04:19:50Z] Error Posting Webhook: Ɛ
DEBU[2020-04-09T04:19:50Z] Event Not Sent to Webhook { Job Created Job 334a411a-eaff-431d-b73b-b1c1e1c244c0 icobrain-jobs [] create info not-configured 2020-04-09 04:19:49 +0000 UTC 0 false [] []}
DEBU[2020-04-09T04:19:50Z] Event successfully sent to Webhook { Job Created Job 334a411a-eaff-431d-b73b-b1c1e1c244c0 icobrain-jobs [] create info not-configured 2020-04-09 04:19:49 +0000 UTC 0 false [] []}

To Reproduce
Configuration:

logLevel: debug
config:
  resources:
    - name: job
      namespaces:
        include:
          - all
        ignore:
          -
      events:
        - create
        - update
  communications:
    webhook:
      enabled: true
      url: https://hooks.slack.com/services/<redacted>
  settings:
    upgradeNotifier: false

Start a job

Expected behavior
The job should be posted to the webhook without error

@Timvissers Timvissers added the bug label Apr 9, 2020
@Timvissers
Copy link
Author

@Timvissers Timvissers commented Apr 9, 2020

UPDATE:
It works correctly when using https://bin.webhookrelay.com/...
So it must be somehow related to our slack webhook. (we don't need a slack webhook, I just use it to test)

@codenio
Copy link
Contributor

@codenio codenio commented Apr 21, 2020

Hi @Timvissers, can we close this issue, I hope it is not a problem anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug
Projects
None yet
Development

No branches or pull requests

2 participants