mirror of
https://github.com/telephone/LookingGlass.git
synced 2026-04-25 07:56:01 +03:00
[GH-ISSUE #34] RateLimit appears not to be working #24
Labels
No labels
enhancement
enhancement
enhancement
pull-request
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LookingGlass#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Dec 9, 2015).
Original GitHub issue: https://github.com/telephone/LookingGlass/issues/34
I have LG installed on Ubuntu 14.04, Nginx and using PHP FPM.
All is working apart from the rate limiting does not seem to take effect. The SQL lite database does not appear to be filling with data. No errors are reported in the error log.
ii php5-common 5.5.9+dfsg-1ubuntu4.14 amd64 Common files for packages built from the php5 source
ii php5-fpm 5.5.9+dfsg-1ubuntu4.14 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php5-json 1.3.2-2build1 amd64 JSON module for php5
ii php5-mysql 5.5.9+dfsg-1ubuntu4.14 amd64 MySQL module for php5
ii php5-sqlite 5.5.9+dfsg-1ubuntu4.14 amd64 SQLite module for php5
@telephone commented on GitHub (Dec 11, 2015):
I just tested locally on a new install (PHP 5.6) and the rate limit does work. My guess is your web server does not have permission to write to the SQLite file (if your SQLite has no data).
The configure script changes the owner of
ratelimit.dbto ensure it's writeable. If this step failed, then you'll need to do this manually.@ghost commented on GitHub (Dec 11, 2015):
Thanks for replying.
Nginx and FPM run as www-data, which the SQLite DB is owned and writeable by. I will enabled debug logging on both and do some more tests. The issue clearly is with the server, but if you can think of anything else to try I would appreciate it.
Thanks again.