tfrce / thedaywefightback.js

Add a banner to your site in opposition to mass surveillance on 02/11
https://thedaywefightback.org
GNU General Public License v3.0
232 stars 30 forks source link

robots.txt error on geoip #74

Closed thomasdavis closed 10 years ago

thomasdavis commented 10 years ago

hey beau, probably not that urgent but this error keeps appearing on geoip server

2014-02-10T16:22:55.569211+00:00 app[web.1]: Error: GeoIP2: Unable to find IP:robots.txt in Database
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at findAddressInTree (/app/node_modules/geoip2/lib/Reader.js:74:11)
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at get (/app/node_modules/geoip2/lib/Reader.js:37:24)
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at getGeoData (/app/node_modules/geoip2/index.js:15:24)
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at resultFromAddress (/app/index.js:28:20)
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at /app/index.js:82:13
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at callbacks (/app/node_modules/express/lib/router/index.js:164:37)
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at param (/app/node_modules/express/lib/router/index.js:138:11)
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at param (/app/node_modules/express/lib/router/index.js:135:11)
2014-02-10T16:22:55.569211+00:00 app[web.1]:     at pass (/app/node_modules/express/lib/router/index.js:145:5)
2014-02-10T16:22:55.569464+00:00 app[web.1]:     at Router._dispatch (/app/node_modules/express/lib/router/ind```
beaugunderson commented 10 years ago

Fixed in https://github.com/tfrce/node-geoip-web/commit/1ca3df1e33558edf340256bde923f5b9b065d61c. :)