Thanks for the suggestion!
I got the same 429 response you did, which makes no sense to me unless they
are counting all the failed uploads as valid requests. I've been getting
"Station off line" e-mails from weathercloud.net every 6 hours.
I used tcpdump to capture the actual traffic from the browser to
weathercloud,net and it shows that although 429 is printed to the screen,
the message that comes back is the same HTTP/1.1 400 Bad Request.
Still a mystery to debug it seems but now I know it's something on my end
and not system wide.
Jeff
On Sunday, January 6, 2019 at 9:21:16 AM UTC-7, Thomas Keffer wrote:
>
> My uploader seems to be working fine.
>
> I also tried the URL you provided using my id and key, and it seems to
> work. At least, it responded with a 429 error ("Too many requests"), which
> sounds about right.
>
> Try using the URL (with the correct key) in a browser and see what comes
> back.
>
> -tk
>
> On Sun, Jan 6, 2019 at 8:14 AM Jeff Ross <[email protected] <javascript:>>
> wrote:
>
>> Hi all,
>>
>> I've installed the weathercloud driver according to the instructions
>> WeatherCloud sent when I requested the docs for the API.
>>
>> https://weathercloud.net/info/weewx
>>
>> It mostly fails to upload data though--here's a section of debug logs:
>>
>> 2019-01-06 09:05:47.992719500 127.0.0.1: user.debug: Jan 6 09:05:47
>> weewx[64490]: restx: WeatherCloud: url:
>> http://api.weathercloud.net/v01/set?wid=444b000107d31735&dewin=71&wdiravg=103&humin=41&uvi=0&wspdhi=20&et=0&ver=3.8.2&solarrad=457&wspd=16&type=251&tempin=208&wdir=104&hum=60&rain=0&heat=32&key=XXX&date=20190106&wspdavg=16&chill=19&bar=8597&temp=32&heatin=208&dew=-39&time=1605&rainrate=0
>> 2019-01-06 09:05:48.379906500 127.0.0.1: user.debug: Jan 6 09:05:48
>> weewx[64490]: restx: WeatherCloud: Failed upload attempt 1: HTTP Error 400:
>> Bad Request
>> 2019-01-06 09:06:53.400736500 127.0.0.1: user.debug: Jan 6 09:06:53
>> weewx[64490]: restx: WeatherCloud: Failed upload attempt 2: <urlopen error
>> timed out>
>> 2019-01-06 09:06:57.950420500 127.0.0.1: user.debug: Jan 6 09:06:57
>> weewx[64490]: interceptor: MainThread: empty queue
>> 2019-01-06 09:07:00.513001500 127.0.0.1: user.debug: Jan 6 09:07:00
>> weewx[64490]: restx: WeatherCloud: Failed upload attempt 3: HTTP Error 400:
>> Bad Request
>> 2019-01-06 09:07:05.520782500 127.0.0.1: user.err: Jan 6 09:07:05
>> weewx[64490]: restx: WeatherCloud: Failed to publish record 2019-01-06
>> 09:05:00 MST (1546790700): Failed upload after 3 tries
>>
>> Once in a great while I get a successful upload but I'd say 99% of the
>> time I get the HTTP Error 400.
>>
>> Anyone else having a problem with WeatherCloud?
>>
>> Thanks,
>>
>> Jeff Ross
>> Townsend, MT
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.