Permission errors and API limit exceeded.

73 views
Skip to first unread message

O S

unread,
Feb 24, 2026, 3:15:19 PM (3 days ago) Feb 24
to weewx-user
Hello all,

Using the Belchertown skin, I keep exceeding the API limit for the Aeris forecast and I'm not sure why this is.

The log, generate with DEBUG = 1 in weewx.conf and sudo journalctl -u weewx -f | tee /tmp/mylog in a second terminal, gives me the errors below:

Error downloading forecast data: HTTP Error 429: Too Many Requests

and

Error writing forecast Current Conditions info to /var/www/html/weewx/belchertown/json/current_conditions.json. Reason: [Errno 13] Permission denied: '/var/www/html/weewx/belchertown/json/current_conditions.json'

The fuller version of the logs is here.

Thank you,
Nick.

Vince Skahan

unread,
Feb 24, 2026, 4:12:27 PM (3 days ago) Feb 24
to weewx-user
You must be running the Belchertown fork from https://github.com/uajqq/weewx-belchertown-new - the original one has no such item in it.

Try "ls -ald /var/www/html/weewx/belchertown/json/current_conditions.json" and verify that file and its parent directories are owned by 'weewx' and group 'weewx'.

O S

unread,
Feb 24, 2026, 5:35:35 PM (3 days ago) Feb 24
to weewx-user
Thanks, Vince - I get:

-rw-r--r-- 1 root weewx 2036 Feb 24 06:17 /var/www/html/weewx/belchertown/json/current_conditions.json

So, I suppose I need:

sudo chown -R weewx:weewx /var

is what i need to do.

O S

unread,
Feb 24, 2026, 5:36:02 PM (3 days ago) Feb 24
to weewx-user
... sorry - yes , it's the new skin.

Vince Skahan

unread,
Feb 24, 2026, 5:47:15 PM (3 days ago) Feb 24
to weewx-user
Not unless you want to break your os massively.

Just chown from /var/www/html/weewx and within…

O S

unread,
Feb 24, 2026, 5:57:41 PM (3 days ago) Feb 24
to weewx-user
Ah! Thank goodness for you ;) I'll do that then!

O S

unread,
Feb 24, 2026, 6:05:28 PM (3 days ago) Feb 24
to weewx-user
OK, that's all done.

Do you know how I'd go about troubleshooting the "too many requests" issue? I've got a pretty standard setup here, and it's fairly newly installed. Happy to post any/all of my weewx.conf file if needed.

gary....@gmail.com

unread,
Feb 24, 2026, 6:13:29 PM (3 days ago) Feb 24
to weewx-user
Wait for tomorrow. The limits reset daily and monthly if you really hit it hard.

O S

unread,
Feb 25, 2026, 2:37:52 AM (3 days ago) Feb 25
to weewx-user
Thanks, Gary, The forecast has been off overnight, so I'll enable it again soon and we'll see how long it lasts.

O S

unread,
Feb 25, 2026, 3:01:49 PM (2 days ago) Feb 25
to weewx-user
OK, it's been running for most of the day and the API dashboard is looking good at only 53 accesses out of 5000 for the day, so 98.94% remaining. Not really sure why it ran out of calls.

Thanks, both for you help.
Reply all
Reply to author
Forward
0 new messages