Webhook callbacks unreliable atm?

Yesterday and today I seem to be having reliability issues with the webhook I set up. I am using the code found in the weather example from the docs page. Only about 1 in 10 or 1 in 15 calls result in data back from the server.

From the log I can see it’s working intermittently. Are other people experiencing this too, or did I get myself rate limited or something? :smile:

waiting 1 seconds before we publish
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
At location: Minneapolis, Minneapolis-St. Paul International Airport, MN
The weather is: A Few Clouds
The temp is: 60.0 *F
The wind is: Northwest at 16.1 MPH (14 KT)
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
At location: Minneapolis, Minneapolis-St. Paul International Airport, MN
The weather is: A Few Clouds
The temp is: 60.0 *F
The wind is: Northwest at 16.1 MPH (14 KT)
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
Requesting Weather!
At location: Minneapolis, Minneapolis-St. Paul International Airport, MN
The weather is: A Few Clouds
The temp is: 60.0 *F
The wind is: Northwest at 16.1 MPH (14 KT)

are you using the one minute interval in the example?

do you have good wifi and internet connection?

I'd try a shell script to curl the service as frequently as you want data to see if data is consistently returning.

1 Like

Thanks for the suggestions @BulldogLowell

I am using a one-minute interval. Connection status is good and other publish and subscribe functions are working properly. (I have a heartbeat function that also publishes every minute and watches for a response and it’s working perfectly.)

curl to the service works instantly and reliably.

When I implemented my first webhook I made a mistake in the spark code that called the webhook many times super quickly while the data wasn’t set. I’ve fixed this now but wonder if that got me blacklisted. :cry:

Incidentally I get a timeout error now when I try to create new webhooks.

If you curl is working inside the same LAN as the Spark, I doubt you've been blacklisted.

can you:

spark webhook list

and see all of your webhooks?