Check your time server. It appear that is not correctly set and the API return a wrong time when you request API
Le vendredi 26 juin 2020 à 23:04:35 UTC+2, [email protected] a écrit : > Okay, URL and responses > > > https://api.weatherlink.com/v2/historic/91978?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs&t=1593205164&start-timestamp=1593118500&end-timestamp=1593204900&api-signature=2459c09bc4e1f00ab25912b82ab1df0db96860afff1b0194df98fc752cdf8f2c > > code > "401" > message > "Invalid API Signature." > > > > https://api.weatherlink.com/v2/historic/91978?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs&t=1593205164&start-timestamp=1593118500&end-timestamp=1593204900&api-signature=2459c09bc4e1f00ab25912b82ab1df0db96860afff1b0194df98fc752cdf8f2c > > code > "401" > message > "Invalid API Signature." > > > > https://api.weatherlink.com/v2/historic/91978?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs&t=1593205153&start-timestamp=1593118500&end-timestamp=1593204900&api-signature=ae52423cb4b1756a678979aeffe0817d424a26cb5b1b416d0bb40b0838c179da > > code > "401" > message > "Invalid API Signature." > > Op vrijdag 26 juni 2020 om 22:58:12 UTC+2 schreef [email protected]: > >> No, I would like just to restart weewx and when debug mode show URL API, >> request this link on your favorite browser and put on comment the result >> >> Le vendredi 26 juin 2020 à 22:54:19 UTC+2, [email protected] a écrit : >> >>> Or do you mean running weewx standalone? >>> >>> Parameter name: "api-key" has value "nivwsekqwfbkhqtqwo8nximhl7zgxpcs" >>> Parameter name: "api-secret" has value "ABC123" >>> Parameter name: "end-timestamp" has value "1593204600" >>> Parameter name: "start-timestamp" has value "1593118200" >>> Parameter name: "station-id" has value "91978" >>> Parameter name: "t" has value "1593204804" >>> Parameter name: "api-key" has value "nivwsekqwfbkhqtqwo8nximhl7zgxpcs" >>> Parameter name: "api-secret" has value "ABC123" >>> Parameter name: "end-timestamp" has value "1593204600" >>> Parameter name: "start-timestamp" has value "1593118200" >>> Parameter name: "station-id" has value "91978" >>> Parameter name: "t" has value "1593204816" >>> >>> Op vrijdag 26 juni 2020 om 22:45:24 UTC+2 schreef Maarten van der Hoeven: >>> >>>> I've got weewx already on debug. Or do you mean something else? >>>> >>>> # WEEWX CONFIGURATION FILE >>>> >>>> >>>> ############################################################################## >>>> >>>> # This section is for general configuration information. >>>> >>>> # Set to 1 for extra debug info, otherwise comment it out or set to zero >>>> debug = 1 >>>> >>>> # Root directory of the weewx data file hierarchy for this station >>>> WEEWX_ROOT = / >>>> >>>> # Whether to log successful operations >>>> log_success = True >>>> >>>> # Whether to log unsuccessful operations >>>> log_failure = True >>>> >>>> # How long to wait before timing out a socket (FTP, HTTP) connection >>>> socket_timeout = 20 >>>> >>>> # Do not modify this. It is used when installing and updating weewx. >>>> version = 4.1.1 >>>> >>>> Op vrijdag 26 juni 2020 om 22:35:10 UTC+2 schreef [email protected]: >>>> >>>>> Relaunch weewx and use the url on debug. Here, the url is not in the >>>>> current timestamp. It for this thay you've this error. >>>> >>>> -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/111be23b-bd95-4398-b86c-28f2c4124491n%40googlegroups.com.
