So, the conclusion is that it's normal WU flakiness, plus an unpublished API change?
On Mon, Sep 14, 2020 at 1:31 PM Ken Waters <[email protected]> wrote: > I finally got it working. It *does* work by using the key. I still get > reject notices but then periodically I get one that shows it published and > now I do get the "green light" when I log into the site. > > Here are my log entries showing before and then after it started sending: > > Sep 14 12:23:32 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed to publish record 2020-09-14 12:23:00 MST (1600111380): Failed > upload after 3 tries > Sep 14 12:24:16 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed upload attempt 1: HTTP Error 401: Unauthorized > Sep 14 12:24:22 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed upload attempt 2: HTTP Error 401: Unauthorized > Sep 14 12:24:27 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed upload attempt 3: HTTP Error 401: Unauthorized > Sep 14 12:24:32 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed to publish record 2020-09-14 12:24:00 MST (1600111440): Failed > upload after 3 tries > Sep 14 12:25:16 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed upload attempt 1: HTTP Error 401: Unauthorized > Sep 14 12:25:22 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed upload attempt 2: HTTP Error 401: Unauthorized > Sep 14 12:25:27 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed upload attempt 3: HTTP Error 401: Unauthorized > Sep 14 12:25:32 WeewxWeatherServer weewx[3369]: restx: Wunderground-PWS: > Failed to publish record 2020-09-14 12:25:00 MST (1600111500): Failed > upload after 3 tries > > [restarted weewx] > > Sep 14 12:25:32 WeewxWeatherServer weewx[3369]: restx: Shut down > Wunderground-PWS thread. > Sep 14 12:25:36 WeewxWeatherServer weewx[23403]: engine: Loading service > weewx.restx.StdWunderground > Sep 14 12:25:36 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Data for station KAZMESA460 will be posted > Sep 14 12:25:36 WeewxWeatherServer weewx[23403]: engine: Finished loading > service weewx.restx.StdWunderground > > Sep 14 12:26:16 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Failed upload attempt 1: HTTP Error 401: Unauthorized > Sep 14 12:26:22 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Failed upload attempt 2: HTTP Error 401: Unauthorized > Sep 14 12:26:27 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Failed upload attempt 3: HTTP Error 401: Unauthorized > Sep 14 12:26:32 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Failed to publish record 2020-09-14 12:26:00 MST (1600111560): Failed > upload after 3 tries > Sep 14 12:27:16 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Failed upload attempt 1: HTTP Error 401: Unauthorized > Sep 14 12:27:22 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Failed upload attempt 2: HTTP Error 401: Unauthorized > Sep 14 12:27:27 WeewxWeatherServer weewx[23403]: restx: Wunderground-PWS: > Published record 2020-09-14 12:27:00 MST (1600111620) > > [image: image.png] > > Ken > > On Mon, Sep 14, 2020 at 12:34 PM Tom Keffer <[email protected]> wrote: > >> One last thing to try, although it's a long shot. Set debug=2. This will >> log extra debugging information, including the URL used to post to the WU. >> It will also obfuscate your password, so it won't help there, but at least >> we can see if the URL is well formed. >> >> But, I doubt it will reveal anything. >> >> -tk >> >> On Mon, Sep 14, 2020 at 12:27 PM Ken Waters <[email protected]> >> wrote: >> >>> I tried it with both of them and still got rejected. >>> >>> Ken >>> >>> On Mon, Sep 14, 2020 at 4:02 AM Tom Keffer <[email protected]> wrote: >>> >>>> Pablo: as per Ken's suggestion, straighten out your station ID >>>> >>>> Both: The WU has taken the station ID plus user password in the past, >>>> and that's what my station is using right now. But, now I see in the upload >>>> protocol notes >>>> <https://support.weather.com/s/article/PWS-Upload-Protocol?language=en_US> >>>> that >>>> we should use the "Station Key registered with this PWS ID, case >>>> sensitive." Have you both tried the field "Key"? >>>> >>>> -tk >>>> >>>> On Sun, Sep 13, 2020 at 9:44 PM Ken Waters <[email protected]> >>>> wrote: >>>> >>>>> Hi Pablo, >>>>> >>>>> I just noticed your conf file shows station ID: KCASANJO1246 whereas >>>>> your WUnderground devices shows KCASANJO1247. Could that be the issue? >>>>> >>>>> Ken >>>>> >>>>> On Sun, Sep 13, 2020 at 3:33 PM Pablo Revilla <[email protected]> >>>>> wrote: >>>>> >>>>>> Tom, thank you for your reply. >>>>>> >>>>>> I am using the "ID" and the "Key", do I need a special membership to >>>>>> upload my data to WU? >>>>>> >>>>>> [image: image.png] >>>>>> >>>>>> On Sun, Sep 13, 2020 at 6:00 AM Tom Keffer <[email protected]> wrote: >>>>>> >>>>>>> Things to try: >>>>>>> >>>>>>> 1. Double check your password. Did you get it correct? >>>>>>> 2. Does your password include the pound ('#') character? If so, >>>>>>> ConfigObj will interpret it as a comment. Put the password in quotes. >>>>>>> 3. Does it contain the single quote ("'") character? If so, the >>>>>>> password will need to be put in double quotes. >>>>>>> 4. Same with the double quote ('"') character. Put the password in >>>>>>> single quotes. >>>>>>> >>>>>>> -tk >>>>>>> >>>>>>> On Sat, Sep 12, 2020 at 9:21 PM Pablo Revilla < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> I am trying to update wunderground but it is not letting me. >>>>>>>> I am also attaching the config section. >>>>>>>> >>>>>>>> Any ideas? >>>>>>>> >>>>>>>> Sep 12 21:15:23 plex weewx[4240] DEBUG weewx.restx: >>>>>>>> Wunderground-PWS: Failed upload attempt 1: HTTP Error 401: >>>>>>>> Unauthorized >>>>>>>> Sep 12 21:15:29 plex weewx[4240] DEBUG weewx.restx: >>>>>>>> Wunderground-PWS: Failed upload attempt 2: HTTP Error 401: Unauthorized >>>>>>>> Sep 12 21:15:34 plex weewx[4240] DEBUG weewx.restx: >>>>>>>> Wunderground-PWS: Failed upload attempt 3: HTTP Error 401: Unauthorized >>>>>>>> Sep 12 21:15:34 plex weewx[4240] ERROR weewx.restx: >>>>>>>> Wunderground-PWS: Failed to publish record 2020-09-12 21:15:00 PDT >>>>>>>> (1599970500): Failed upload after 3 tries >>>>>>>> >>>>>>>> >>>>>>>> [[Wunderground]] >>>>>>>> # This section is for configuring posts to the Weather >>>>>>>> Underground. >>>>>>>> >>>>>>>> # If you wish to do this, set the option 'enable' to true, >>>>>>>> # and specify a station (e.g., 'KORHOODR3') and password. >>>>>>>> # To guard against parsing errors, put the password in >>>>>>>> quotes. >>>>>>>> enable = True >>>>>>>> station =KCASANJO1246 >>>>>>>> password ='mywundergroundpassword' >>>>>>>> >>>>>>>> # If you plan on using wunderfixer, set the following >>>>>>>> # to your API key: >>>>>>>> api_key ="myapikey" >>>>>>>> >>>>>>>> # Set the following to True to have weewx use the WU >>>>>>>> "Rapidfire" >>>>>>>> # protocol. Not all hardware can support it. See the User's >>>>>>>> Guide. >>>>>>>> rapidfire = False >>>>>>>> >>>>>>>> >>>>>>>> ############################################################################## >>>>>>>> >>>>>>>> -- >>>>>>>> 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/a4a42717-c626-4077-98f9-15ed3d2d9d1cn%40googlegroups.com >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/a4a42717-c626-4077-98f9-15ed3d2d9d1cn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to a topic in >>>>>>> the Google Groups "weewx-user" group. >>>>>>> To unsubscribe from this topic, visit >>>>>>> https://groups.google.com/d/topic/weewx-user/ktAx0U5qias/unsubscribe >>>>>>> . >>>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>>> [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEAPLTAGUqGJz%2BPXgOfswA6e3j3JEA9wfNXfMc%2BNfe0Lkw%40mail.gmail.com >>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAPLTAGUqGJz%2BPXgOfswA6e3j3JEA9wfNXfMc%2BNfe0Lkw%40mail.gmail.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/CAN6nb9wNN68gN3tfcaGMAQg%2BJoC3XEkNkCkOq-zowPAaOOnAEA%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/weewx-user/CAN6nb9wNN68gN3tfcaGMAQg%2BJoC3XEkNkCkOq-zowPAaOOnAEA%40mail.gmail.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/CACZLRFoDjOEE8AekVtL-U_TjwxsStqM3jJnYvLiN16J%3DoX%2Bafw%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/weewx-user/CACZLRFoDjOEE8AekVtL-U_TjwxsStqM3jJnYvLiN16J%3DoX%2Bafw%40mail.gmail.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/CAPq0zEBWEa8DtJaXBHxmECSG2tVrHjXvgdLwTNCbbZ-ZfuZtSQ%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBWEa8DtJaXBHxmECSG2tVrHjXvgdLwTNCbbZ-ZfuZtSQ%40mail.gmail.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/CACZLRFrg4tNd4vUFBHOCpXvk0%3DqQCpzhCZhMM%2Bn52jOYJsCSMw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/weewx-user/CACZLRFrg4tNd4vUFBHOCpXvk0%3DqQCpzhCZhMM%2Bn52jOYJsCSMw%40mail.gmail.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/CAPq0zEA%2B_s68YvCU9MVxF0JCE%2Bc2hnoOLQhLs4vdpTm7JGruzA%40mail.gmail.com >> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEA%2B_s68YvCU9MVxF0JCE%2Bc2hnoOLQhLs4vdpTm7JGruzA%40mail.gmail.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/CACZLRFp2P25xMgPnZnHWMo_5_n0JfyHN_qe%3DxpkGr00XWwztHA%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CACZLRFp2P25xMgPnZnHWMo_5_n0JfyHN_qe%3DxpkGr00XWwztHA%40mail.gmail.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/CAPq0zEBEkxcMBT1MEn2LbxUTzW0cJRYPZDy7nv%2BfD0yesdKbzQ%40mail.gmail.com.
