https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2022-05-21T19:18:22ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705672022-05-21T19:18:22ZRaymond Hoh
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Reporter Feedback</i></li></ul><p>It's up for me. Is it working for you now, Scott? If so, downtime might have been temporary.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705682022-05-21T19:48:42Zscott vothscott.voth@verizon.net
<ul></ul><p>Still down for me on all browsers. And on my phone.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705692022-05-21T19:56:01ZRaymond Hoh
<ul></ul><p>Can you pass your IP address, Scott? You can find your IP address on <a class="external" href="https://whatismyipaddress.com/">https://whatismyipaddress.com/</a>.</p>
<p>Recently, Lihua added some IP blocking for users that hit more than 30 <code>403/404</code> pages in less than an hour. The IP block would be in effect for a day. I'm guessing your IP might be on there.</p>
<p>Scott, have you tried surfing the Commons with your phone's cellular network instead of wi-Fi as that should provide a different IP address?</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705702022-05-21T20:06:30Zscott vothscott.voth@verizon.net
<ul></ul><p>68.129.167.158</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705712022-05-21T20:09:53Zscott vothscott.voth@verizon.net
<ul></ul><p>When I turned off WI Fi on phone I can reach the Commons.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705722022-05-21T20:18:21Zscott vothscott.voth@verizon.net
<ul><li><strong>Priority name</strong> changed from <i>High</i> to <i>Normal</i></li></ul><p>Demoted this to Normal. Maybe we should watch for this in the future. It could be that the Commons went down briefly, and then I tried a bunch of times on different browsers, and then got the IP Block.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705732022-05-22T07:15:24ZRaymond Hoh
<ul></ul><p>Scott, I can confirm that your IP was on the banned IP list.</p>
<p>We might want to tweak Lihua's algorithm so it is a little bit more lenient.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705752022-05-23T12:30:10ZMatt Goldmattgold@gmail.com
<ul></ul><p>want me to reach out to him?</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705842022-05-23T14:56:33ZBoone Gorgesboone@gorg.es
<ul></ul><p>I'm working on an email to Lihua right now. For reference, Scott's issue comes somehow from the flat-bootstrap theme:</p>
<pre>
$ grep "68\.129\.167\.158" ssl_access.log-20220522 | grep " 40[34] "
68.129.167.158 - - [21/May/2022:14:57:41 -0400] "GET /wp-content/themes/flat-bootstrap/wp-content/themes/flat-bootstrap/bootstrap/css/bootstrap.min.css HTTP/1.1" 404 295 "https://help.commons.gc.cuny.edu/wp-content/themes/flat-bootstrap/css/editor-style.css?wp-mce-49110-20201110" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" 105212 help.commons.gc.cuny.edu
68.129.167.158 - - [21/May/2022:14:57:41 -0400] "GET /wp-content/themes/flat-bootstrap/wp-content/themes/flat-bootstrap/font-awesome/css/font-awesome.min.css HTTP/1.1" 404 301 "https://help.commons.gc.cuny.edu/wp-content/themes/flat-bootstrap/css/editor-style.css?wp-mce-49110-20201110" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" 101251 help.commons.gc.cuny.edu
68.129.167.158 - - [21/May/2022:14:57:41 -0400] "GET /wp-content/themes/flat-bootstrap/wp-content/themes/flat-bootstrap/style.css HTTP/1.1" 404 273 "https://help.commons.gc.cuny.edu/wp-content/themes/flat-bootstrap/css/editor-style.css?wp-mce-49110-20201110" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" 105212 help.commons.gc.cuny.edu
</pre>
<p>There are a few dozen more entries just like this. When I visit this URL it works <a class="external" href="https://help.commons.gc.cuny.edu/wp-content/themes/flat-bootstrap/css/editor-style.css?wp-mce-49110-20201110">https://help.commons.gc.cuny.edu/wp-content/themes/flat-bootstrap/css/editor-style.css?wp-mce-49110-20201110</a>, and the file has been present in the filesystem since May 2021. So I'm not sure why the 404s are happening.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705852022-05-23T15:06:23ZBoone Gorgesboone@gorg.es
<ul></ul><p>Sorry, I just realized that I've misread the log entries. The problematic requests are to URLs like this:</p>
<pre>
/wp-content/themes/flat-bootstrap/wp-content/themes/flat-bootstrap/bootstrap/css/bootstrap.min.css
</pre>
<p>which originates from this file <a class="external" href="https://github.com/cuny-academic-commons/cac/blob/1.19.x/wp-content/themes/flat-bootstrap/css/editor-style.css#L12=">https://github.com/cuny-academic-commons/cac/blob/1.19.x/wp-content/themes/flat-bootstrap/css/editor-style.css#L12=</a> The latter file uses incorrect relative paths.</p>
<p>I'll work on an immediate fix for this theme bug (and report to the theme author if possible) but I'll leave the ticket open for the moment while we have a team discussion about the new fail2ban rules.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705862022-05-23T15:16:58ZBoone Gorgesboone@gorg.es
<ul><li><strong>Target version</strong> set to <i>1.19.10</i></li></ul><p>In <a class="external" href="https://github.com/cuny-academic-commons/cac/commit/6a654e8d78b8002017829a092b040fd81312f294">https://github.com/cuny-academic-commons/cac/commit/6a654e8d78b8002017829a092b040fd81312f294</a> I've changed the relative import paths so that they resolve properly. This has been deployed to the site as a hotfix.</p>
<p>A similar issue was reported some time ago to the theme author but there's been no response: <a class="external" href="https://wordpress.org/support/topic/editor-css-error-since-wordpress-4-8/">https://wordpress.org/support/topic/editor-css-error-since-wordpress-4-8/</a> There's also been no updates to the theme in about a year, so I assume that none are coming in the near future.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=705992022-05-24T03:55:50ZRaymond Hoh
<ul></ul><blockquote>
<p>but I'll leave the ticket open for the moment while we have a team discussion about the new fail2ban rules.</p>
</blockquote>
<p>For the fail2ban rules, Lihua is using this to ignore certain requests:</p>
<pre>
ignoreregex =.*(robots.txt|favicon.ico|jpg|png)
</pre>
<p>Perhaps we can also add in CSS and JS filetypes to this rule. If that were in place, Scott wouldn't have been IP-banned.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=706022022-05-24T14:47:25ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Reporter Feedback</i> to <i>Staged for Production Release</i></li></ul><p>You're right, Ray. Let's wait to see if Lihua's threshold change (from 40/hr to 120/hr) makes a difference. A file-extension change like you've suggested should be our next request.</p> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=706122022-05-24T15:17:41ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Staged for Production Release</i> to <i>Resolved</i></li></ul> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=712852022-06-22T13:42:50ZRaymond Hoh
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/16278">Support #16278</a>: Commons Down</i> added</li></ul> CUNY Academic Commons - Bug #16143: Is Commons site down?https://redmine.gc.cuny.edu/issues/16143?journal_id=714272022-06-24T18:46:25ZRaymond Hoh
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-13 priority-6 priority-high3 closed" href="/issues/16294">Bug #16294</a>: CAC is down</i> added</li></ul>