jcfergus
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Maps API Key High UsageI am sorry, I have received an email notifying me of a response to this thread, but as I came here to read it I found that my post disappeared, along with six or seven other posts – the thread was two pages long, the message before mine was about two days old.
What happened?
Seems like someone with TEC decided this was making them look bad and deleted all the other instances of the problem. ??
Forum: Plugins
In reply to: [The Events Calendar] Maps API Key High UsageHonestly, I switched to a different event calendar plugin. Partially for this reason, partially for other reasons (it better fit my use case).
Forum: Plugins
In reply to: [The Events Calendar] Maps API Key High UsageI just wanted to follow up here; the total amount ended up being almost $5000, which Google has been kind enough to credit me as a one-time adjustment. But I definitely won’t be sticking a personal API key into TEC again anytime soon, at least not without setting a very strict usage quota on said key.
Forum: Plugins
In reply to: [The Events Calendar] Maps API Key High UsageInteresting. I was using a single API key – configured per the instructions at https://theeventscalendar.com/knowledgebase/k/setting-up-your-google-maps-api-key/ and restricted based on Referer. I did not see the “restrictions” page that you linked to specifically. (And I probably would have skipped the Geocoding piece anyway since it says that’s only for TEC Pro and I’m not using Pro.)
It appears that (from working with Google Maps support) something caused the geocoding API to get spammed with repeated client-side requests from my browser for several hours – about 1M requests in the span of 12-ish hours. (Stopped when I accidentally rebooted my machine, unrelatedly.) I’m fairly sure I had at least a couple of events that I’d been editing open in tabs during this period, I’m wondering if something got into a bad state and just kept retrying the same API query in the background. (That’s just a hunch, having not looked into the code – it’s been a while since I’ve written or read any PHP.)
This site currently gets little to no traffic, so I’m confident that it was a bug or a misbehavior somewhere and not legit traffic, especially after working with Google Maps support.
Version wise:
WordPress 6.1.1
PHP 8.1
TEC: 6.0.10
Theme: Blocksy
Installed Plugins: ActivityPub, Blocksy Companion, Jetpack, Jetpack Boost, NodeInfo, Sitekit, TEC, WebFinger, WP Super Cache.