Asana was unable to send events to your webhook


#1

Hi,
We have a problem with send events to our webhook.

We receive this log:

backend_1 | 2018-07-19 11:01:04.317 INFO io.scalac.recru.automonster.WebhooksProcessorImpl - Processing incoming events: WebHookEvents(Vector(WebHookEvent(689660528852279,None,task,added,2018-07-03T01:00:00.000Z,Some(730942670880750))))
backend_1 | 2018-07-19 11:01:04.319 DEBUG io.scalac.recru.automonster.WebhooksProcessorImpl - Sending survey for candidate…
backend_1 | 2018-07-19 11:01:04.371 INFO io.scalac.recru.Boot$ - [200] POST http://localhost:8080/receive-webhook took: 199ms
backend_1 | 2018-07-19 11:01:05.643 DEBUG io.scalac.recru.services.DefaultMailService - Sending email Hello from Scalac! to: a.juszczak.pl@gmail.com
backend_1 | 2018-07-19 11:01:10.951 INFO io.scalac.recru.automonster.WebhooksProcessorImpl - Survey sent successfully for event: WebHookEvent(689660528852279,None,task,added,2018-07-03T01:00:00.000Z,Some(730942670880750))

    ![38|690x240](upload://8VSwAkblhWIFWgowB0ukY7UsBhV.png)

Can you check this problem or send logs from this event to us?
Or point out where is this problem.


#2

Is it just me or the log is all blurry and unreadable? :thinking:


#3

I don’t understand what is the error. Could you please provide more info?


#4

{
“data”: {
“id”: 640709870696291,
“target”: “https://recru-app-backend.scalac.io:443/receive-webhook”,
“active”: true,
“created_at”: “2018-04-18T20:18:37.197Z”,
“last_failure_at”: “2018-07-16T08:01:49.576Z”,
“last_failure_content”: “Asana was unable to send events to your webhook.”,
“last_success_at”: “2018-07-12T07:18:44.448Z”,
“resource”: {
“id”: 589188330185647,
“name”: “send-task”
}
}
}


#5

So sorry, I didn’t embrance this editor. It is this log:

Log

backend_1 | 2018-07-19 11:01:04.317 INFO io.scalac.recru.automonster.WebhooksProcessorImpl - Processing incoming events: WebHookEvents(Vector(WebHookEvent(689660528852279,None,task,added,2018-07-03T01:00:00.000Z,Some(730942670880750))))
backend_1 | 2018-07-19 11:01:04.319 DEBUG io.scalac.recru.automonster.WebhooksProcessorImpl - Sending survey for candidate…
backend_1 | 2018-07-19 11:01:04.371 INFO io.scalac.recru.Boot$ - [200] POST http://localhost:8080/receive-webhook took: 199ms
backend_1 | 2018-07-19 11:01:05.643 DEBUG io.scalac.recru.services.DefaultMailService - Sending email Hello from Scalac! to: **************@gmail.com
backend_1 | 2018-07-19 11:01:10.951 INFO io.scalac.recru.automonster.WebhooksProcessorImpl - Survey sent successfully for event: WebHookEvent(689660528852279,None,task,added,2018-07-03T01:00:00.000Z,Some(730942670880750))


#6

So you received post requests from asana 3 months now without a problem?

If yes maybe you need to contact api-support@asana.com


#7

Hmm, that’s strange. That’s our “default” error message when something happened that we really didn’t expect to handle as an error case.

The errors that we handle are:

  • Timeout
  • Not Found (that is, HTTP 404)
  • Connection Reset
  • Connection Refused

Finally, fall through to default (this error message)

So basically, I’m not sure what the error is other than it doesn’t appear to be any of the above. I think I’d try just logging as much as I can about the return code, response from WebhooksProcessorImpl, etc… to see if you can track down anything more specific.


#8

If you click on this blurry image it becomes visible.