Thanks for this JB - to you or anyone else following the community threads
- has anyone from WU piped in to say they're re-engaged to fix the
remaining issues? I haven't seen any posts from them recently ...

Brice Ruth, FCD
Software Engineer, Madison WI


On Sun, Feb 2, 2020 at 11:14 PM J B <[email protected]> wrote:

> Like some of you I'm still getting intermittent errors that stop weewx
> 3.9.2 from uploading until I restart. Someone over at
> https://apicommunity.wunderground.com/ posted this creative
> workaround that seems to be working so far. It lowers the security of
> python but it's better than sending everything over http.
>
> tmarschner
> <https://apicommunity.wunderground.com/weatherapi/people/tmarschner>
>
>    - 2 Posts
>    -  0 Reply Likes
>
> Hi there,
>
> Here's an alternative workaround that doesn't require you to send your
> Wunderground credentials in clear text. It turns off certificate validation
> for python. I've tested this on weewx 3.9.2 on a Raspberry Pi (v. 9
> Stretch) running python 2.7.13.
>
> Modify the weewx startup script /etc/init.d/weewx.
>
> Find the start-stop-daemon line that starts up weewx (the do_start
> routine) and insert "/usr/bin/env PYTHONHTTPSVERIFY=0" into the --exec
> parameter as shown below:
>
> start-stop-daemon --start --chuid $WEEWX_USER --pidfile $PIDFILE --exec 
> /usr/bin/env PYTHONHTTPSVERIFY=0 $DAEMON -- $DAEMON_ARGS || return 2
>
> Cheers,
> Tom
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/98106b14-546a-481b-a49c-c8cf3ec19d7c%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/98106b14-546a-481b-a49c-c8cf3ec19d7c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAFbExW5HWGZfx4j5JnrW6p7iw-ghqJLOMV1cN96_tv-krZSq9Q%40mail.gmail.com.

Reply via email to