This isn't a problem with mesowx (as you've noted in your 2nd post) It's to
do with establishing the connection to http://meteo-landeda.org/
<http://meteo-landeda.org/meso/updateData.php>
They are aborting on you. This note on stackoverflow
<https://stackoverflow.com/questions/33174804/python-requests-getting-connection-aborted-badstatusline-error>suggests
one reason.

You appear to be sending very frequently, there's only a second or two
between each posting? That's possibly why.

> Jan 31 21:14:06 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
21:14:07 CET (1517429647)
> Jan 31 21:14:08 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
21:14:09 CET (1517429649)

I believe you can increase that time period in the python module, sync.py.
I'll have a look and confirm if that's the case.

Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

On 1 February 2018 at 09:20, Jean Labous <[email protected]> wrote:

>
>
> Le mercredi 31 janvier 2018 23:11:31 UTC+1, Jean Labous a écrit :
>>
>> Hello to all
>> I'm sorry but I'm just as incompetent for the English language as I am
>> for Linux.
>> I've been using Weewx for more than two years and it's been running
>> smoothly all this time.
>> Weewx is installed on a machine running Debian
>> The site is
>>  http://www.meteo-landeda.org/
>> Since yesterday: WeeWX poses some problems: data transfer is interrupted
>> for long periods of time and then sometimes restarts. If I restart Weewx it
>> runs for a while and then stops again.
>>
> During this time Meso continues to operate ???
>
>
>> Here is the result of syslog:
>>
>>
>> an 31 21:14:00 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
>> 21:14:01 CET (1517429641)
>> Jan 31 21:14:02 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
>> 21:14:03 CET (1517429643)
>> Jan 31 21:14:03 jeanlinux weewx[3323]: sync: failed http request attempt
>> #1 to http://meteo-landeda.org/meso/updateData.php
>> Jan 31 21:14:03 jeanlinux weewx[3323]:    ****  Reason:
>> HTTPConnectionPool(host='meteo-landeda.org', port=None): Max retries
>> exceeded with url: http://meteo-landeda.org/meso/updateData.php (Caused
>> by ProtocolError('Connection aborted.', BadStatusLine("''",)))
>> Jan 31 21:14:03 jeanlinux weewx[3323]: sync raw: unable to sync record,
>> skipping
>> Jan 31 21:14:03 jeanlinux weewx[3323]:    ****  Reason: sync: Failed to
>> invoke http://meteo-landeda.org/meso/updateData.php after 1 tries
>> Jan 31 21:14:04 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
>> 21:14:05 CET (1517429645)
>> Jan 31 21:14:05 jeanlinux weewx[3323]: sync: failed http request attempt
>> #1 to http://meteo-landeda.org/meso/updateData.php
>> Jan 31 21:14:05 jeanlinux weewx[3323]:    ****  Reason:
>> HTTPConnectionPool(host='meteo-landeda.org', port=None): Max retries
>> exceeded with url: http://meteo-landeda.org/meso/updateData.php (Caused
>> by ProtocolError('Connection aborted.', BadStatusLine("''",)))
>> Jan 31 21:14:05 jeanlinux weewx[3323]: sync raw: unable to sync record,
>> skipping
>> Jan 31 21:14:05 jeanlinux weewx[3323]:    ****  Reason: sync: Failed to
>> invoke http://meteo-landeda.org/meso/updateData.php after 1 tries
>> Jan 31 21:14:06 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
>> 21:14:07 CET (1517429647)
>> Jan 31 21:14:08 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
>> 21:14:09 CET (1517429649)
>> Jan 31 21:14:09 jeanlinux weewx[3323]: sync: failed http request attempt
>> #1 to http://meteo-landeda.org/meso/updateData.php
>> Jan 31 21:14:09 jeanlinux weewx[3323]:    ****  Reason:
>> HTTPConnectionPool(host='meteo-landeda.org', port=None): Max retries
>> exceeded with url: http://meteo-landeda.org/meso/updateData.php (Caused
>> by ProtocolError('Connection aborted.', BadStatusLine("''",)))
>> Jan 31 21:14:09 jeanlinux weewx[3323]: sync raw: unable to sync record,
>> skipping
>> Jan 31 21:14:09 jeanlinux weewx[3323]:    ****  Reason: sync: Failed to
>> invoke http://meteo-landeda.org/meso/updateData.php after 1 tries
>> Jan 31 21:14:10 jeanlinux weewx[3323]: sync raw: send record 2018-01-31
>> 21:14:11 CET (1517429651)
>> Jan 31 21:14:11 jeanlinux weewx[3323]: sync: failed http request attempt
>> #1 to http://meteo-landeda.org/meso/updateData.php
>> Jan 31 21:14:11 jeanlinux weewx[3323]:    ****  Reason:
>> HTTPConnectionPool(host='meteo-landeda.org', port=None): Max retries
>> exceeded with url: http://meteo-landeda.org/meso/updateData.php (Caused
>> by ProtocolError('Connection aborted.', BadStatusLine("''",)))
>> Jan 31 21:14:11 jeanlinux weewx[3323]: sync raw: unable to sync record,
>> skipping
>> Jan 31 21:14:11 jeanlinux weewx[3323]:    ****  Reason: sync: Failed to
>> invoke http://meteo-landeda.org/meso/updateData.php after 1 tries
>>
>>
>>
>> *Merci  à tous*
>>
>> *Jean*
>>
> --
> 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.
>

-- 
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.

Reply via email to