plausible / analytics

Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
https://plausible.io
GNU Affero General Public License v3.0
19k stars 1.02k forks source link

600 API Request limit in plausible API #4199

Closed Bipund closed 4 weeks ago

Bipund commented 1 month ago

Past Issues Searched

Issue is a Bug Report

Using official Plausible Cloud hosting or self-hosting?

Self-hosting

Describe the bug

Bug Description: We are currently utilizing Plausible, a self-hosted analytics tool, to analyze website traffic. Our website pulls data from the Plausible server using its API. However, we've encountered an issue with the API limiting the number of requests made using a single API key to 600 calls.

Screenshot 2024-06-08 at 4 43 44 AM The bug arises from the imposed limit of 600 API calls per API key within a specific time frame.

Expected behavior

correct data to be fetch and API should work without any limit

Screenshots

No response

Environment

- OS: IOS
- Browser: - 
- Browser Version:
ruslandoga commented 1 month ago

👋 @Bipund

Thank you for the report! I've started a PR that would increase hourly_request_limit for the API keys created in CE: https://github.com/plausible/analytics/pull/4200

You can update the existing keys manually:

$ cd hosting
$ docker compose exec plausible_db psql -h localhost -U postgres -d plausible_db
update api_keys set hourly_request_limit = 1000000 where hourly_request_limit = 600;
Bipund commented 4 weeks ago

it is working now thanks @ruslandoga