Sice yesterday night webhooks to weatherunderground fails in sleep

Hi,

I’ve noticed that since yesterday late night many calls to webhooks fails with the reason “Sleeping, too many errors, please wait and try again”

Randomly sometime it success.

I didn’t change the Particle code, and checking the data published are the same for success and fails.

I’ve a publish every 5 min that trigger an upload to WeatherUnderground by webhook and today I got 33 success, 12 errors, 59 sleep. On 8th of April I’ve got 288 success.

What’s going on?

Same Particle event trigger a ThingSpeak data upload that never fails.

Maybe an issue with the target server?

Lucky me, look what happens just now…

Success

Fail

Wait

If I send the data manually by the web browser it works, so the only point I can not directly test is the Particle side, where the webhooks connect to the service.

Socket hangup means that the weather underground server allowed the connection, then disconnected. This usually happens when the server is overloaded.

Sleep means that too many failures have occurred a time period, so no new requests are being made to that server. This is done to avoid overloading even further an overloaded server.

Even though you were able to open the URL with a web browser, it doesn’t rule out a server problem. There might have been intermittent spikes in load at various times that prevented the request from being serviced.

Moving from RapidFire url

https://rtupdate.wunderground.com/weatherstation/updateweatherstation.php

to standard one

https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php

seems solve the issue.